# 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 for Locus Pro. Each call burns credits from your workspace balance.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/credits/cryptorank/`
**Auth:** `Authorization: Bearer <LOCUS_CREDITS_SECRET_KEY>` (an `lcr_` secret key or a scoped `lcac_` agent credential)
**Required header:** `Idempotency-Key: <fresh UUID per call>`. A retry with the same key replays the stored result without a new charge.
**Response:** the provider response after any endpoint-specific normalization. `X-Locus-Credits-Charged` carries the charge and `X-Locus-Credits-Balance` the remaining balance. Insufficient credits return `402` before the provider is called.
**Pricing:** estimated costs below are USD. Locus debits the credit equivalent at your workspace rate.

Full call contract: https://docs.paywithlocus.com/api-reference/introduction

> Using a Pay With Locus wallet key (`claw_` prefix)? Wallet routes are documented separately: https://docs.paywithlocus.com/wrapped-apis/for-agents

## 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/credits/cryptorank/get-activity-detail \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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/credits/cryptorank/get-dashboard \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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/credits/cryptorank/get-filters \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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/credits/cryptorank/list-activities \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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>"}'
```

## Next steps

- [All wrapped API providers](https://paywithlocus.com/wapi/index.md): pick another provider.
- [Find and call tools](https://paywithlocus.com/agent/tools.md): price ceilings, async results, and errors.
- [Credits and billing](https://paywithlocus.com/agent/billing.md): what a call costs and how to add credits.
- [Agent docs index](https://paywithlocus.com/agent/index.md): every Locus agent page.