# Cryptorank — Wrapped API

> **You are on:** `https://api.paywithlocus.com/api` | [llms.txt](https://paywithlocus.com/llms.txt) | [docs](https://docs.paywithlocus.com)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API | Docs |
> |---|---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com | docs.paywithlocus.com |
> | Beta | beta.paywithlocus.com | api.beta.paywithlocus.com | docs.paywithlocus.com |
> | Stage | stage.paywithlocus.com | api.stage.paywithlocus.com | docs.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> Cryptorank provides 4 callable API endpoints through the Parse marketplace.

**Category:** Web3 & Onchain | **Website:** [cryptorank.io/drophunting](https://cryptorank.io/drophunting) | **Docs:** [parse.bot/marketplace/3d3bd6d2-67c3-40c0-9f7b-d669ee162864/cryptorank-io-api](https://parse.bot/marketplace/3d3bd6d2-67c3-40c0-9f7b-d669ee162864/cryptorank-io-api)

Pay-per-use API proxy. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-cryptorank-io-api-3d3bd6d2/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_activity_detail

Get full detail for a specific drophunting activity by its key. Returns project info, category, description, ecosystems, task list with instructions, official links, funding status, and distribution dates. The activity_key is obtained from the list_activities endpoint (the 'key' field). Makes one request to the server-rendered page.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `activity_key` | string | Yes | Activity key identifier (e.g. 'mint-casino-activity1247'). Obtained from list_activities results. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-cryptorank-io-api-3d3bd6d2/get_activity_detail \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"activity_key":"<string>"}'
```

### get_dashboard

Get the drophunting dashboard overview including current activity statistics (new activities count, confirmed awards count, rewards to check), list of next upcoming rewards with claim links, and hot/trending events with view counts and fund info. No parameters needed - returns the current state of the dashboard.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-cryptorank-io-api-3d3bd6d2/get_dashboard \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_filters

Get available filter options for the drophunting table, including activity types with counts, reward types, statuses, and sorting options. Use the returned keys as values for the filter parameters in list_activities.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `is_archive` | boolean | No | If true, returns filters for the archive table. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-cryptorank-io-api-3d3bd6d2/get_filters \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"is_archive":"<boolean>"}'
```

### list_activities

List drophunting activities (active or archived) with pagination and optional filters by activity type, status, and reward type. Supports sorting by status update date, rating, or creation date. Returns up to 100 items per page; use offset to paginate through all results. The total_count field reflects the filtered result set size. Each activity includes project metadata, funding info, cost/time estimates, and twitter scores. Some activities are auth-protected and show limited data (is_auth_protected=true).

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `activity_type` | string | No | Comma-separated activity type keys to filter by (e.g. 'testnet,social'). Available keys from get_filters endpoint. |
| `is_archive` | boolean | No | If true, returns archived/distributed activities instead of active ones. |
| `limit` | integer | No | Number of activities per page (1-100). |
| `offset` | integer | No | Pagination offset (0-based). |
| `order_by` | string | No | Field to sort by. |
| `order_direction` | string | No | Sort direction. |
| `reward_type` | string | No | Comma-separated reward type keys to filter by (e.g. 'airdrop,points'). Available keys from get_filters endpoint. |
| `status` | string | No | Comma-separated status values to filter by (e.g. 'CONFIRMED,POTENTIAL'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-cryptorank-io-api-3d3bd6d2/list_activities \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"activity_type":"<string>","is_archive":"<boolean>","limit":"<integer>","offset":"<integer>","order_by":"<string>","order_direction":"<string>","reward_type":"<string>","status":"<string>"}'
```
