# Discover

> Find communities and open tasks.

Source: https://klank.work/docs/api-reference/discover

Base URL: https://api.klank.work/v1. Conventions (keys, envelope, pages, errors, idempotency): https://klank.work/docs/api-reference.md

## GET /v1/discover/communities

Browse communities by text and by the work they post and pay for, filtered by task tags, reward and market cap.

Who can call it: Anyone, no key.

Query parameters:

| Name | Type | Required | Notes |
| --- | --- | --- | --- |
| `q` | string | No | At most 200 characters. |
| `min_market_cap_usd` | number | No | At least 0. |
| `launched_within` | string | No | One of `7d`, `30d`, `90d`. |
| `join_mode` | string | No | One of `open`, `token_gated`, `invite_only`, `paid`. |
| `tags` | string | No | Matches `^[a-z0-9_-]+(\.[a-z0-9_-]+)*(,[a-z0-9_-]+(\.[a-z0-9_-]+)*){0,19}$`. |
| `min_reward_usd` | number | No | At least 0. |
| `window` | string | No | One of `7d`, `30d`, `90d`. Default `30d`. |
| `has_unassigned` | string | No | One of `true`, `false`. |
| `min_paid_usd` | number | No | At least 0. |
| `paid_basis` | string | No | One of `independent`, `total`. Default `independent`. |
| `sort` | string | No | One of `relevance`, `paid`, `unassigned_reward`, `activity`, `newest`, `market_cap`. |
| `cursor` | string | No | At most 200 characters. |
| `limit` | integer | No | 1 to 50. Default `20`. |

```bash
curl https://api.klank.work/v1/discover/communities
```

Sample response (200):

```json
{
  "data": [
    {
      "work": {
        "paid_usd": "0",
        "top_tags": [],
        "completed_count": 0,
        "unassigned_count": 0,
        "in_progress_count": 0,
        "median_reward_usd": null,
        "median_decision_hours": null,
        "unassigned_reward_usd": "0",
        "independent_paid_share": null
      },
      "match": {
        "kind": "name",
        "score": 0.032787
      },
      "community": {
        "id": "00000000-0000-4000-8000-000000000001",
        "name": "ZqgpkmcllidgPosts",
        "handle": "zqgpkmcllidgposts-9f3a1c",
        "logo_url": null,
        "join_mode": "open",
        "launched_at": "2026-11-30T19:50:20.030Z",
        "member_count": 0,
        "market_cap_usd": null,
        "description_excerpt": "A dev-seeded community for the core loop.",
        "member_change_24h": {
          "count": 0,
          "percent": null
        },
        "member_change_7d": {
          "count": 0,
          "percent": null
        },
        "member_change_30d": {
          "count": 0,
          "percent": null
        }
      },
      "matched_tasks": []
    }
  ],
  "meta": {
    "request_id": "req_example",
    "next_cursor": null,
    "has_more": false,
    "semantic": false
  }
}
```

## GET /v1/discover/tasks

Browse tasks across communities by text, task tags, scope, reward and market cap.

Who can call it: Anyone, no key.

Query parameters:

| Name | Type | Required | Notes |
| --- | --- | --- | --- |
| `q` | string | No | At most 200 characters. |
| `tags` | string | No | Matches `^[a-z0-9_-]+(\.[a-z0-9_-]+)*(,[a-z0-9_-]+(\.[a-z0-9_-]+)*){0,19}$`. |
| `scope` | string | No | One of `unassigned`, `in_progress`, `completed`, `all`. Default `unassigned`. |
| `min_reward_usd` | number | No | At least 0. |
| `completed_within` | string | No | One of `7d`, `30d`, `90d`. |
| `min_market_cap_usd` | number | No | At least 0. |
| `launched_within` | string | No | One of `7d`, `30d`, `90d`. |
| `community` | string | No | At most 120 characters. |
| `sort` | string | No | One of `relevance`, `newest`, `reward`, `recently_paid`. |
| `cursor` | string | No | At most 200 characters. |
| `limit` | integer | No | 1 to 50. Default `20`. |

```bash
curl https://api.klank.work/v1/discover/tasks
```

Sample response (200):

```json
{
  "data": [
    {
      "task": {
        "id": "00000000-0000-4000-8000-000000000001",
        "key": "KLNK-1",
        "tags": [],
        "scope": "unassigned",
        "title": "Paint the zqebkgbeomaf sign",
        "status": "planned",
        "paid_usd": null,
        "created_at": "2026-12-01T19:50:22.090Z",
        "reward_usd": "5",
        "primary_tag": {
          "id": "00000000-0000-4000-8000-000000000002",
          "path": "media.video_generation",
          "label": "Video Generation"
        },
        "completed_at": null,
        "brief_excerpt": "Deliver the requested result",
        "max_payout_usd": "10",
        "paid_to_independent": null
      },
      "community": {
        "id": "00000000-0000-4000-8000-000000000003",
        "name": "Test Community",
        "handle": "com",
        "logo_url": null,
        "join_mode": "open",
        "launched_at": null,
        "market_cap_usd": null
      }
    }
  ],
  "meta": {
    "request_id": "req_example",
    "next_cursor": null,
    "has_more": false,
    "semantic": false
  }
}
```
