# pump.fun API: full documentation
Source: https://docs.pump.fun. Generated at build time.
---
# Authentication
How to send an API key, what a key looks like, and how rotation and revocation work.
Every request to `https://api.pump.fun/v1` must carry an API key. Keys are checked at the origin on every request; there is no session, cookie or OAuth flow on this host.
Because there is no signed-in user, **viewer-relative fields are never populated on this host**. Response schemas in the [reference](/reference/) still list them (`viewer.followsYou`, `dmEligible`, `mutuals`, `isFollowing` and the like, which the pump.fun web app fills from the session); on `api.pump.fun` they are always absent, `null` or `false`. Do not build on them.
## Headers
Send the key in one of two headers. Prefer `Authorization: Bearer`; `x-api-key` is an alias for clients that cannot set `Authorization`. The [OpenAPI document](/openapi.public.json) declares a single security scheme, `bearer`, and mentions the alias in that scheme's description, so a client generated from it sends `Authorization: Bearer`.
```http
Authorization: Bearer pf_live_...
```
```http
x-api-key: pf_live_...
```
| Situation | Result |
| -------------------------------------------------------- | ------------------------------------------------------------------------- |
| URL without the `/v1` prefix | `404 Not Found` before the key is read; see [Errors](/errors/#404-on-a-route-that-exists-the-v1-prefix) |
| Neither header | `401 API_KEY_REQUIRED` |
| Both headers, different values | Refused as malformed: `401 API_KEY_INVALID` |
| `x-api-key` sent more than once | Refused as malformed: `401 API_KEY_INVALID` |
| `Authorization` with a scheme other than `Bearer` | Refused as malformed: `401 API_KEY_INVALID` |
| Key in a query string | Not read there (and it would end up in logs); treated as no key |
| Any request header starting with `x-pump-api-` | Dropped before routing; do not rely on them |
| pump.fun session cookie or user JWT sent to the API host | `400 API_CREDENTIAL_NOT_ALLOWED` |
| API key sent to the pump.fun web hosts | `400 API_CREDENTIAL_NOT_ALLOWED`; keys work only on `api.pump.fun` |
Both headers are removed from the request once the key has been read, so nothing behind the key check ever sees it.
## Key shape
```text
pf_live_ + 43 base62 characters + 6 base62 characters (57 characters total)
```
The 43-character body is 32 random bytes in base62 (`0-9A-Za-z`); the trailing 6 characters are a CRC-32 checksum of the body. Clients do not need to validate the checksum, but secret scanners can match keys on the `pf_live_` prefix and the fixed length. A key that fails the prefix, length, character-set or checksum check is refused before any lookup (`401 API_KEY_INVALID`), and the response does not say which check failed.
The developer console displays a key as its 12-character prefix (`pf_live_` plus four characters) and its last four characters. That display form is safe to put in a support ticket; the full key is not.
## Scopes
Each key carries a set of scopes. A route outside the key's scopes answers `403 API_SCOPE_FORBIDDEN` with `requiredScope` in the body. See [Scopes](/scopes/).
## Rotation
Rotating a key in the [developer console](https://developers.pump.fun) issues a sibling key with the same name, scopes and limits. The old key is not cut off at once: it enters a **grace window** during which both keys work, and is revoked automatically when the window ends.
1. Rotate: choose the grace window (1 hour to 7 days; the default is 24 hours) and copy the new key once.
2. Deploy the new key within the window.
3. Optionally revoke the old key early once nothing uses it. Otherwise it stops working at the end of the window.
During the window the old key shows as `rotating` in the console with the instant it stops being served. A rotating key does not count against your organisation's key limit, so rotation is always possible even when the limit is reached. A key that is already rotating cannot be rotated again (`409 API_KEY_ROTATING`); rotate its successor instead.
## Revocation
Revoking a key takes effect on the next request (`403 API_KEY_REVOKED`). The same applies when an organisation is suspended (`403 API_ORG_SUSPENDED`) or when the pump.fun team changes a key's scopes or limits: the change is visible on the next call.
The API is server-to-server. A request that arrives with a browser `Origin` header from any site other than pump.fun's own is refused with `403` before the key is even read, and the API sends no CORS headers for third-party origins, so a key pasted into front-end code never works. Keys seen in browser traffic are also flagged to the pump.fun team, who may revoke them. The reference page's "Try it" is disabled for the same reason; the snippets it generates are meant to be run from a terminal or a backend.
## If a key leaks
Revoke it in the console immediately, then create a new one. Every call is attributed to a key id (returned to you as the `x-pump-api-key-id` response header), so [support](/status-and-support/) can tell you what a leaked key was used for.
---
# Errors
The error envelope, every platform error code and what to do about each.
Every refused request, whatever the layer that refused it, answers with one JSON envelope. Branch on `error`; `message` is for humans and may change.
```json
{
"statusCode": 403,
"timestamp": "2026-01-01T00:00:00.000Z",
"path": "/moderation/ban/address/abc",
"error": "API_SCOPE_FORBIDDEN",
"message": "This key does not hold the moderation.read scope",
"requiredScope": "moderation.read"
}
```
| Field | Meaning |
| ------------ | ------------------------------------------------------------------------------------------------------------------------------------ |
| `statusCode` | The HTTP status, repeated in the body. |
| `error` | A stable, machine-readable code. Branch on it. |
| `message` | Human-readable; may change without notice. |
| `path` | The path and query string of the request **without the `/v1` prefix**: a call to `/v1/users/123` reports `/users/123`. |
| extra fields | `requiredScope` on `API_SCOPE_FORBIDDEN`; `retryAfterMs`, `limit` and `window` on `API_KEY_RATE_LIMITED`. |
## Platform codes
These are the codes the key, scope and limit checks can return on **any** route.
| Code |
Status |
Meaning |
What to do |
{errors.map((e) => (
|
|
{e.status} |
{inlineCode(e.summary)} |
{inlineCode(actions[e.code] ?? `Retry: ${e.retryable}.`)} |
))}
|
(no code)
|
503 |
The API could not verify the key or its limits (a backing store is down). Keyed requests fail closed by design. The body has no error field: it is the envelope with
message and retryAfterSeconds (5), and the response carries Retry-After: 5.
|
Wait Retry-After, then retry the same request. Do not retry in a tight loop.
|
## 404 on a route that exists: the `/v1` prefix
Every route lives under the base URL `https://api.pump.fun/v1`. The [API reference](/reference/) and the [Scopes](/scopes/) page list paths relative to it, so `GET /users/{id}` is called as `https://api.pump.fun/v1/users/{id}`. A request without the prefix answers `404` before the key is read, with a valid key or without one.
```sh
curl -sS https://api.pump.fun/users/123 -H "Authorization: Bearer $PUMP_API_KEY"
```
```json
{
"statusCode": 404,
"timestamp": "2026-01-01T00:00:00.000Z",
"path": "/users/123",
"message": "Cannot GET /users/123",
"error": "Not Found"
}
```
The body cannot tell you which mistake you made: `path` never includes `/v1`, and a path that does not exist under `/v1` answers with the same `404`. So when a route from the reference returns `Not Found`, check the URL first: it must start with `https://api.pump.fun/v1/`. The base URL on its own (`https://api.pump.fun/v1` with nothing after it) is not a route and answers `404` too.
## Route-level errors
Routes also return their own `400`, `404` and `409` responses, documented per operation in the [API reference](/reference/). For those, `error` is either a registry code listed in the reference (for example `USER_NOT_FOUND`) or a plain HTTP reason phrase (`"Not Found"`). The envelope shape is the same.
One route-level code is worth knowing before you call with an API key:
- `400 API_USER_REQUIRED` on `GET /portfolio-summary` and `GET /portfolio-summary/chart`: these routes serve the signed-in user when `user` is omitted, but an API key is never a session. Send `user=` on every keyed call; do not retry unchanged.
## Handling checklist
1. `404` with `"error": "Not Found"` on a route from the reference: the URL is missing the `/v1` prefix. Call `https://api.pump.fun/v1/...`; see [above](#404-on-a-route-that-exists-the-v1-prefix).
2. `401`: the key is missing or wrong. Fix the header or the key; do not retry unchanged.
3. `403 API_KEY_REVOKED`, `API_ORG_SUSPENDED`, `API_ORG_NOT_APPROVED`: stop calling and check the [developer console](https://developers.pump.fun).
4. `403 API_SCOPE_FORBIDDEN`: request the scope in `requiredScope`.
5. `403 API_REGION_RESTRICTED`: the request came from a region where pump.fun is not available; no key or scope change helps.
6. `429`: wait `Retry-After`, then retry. Check `window` to know whether it was the burst bucket (`burst`), the daily limit (`day`) or one of the per-IP throttles (`auth`, `lookup`); see [Limits and headers](/limits-and-headers/#429-too-many-requests).
7. `503` with no `error` field: wait `Retry-After` (5 seconds), then retry the same request.
8. Anything else: read `error`, log `X-Request-Id`, and quote both in a [support request](/status-and-support/).
---
# Getting started
Apply for access in the developer console, get approved, create a key and make the first call.
The pump.fun API gives approved organisations read-only access to public social data: profiles, the follow graph, callouts and posts, leaderboards and wallet positions. It is free. Access is by application and approval, keys belong to an organisation, and every call is attributed to the key that made it. Using the API means agreeing to the [Developer API Terms](/terms/).
## Apply and get a key
1. **Open the developer console.** Go to [developers.pump.fun](https://developers.pump.fun) and sign in with your pump.fun account. The sign-in happens on pump.fun and the session carries over.
2. **Apply.** Enter your business name, a business email, your use case, optionally your website, and the scopes you are requesting. Verify the email with the six-digit code we send: it is valid for 10 minutes and five attempts, and you can request a new one after 60 seconds.
3. **Wait for approval.** Applications are reviewed by the pump.fun team. There are no instant keys and no test keys. The decision shows in the console; a rejection carries a note, and a rejected organisation can apply again from the same console. Once the application is approved and the contact email is verified, you can create keys.
4. **Create a key.** Give it a name (`dev`, `prod`, a partner's name) and, optionally, a subset of the default scopes. The full key is shown **once**; store it in a secrets manager. The console keeps only the prefix and the last four characters. An organisation can hold up to five active keys (a key in its [rotation](/authentication/#rotation) grace window does not count), each with its own scopes and limits.
## Make the first call
```sh
curl -sS https://api.pump.fun/v1/users/{id} \
-H "Authorization: Bearer $PUMP_API_KEY"
```
```ts
import { PumpApi } from '@pump-fun/api';
const api = new PumpApi({ apiKey: process.env.PUMP_API_KEY! });
const { data: user, rateLimit } = await api.profiles.getUser({ id: '' });
console.log(user.username, rateLimit?.remaining);
```
Replace `{id}` with a user id or a wallet address. A `200` comes back with the profile and the `X-RateLimit-*` headers described in [Limits and headers](/limits-and-headers/). The SDK is documented on its [own page](/sdk/).
The base URL is `https://api.pump.fun/v1`. The [API reference](/reference/), the [Scopes](/scopes/) page and the OpenAPI document list paths relative to it: `GET /users/{id}` there is `https://api.pump.fun/v1/users/{id}` on the wire. A request without `/v1` (`https://api.pump.fun/users/{id}`) answers `404 Not Found`, with a valid key or without one. If your first call returns a 404, check the prefix before anything else; [Errors](/errors/#404-on-a-route-that-exists-the-v1-prefix) shows the response. The SDK's default `baseUrl` already includes it.
## Where the ids come from
Most routes take an id that another route returns: a user id or wallet address from `GET /users/search-v2`, `POST /users/batch` or any profile row; a `calloutId` from `GET /callout/list/{userId}`, `GET /callout/coin/{coin}` or `GET /home-feed/new`.
No public read returns a `postId` except the `/posts` routes themselves. `GET /posts`, `GET /posts/{postId}` and its `/replies`, `/quotes`, `/likers` and `/reposters` all take an id you already hold. Post ids come from the pump.fun app's URLs, `pump.fun/post/`; there is no listing route yet.
## What a new key gets
| Setting | Default |
| --------------------- | --------------------------------------------------- |
| Scopes | all read scopes except `moderation.read` (or the subset you pick) |
| Rate | 2 requests per second sustained, 120 per 60 s bucket |
| Daily limit | 50,000 requests per UTC day |
| Keys per organisation | 5 |
Defaults start low on purpose. One higher tier is documented: **10 requests per second (600 per 60 s bucket) and 1,000,000 requests per UTC day**. Ask for it by email to [developers@pump.fun](mailto:developers@pump.fun) with the key's prefix and the routes you call (see [Status and support](/status-and-support/)); limits are raised per key, and anything beyond that tier is a partner arrangement.
The API has no CORS for third-party origins: a request that arrives with a browser `Origin` header from another site is refused with `403`. Keys seen in browser traffic are flagged to the pump.fun team, who may revoke them. Call the API from your backend and keep the key out of client bundles.
## Next
- [Authentication](/authentication/): the two header forms, key shape, rotation.
- [Scopes](/scopes/): which routes each scope unlocks.
- [API reference](/reference/): every operation with schemas and curl snippets.
- [MCP server](/mcp/): use the same key from an AI client.
---
# Developer API
Read-only social data from pump.fun for approved organisations, over HTTPS or MCP.
Base URL and auth
One base URL, `https://api.pump.fun/v1`, and one bearer header. Every path starts with `/v1`; a request without it answers 404. Keys are server-side only: a key seen from a browser is flagged and may be revoked.
Authorization: Bearer pf_live_…
[Authentication →](/authentication/)
Scopes
Six read scopes, one per route family, granted per key. New keys get every scope except `moderation.read`.
403 "requiredScope": "graph.read"
[Scopes →](/scopes/)
Rate limits
2 requests per second with a 120-request bucket and 50,000 per UTC day by default. Every response reports the budget.
X-RateLimit-Remaining: 119
[Limits and headers →](/limits-and-headers/)
Quick start
[Full walkthrough →](/getting-started/)
Open the developer console at [developers.pump.fun](https://developers.pump.fun), sign in with your pump.fun account and apply.
Once the pump.fun team approves the application, create a key. It is shown once.
Call the API from your backend:
```sh
curl -sS https://api.pump.fun/v1/users/{id} \
-H "Authorization: Bearer $PUMP_API_KEY"
```
```ts
import { PumpApi } from '@pump-fun/api';
const api = new PumpApi({ apiKey: process.env.PUMP_API_KEY! });
const { data: user, rateLimit } = await api.profiles.getUser({ id: '' });
console.log(user.username, rateLimit?.remaining);
```
Replace the `id` segment with a user id or a wallet address. The SDK (`@pump-fun/api`) has zero runtime dependencies and types every route from the public OpenAPI document.
What you can read
{scopes.reduce((n, s) => n + s.routes.length, 0)} routes across six scope families.
{scopes.map((s) => (
{s.routes.length}routes
{s.name}
{s.description}
))}
Machine readers
The same content for code generators and agents.
[/openapi.public.json](/openapi.public.json)
[/llms.txt](/llms.txt)
[/llms-full.txt](/llms-full.txt)
[MCP server](/mcp/)
---
# Limits and headers
Per-second and daily limits, the X-RateLimit headers, Retry-After and the 429 windows.
Limits are set **per key** by the pump.fun team. Every key starts at the defaults below. One higher tier is documented, **10 requests per second (600-request bucket) and 1,000,000 per UTC day**; ask [support](/status-and-support/) for it, or for anything beyond it.
## The two limits
| Limit | Default | How it is measured |
| --------------------- | -------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Rate (`burst` window) | 2 requests per second | A sustained rate with a **60 second bucket**: the bucket holds 60 × the per-second rate, refills continuously, and a request is refused when the bucket is empty. At the default you can send 120 requests at once and then 2 per second. |
| Daily (`day` window) | 50,000 requests | A counter per **UTC day** across all routes. Resets at 00:00 UTC. |
The two limits count differently:
- The **rate bucket** is debited by every request that passes the key and scope checks, whatever the route then answers. Requests refused for a missing or invalid key, or for a missing scope, do not touch it.
- The **daily counter** counts only requests the API answered successfully (`2xx` or `304`). A slot is reserved before the route runs and handed back when the response is anything else (a `4xx`, a `5xx` or a dropped connection), so refused or failed calls do not spend your daily budget.
The MCP server makes exactly one API request per tool call, so its calls count the same way.
A key whose rate or daily limit has been set to 0 is paused: it answers `429` on every request with `Retry-After: 60` and the message `This key is paused; contact developers@pump.fun`, without touching the limiter. To have it unpaused, email [developers@pump.fun](mailto:developers@pump.fun) with the key's prefix (see [Status and support](/status-and-support/)).
## Response headers
The API sets these headers itself. Which of them a response carries depends on how far the request got:
- `X-Request-Id` is on every response to a request for a documented route, refusals included. The one exception is a request refused for its browser `Origin` (see [Authentication](/authentication/)).
- `x-pump-api-key-id` is added once the key has been accepted.
- The `X-RateLimit-*` headers are added once the request has also passed the scope check and reached the limiter. They are on every response the route itself gives and on a `burst` or `day` `429`. A request refused by the key or scope checks (`400 API_CREDENTIAL_NOT_ALLOWED`, any `401`, a `403` with a platform code, an `auth` or `lookup` `429`) does not carry them, and neither does the `503` described below.
| Header | Meaning |
| ------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------- |
| `X-RateLimit-Limit` | Size of the 60 second bucket (60 × the key's per-second rate). |
| `X-RateLimit-Remaining` | The smaller of the requests left in the bucket and the requests left in today's daily limit. When the daily limit is the tighter one, this number counts down towards it. |
| `X-RateLimit-Reset` | Unix time in seconds at which the ceiling that `X-RateLimit-Remaining` reports moves: when the bucket is full again, or 00:00 UTC when the daily limit is the tighter one (and on a `day` 429). |
| `Retry-After` | Seconds to wait. Present on `429` and `503` only. |
| `X-Request-Id` | Request id generated by the API (a UUID). Quote it in support requests. Any `X-Request-Id` you send is ignored. |
| `x-pump-api-key-id` | Opaque id of the key that made the request (a UUID, never the key itself). Also useful in support requests. |
| `Cache-Control` | `no-store` on every response the route itself gives to a keyed request, and on a `burst` or `day` `429`: keyed responses are never cacheable by intermediaries. |
Deprecated routes add `Deprecation`, `Sunset` and `Link`; see [Versioning and deprecation](/versioning-and-deprecation/).
### Worked example
A key at the default rate (2 requests per second) makes two calls back to back at 00:00:00 UTC on 1 January 2026 (Unix time 1767225600), with a full bucket. The bucket holds 120 (60 × 2), 118 are left, and the two requests it spent are back one second later, at the Unix second in `X-RateLimit-Reset`:
```http
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Cache-Control: no-store
X-RateLimit-Limit: 120
X-RateLimit-Remaining: 118
X-RateLimit-Reset: 1767225601
X-Request-Id: 7d1f0a2e-5b8c-4b1e-9a7f-2c3d4e5f6a7b
x-pump-api-key-id: 3f9c2b1a-4d5e-4f60-8a7b-9c0d1e2f3a4b
```
Another 118 calls in the same second empty the bucket; the next one is refused. `Retry-After` is the wait until one more request fits (half a second at 2 per second, rounded up to a whole second), while `X-RateLimit-Reset` is when the whole bucket is full again, 60 seconds later:
```http
HTTP/1.1 429 Too Many Requests
Retry-After: 1
Cache-Control: no-store
X-RateLimit-Limit: 120
X-RateLimit-Remaining: 0
X-RateLimit-Reset: 1767225660
X-Request-Id: 0b6a3c9e-2f4d-4c1a-8e5b-6d7f8a9b0c1d
x-pump-api-key-id: 3f9c2b1a-4d5e-4f60-8a7b-9c0d1e2f3a4b
```
After that the key can keep sending 2 requests per second. Every key also has the daily limit, 50,000 requests per UTC day at the default.
## 429 Too Many Requests
A refused request answers `429` with `Retry-After` and this body:
```json
{
"statusCode": 429,
"timestamp": "2026-01-01T00:00:00.000Z",
"path": "/users/123",
"error": "API_KEY_RATE_LIMITED",
"message": "Rate limit of 120 requests per minute exceeded",
"retryAfterMs": 500,
"limit": 120,
"window": "burst"
}
```
This is the body for a key at the default rate: `limit` is the size of the limit that was hit (the 120-request bucket here, the daily limit on a `day` 429) and `retryAfterMs` the wait until the next request is accepted. `path` is the route's path as the [API reference](/reference/) lists it, without the `/v1` prefix.
`window` tells you which limit was hit:
| `window` | Meaning | What to do |
| -------- | ----------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------- |
| `burst` | The 60 second bucket is empty. | Wait `retryAfterMs` (usually under a second at the default rate). |
| `day` | The UTC-day counter reached the daily limit. The message reads `Daily limit of 50000 requests reached; resets at 00:00 UTC` and `X-RateLimit-Reset` points at that midnight. | Wait until 00:00 UTC (`Retry-After` says how long), or ask for a higher daily limit. |
| `auth` | Too many **failed** keys from your IP address (60 per 10 minutes). Only unknown, malformed, revoked, suspended or not-yet-approved keys count. | Fix the key you are sending; valid keys are never throttled this way. |
| `lookup` | Too many **uncached** key lookups from your IP address (600 per 10 minutes). A recognised key is cached for five minutes, so steady traffic with a few keys never reaches this; a flood of distinct keys from one address does. | Reuse your keys instead of sending many different ones from one address. |
## 503 Service Unavailable
If the API cannot check a key or its limits because a backing store is unavailable, keyed requests **fail closed** with `503` and `Retry-After: 5`. The body is a fixed envelope with no `error` field:
```json
{
"statusCode": 503,
"timestamp": "2026-01-01T00:00:00.000Z",
"path": "/users/123",
"message": "API platform temporarily unavailable; retry after 5s",
"retryAfterSeconds": 5
}
```
Retry after the interval with the same request; do not retry in a tight loop.
## Client guidance
- Read `X-RateLimit-Remaining` and slow down before you hit 0 instead of reacting to `429`s.
- Honour `Retry-After` on both `429` and `503`.
- Use one key per deployment (`dev`, `prod`) so one noisy environment does not consume another's budget.
- Batch where a route supports it (for example `POST /users/batch` instead of many `GET /users/{id}` calls): one request is one unit regardless of batch size.
---
# MCP server
Connect Claude Code, Claude Desktop or Cursor to pump.fun social data with your API key.
pump.fun runs a hosted [Model Context Protocol](https://modelcontextprotocol.io) server at **`https://mcp.pump.fun/mcp`** (Streamable HTTP). It exposes the same read-only data as the API as {mcp.tools.length} tools, authenticated with the same `pf_live_` key. Each tool call is exactly one API request and counts against your key's [limits](/limits-and-headers/) like any other call.
The server is stateless: every request is a `POST /mcp` with a JSON-RPC body and a JSON response. There are no sessions and no server-sent event streams; `GET /mcp` answers `405`.
## Connect
Pass your key as a bearer header. The MCP server only accepts `Authorization: Bearer pf_live_...`: the `x-api-key` alias is refused (`400`), and so is any request that carries a browser `Origin` header (`403`), including browser-hosted MCP inspectors.
```sh
claude mcp add --transport http pump https://mcp.pump.fun/mcp \
--header "Authorization: Bearer pf_live_..."
```
Add to `claude_desktop_config.json` (Settings → Developer → Edit Config):
```json
{
"mcpServers": {
"pump": {
"url": "https://mcp.pump.fun/mcp",
"headers": { "Authorization": "Bearer pf_live_..." }
}
}
}
```
Add to `.cursor/mcp.json` in your project (or the global one):
```json
{
"mcpServers": {
"pump": {
"url": "https://mcp.pump.fun/mcp",
"headers": { "Authorization": "Bearer pf_live_..." }
}
}
}
```
Clients that cannot speak HTTP directly can bridge through `mcp-remote`:
```json
{
"mcpServers": {
"pump": {
"command": "npx",
"args": [
"-y", "mcp-remote", "https://mcp.pump.fun/mcp",
"--header", "Authorization: Bearer ${PUMP_API_KEY}"
]
}
}
}
```
The MCP server only checks that the bearer has the shape of a key (`pf_live_` plus 49 characters; anything else is a `401` before MCP starts). Validity, scopes and limits are checked by the API when a tool runs, so a well-formed but wrong key connects fine and fails on the first tool call with `invalid_key`.
## Tools
All tools are read-only (`readOnlyHint: true`) and map to one API route each. Page sizes are small by default and differ per tool (for example 5 rows for user search, 10 for callout lists, 20 for followers, 25 for trades); each tool's input schema states its default and maximum, and a larger value is clamped to the maximum rather than rejected.
| Tool |
Scope |
API route |
Returns |
{mcp.tools.map((t) => (
|
|
|
|
{t.summary} |
))}
The table above is the complete tool list; the other routes of the API are reachable only through the API itself. Not exposed as tools: bulk user listing (`GET /users`), the username-exists check, follow suggestions, the video feed, the Mayhem top-traders board and the verified-profile, generated-media and badge batch reads. (`POST /users/batch` is exposed as `lookup_wallets`, capped at 50 addresses.) Narrower reads such as follower counts, searches within a follow list, likers and reposters, reply chains, competition detail and the portfolio summary have no tool either.
`get_posts` and `get_post_replies` take post ids, and no tool (and no API route) returns one: post ids come from the pump.fun app's URLs, `pump.fun/post/`. There is no listing route yet, so an agent needs the id from the user or from a page it was pointed at. Callouts are different: `list_user_callouts`, `get_coin_callouts` and `get_recent_callouts` return callouts with their `calloutId`.
## Tool results
Every successful result has a `content[0].text` that starts with one fixed line explaining the untrusted wrapper, followed by the JSON, and a `structuredContent` with `data` and `meta`:
| `meta` key | Contents |
| ----------------------------- | ---------------------------------------------------------------------------------------------------------- |
| `fun.pump/untrustedFields` | Paths of user-generated strings; each is `{ "untrusted": true, "text": "..." }` in place. |
| `fun.pump/strippedFields` | Viewer-relative fields removed before shaping. |
| `fun.pump/upstream` | The API's `X-Request-Id`, `X-RateLimit-*`, `Retry-After` and, on a deprecated route, `Sunset` / `Deprecation`. Quote the request id in support requests. |
| `fun.pump/page` | The page size actually sent, and `clampedFrom` when you asked for more. |
## Tool errors
Tool errors (`isError: true`) carry `structuredContent.error`, derived from the API's [error envelope](/errors/). Every upstream failure also carries `status` (the API's HTTP status), `code` (the API's error code, when it sent one) and `requestId`.
| Tool error | API code |
| ---------------------- | ----------------------------------------------------------------------------------------------- |
| `invalid_key` | `API_KEY_REQUIRED`, `API_KEY_INVALID` |
| `key_revoked` | `API_KEY_REVOKED`, `API_ORG_SUSPENDED` |
| `key_not_approved` | `API_ORG_NOT_APPROVED` |
| `insufficient_scope` | `API_SCOPE_FORBIDDEN` (carries `requiredScope`) |
| `rate_limited` | `API_KEY_RATE_LIMITED` (carries `retryAfterSeconds` and `rateLimit.limit/remaining/reset/window`) |
| `upstream_unavailable` | any `503` |
| `upstream_error` | anything else; `status: 404` is "no such record", `status: 400` is "the API rejected the input" |
| `timeout` | the API did not answer within the server's deadline (no API code) |
| `disabled` | the tool is switched off on the server (no API code) |
## Untrusted content
Callout text, replies, bios, usernames and group names are written by pump.fun users. The MCP server marks these fields as **untrusted** in every tool result (an explicit `untrusted: true` wrapper on the text, with the paths listed in `meta["fun.pump/untrustedFields"]`) so that an agent does not follow instructions hidden in them, and it never turns URLs found in user content into links or instructions. Viewer-relative fields (`isFollowing`, `viewerFollows`, mute state) are stripped: the server has no viewer.
## Later: OAuth
The server has an RFC 9728 protected-resource metadata endpoint at `/.well-known/oauth-protected-resource` so an OAuth 2.1 flow can be added without changing the endpoint. Today the metadata is not advertised and the bearer key is the only credential.
---
# Scopes
The six scope families, how many routes each unlocks, and the full route list per scope.
A key carries a set of scopes. Each public route belongs to exactly one scope, and a call to a route outside the key's scopes is refused with `403 API_SCOPE_FORBIDDEN` and `requiredScope` naming the scope you need.
New keys receive every scope **except** `moderation.read`; when creating a key you may also pick a smaller subset of that default grant. Only the pump.fun team can add `moderation.read` or change a key's scopes afterwards; ask [support](/status-and-support/).
## Families
{total} routes across six families. The [API reference](/reference/) groups operations by the same tags, in the same order.
| Scope |
Routes |
What it covers |
Example routes |
{scopes.map((s) => (
|
|
{s.routes.length} |
{s.description} |
{examples(s).map((ex, i) => (
<>
{i > 0 ? : null}
>
))}
|
))}
## Routes by scope
The lists below are generated from the public OpenAPI document at build time.
{scopes.map((s) => (
<>
{s.name}
{s.description} {s.routes.length} routes.
| Route |
Summary |
{s.routes.map((r) => (
|
|
{r.summary || Described by its parameters and response schema in the reference.} |
))}
>
))}
## Notes
- `moderation.read` is the public ban oracle (`GET /moderation/ban/address/{address}`). It answers whether a wallet address is banned on pump.fun and nothing else. It is outside every default grant because it is an oracle: request it only if your product needs it.
- The `/posts` routes (`content.read`, with `/likers` and `/reposters` under `graph.read`) take a post id you already hold: no public route returns a `postId`. Post ids come from the pump.fun app's URLs, `pump.fun/post/`; there is no listing route yet. See [Getting started](/getting-started/#where-the-ids-come-from).
- Scopes are read-only by construction. There is no write, trading or on-behalf-of scope and none is planned.
- Market data (coin prices, trades, candles) is **not** part of this API today.
---
# TypeScript SDK
The @pump-fun/api client, typed from the public OpenAPI document, with zero runtime dependencies.
`@pump-fun/api` is a typed TypeScript client for `https://api.pump.fun/v1`. It has no runtime dependencies, uses the global `fetch` (Node 20 or newer), ships ESM and CommonJS, and types every route from the same [OpenAPI document](/openapi.public.json) this site serves. It is MIT-licensed.
The constructor refuses to run in a browser. Keep the key in a secrets manager or an environment variable on your server; a key that reaches a browser is [revoked](/authentication/#revocation).
## Install
```sh
pnpm add @pump-fun/api
# or: npm install @pump-fun/api
```
The package is published to the public npm registry with the API's general availability. Until then the install command above will not resolve.
## First call
```ts
const api = new PumpApi({ apiKey: process.env.PUMP_API_KEY! });
const { data: user, rateLimit } = await api.profiles.getUser({ id: '' });
console.log(user.username, rateLimit?.remaining);
```
Every route method takes one argument: path parameters at the top level, `query` for query parameters and `body` for JSON bodies. A second, optional argument carries per-call options (`signal`, `timeoutMs`, `maxRetries`, `headers`). The result is an object with these fields:
| Field | Type | Meaning |
| ------------ | -------------------------- | -------------------------------------------------------------------------- |
| `data` | typed per route | The parsed response body. |
| `status` | `number` | HTTP status code. |
| `headers` | `Headers` | The raw response headers. |
| `requestId` | `string \| null` | `X-Request-Id`; quote it in support requests. |
| `apiKeyId` | `string \| null` | `x-pump-api-key-id`, the opaque id of the key that made the call. |
| `rateLimit` | `{ limit, remaining, reset, resetAt }` | Parsed from the `X-RateLimit-*` headers, or `null` when absent. See [Limits](/limits-and-headers/). |
| `deprecation` | `{ announced, sunset, successor, docs, raw }` | Parsed from the `Deprecation`, `Sunset` and `Link` headers when the route is deprecated; otherwise `null`. |
## Options
```ts
const api = new PumpApi({
apiKey: process.env.PUMP_API_KEY!, // required, pf_live_...
baseUrl: 'https://api.pump.fun/v1', // the default
maxRetries: 2, // retries after 429 / 5xx / connection failures; 0 disables
maxRetryDelayMs: 30_000, // a longer Retry-After throws instead of waiting
timeoutMs: 30_000, // per request
headers: {}, // extra headers; Authorization, User-Agent and x-pump-sdk are managed
warnOnDeprecation: true, // one console.warn per deprecated route; false to silence
});
```
Every request carries `Authorization: Bearer `, `Accept: application/json`, `User-Agent: @pump-fun/api/` and `x-pump-sdk: @pump-fun/api/`. Redirects are refused so the key never follows a `Location` to another host, and the `request()` escape hatch accepts only paths under `baseUrl`, never an absolute URL.
## Route families
One namespace per [scope](/scopes/). Method names follow the OpenAPI `operationId`.
| Namespace | Scope | Routes | Examples |
| ------------------ | ------------------- | ------ | ----------------------------------------------------------------- |
| `api.profiles` | `profiles.read` | 13 | `getUser`, `searchUsers`, `getUsersBatch`, `resolveIdentifiers` |
| `api.graph` | `graph.read` | 17 | `getFollowers`, `getFollowing`, `checkFollows`, `getGroupMembers` |
| `api.content` | `content.read` | 18 | `getCallout`, `listUserCallouts`, `getRecentCallouts`, `listPosts` |
| `api.leaderboards` | `leaderboards.read` | 11 | `getPnlLeaderboard`, `listCompetitions`, `getCreatorPayoutsLeaderboard` |
| `api.positions` | `positions.read` | 7 | `getUserPositions`, `getUserTrades`, `getCoinHolderPositions` |
| `api.moderation` | `moderation.read` | 1 | `checkAddressBanned` (outside every default grant) |
`ROUTES` exports the full table (method, path, operationId, scope) and `listRoutes()` flattens it.
```ts
// graph.read: who follows a user, paginated with limit/offset
const { data: followers } = await api.graph.getFollowers({
userId: user.address,
query: { limit: 50, offset: 0 },
});
// leaderboards.read: the weekly PnL leaderboard
const { data: board } = await api.leaderboards.getPnlLeaderboard({ query: { period: 'weekly', limit: 25 } });
// positions.read: a wallet's positions in the given coins
const { data: positions } = await api.positions.getUserPositions({
userId: user.address,
query: { mints: [''] },
});
```
## Errors and retries
On `429`, `5xx` and connection failures the client retries up to `maxRetries` times (default 2), waiting for `Retry-After` when the response carries it, else the body's `retryAfterMs`, else an exponential backoff from 500 ms with jitter. If a single wait would exceed `maxRetryDelayMs` (default 30 s) the error is thrown at once so you can schedule the retry yourself. No other `4xx` is retried, and timeouts are not retried.
Once retries are exhausted, every non-2xx response throws a `PumpApiError`:
| Field | Meaning |
| ---------------------------------- | --------------------------------------------------------------------------------------------------------- |
| `status` | HTTP status; `0` for timeouts and connection failures. |
| `code` | `error` from the [envelope](/errors/), a route code such as `CALLOUT_NOT_FOUND`, or one of the SDK's own: `HTTP_ERROR`, `TIMEOUT`, `NETWORK_ERROR`. |
| `method`, `path` | The request that failed. |
| `requestId`, `apiKeyId` | The `X-Request-Id` and `x-pump-api-key-id` headers; quote the first in support requests. |
| `retryAfterMs`, `retryAfter` | From `Retry-After` (seconds or HTTP-date) or the body's `retryAfterMs`; set on `429` and `503`. |
| `rateLimit` | Parsed `X-RateLimit-*` headers. |
| `requiredScope`, `window`, `limit` | Details on `API_SCOPE_FORBIDDEN` and `API_KEY_RATE_LIMITED`. |
| `body`, `envelope`, `headers` | The raw body, the parsed envelope when the body was one, and the response headers. |
| `isRetryable`, `isAuthError` | Convenience flags. |
`PumpApiTimeoutError` (`code: 'TIMEOUT'`) and `PumpApiNetworkError` (`code: 'NETWORK_ERROR'`) extend `PumpApiError`. A caller `signal` abort propagates as an `AbortError`.
```ts
const address = '';
try {
await api.moderation.checkAddressBanned({ address });
} catch (err) {
if (err instanceof PumpApiError && err.code === 'API_SCOPE_FORBIDDEN') {
// request moderation.read from developers@pump.fun
} else {
throw err;
}
}
```
## Deprecations
A deprecated route answers with `Deprecation`, `Sunset` and `Link` headers. The client parses them into `result.deprecation` (`announced` and `sunset` as dates, `successor` from the `Link` header's `rel="successor-version"`, `docs` from a `rel="deprecation"` link if the API ever sends one, and the `raw` header values) and emits one `console.warn` per route per client instance. Pass `warnOnDeprecation: false` to the constructor to silence the warning and act on `result.deprecation` yourself, for example by counting it in your metrics. Routes are deprecated with at least 90 days' notice; see [Versioning and deprecation](/versioning-and-deprecation/).
## Key format helper
```ts
isValidKeyFormat('pf_live_...'); // prefix + 43 base62 body + 6 base62 CRC-32 checksum = 57 chars
parseKey('pf_live_...'); // { ok: true, body, checksum, displayPrefix, last4 } | { ok: false, reason }
```
The constructor itself checks only the prefix, length and character set; use `isValidKeyFormat` when you want the checksum verified, for example when reading the key from configuration.
---
# Status and support
How availability is communicated and how to reach the pump.fun team about the API.
## Availability
- There is no contractual SLA for the API, and no SLA on support replies.
- There is no public status page for the API yet. When one exists it will be linked from this page.
- When the API cannot verify keys or limits it fails closed with `503` and `Retry-After: 5` (see [Limits and headers](/limits-and-headers/#503-service-unavailable)); treat a run of those as an incident on our side and retry after the interval.
## Support
Support for the developer API is by email: write to [developers@pump.fun](mailto:developers@pump.fun). The team reads the mailbox on business days and answers in order; there is no SLA on a reply. Decisions on applications, and the note that comes with a rejection, show in the [developer console](https://developers.pump.fun), so check there first.
The mailbox is for:
- the status of an application,
- raising a key's rate or daily limit,
- adding a scope to a key or an organisation,
- an incident: errors, timeouts or wrong data from the API,
- questions about a deprecation or a sunset date.
In every request include:
- your **organisation name** as the developer console shows it,
- the key's **12-character prefix** (`pf_live_` plus four characters), as the console shows it. **Never send the full key.** If a full key has reached anyone, revoke it in the console first.
- the `X-Request-Id` response header of a failing call (and `x-pump-api-key-id` if you have it),
- the **time in UTC** and the **route** of the call,
- what you expected and the response body you got.
## Requests we handle
| Request | What to send |
| ------------------------------------------- | -------------------------------------------------------------------------------------------------------------- |
| Status of an application | organisation name; the decision itself shows in the [developer console](https://developers.pump.fun) |
| Raise rate or daily limits | key prefix, routes you call, expected volume |
| Add a scope (for example `moderation.read`) | key prefix, the product need |
| Report an incident or a bug in the data | request id, route, time (UTC), what you expected |
| Ask about a deprecation | the route and the `Sunset` date from its headers |
| Report a leaked key | revoke it first in the [developer console](https://developers.pump.fun), then tell us the prefix, never the key |
## Changes and deprecations
Deprecations are announced with the headers described in [Versioning and deprecation](/versioning-and-deprecation/) and in the OpenAPI document (`deprecated: true` on the operation), at least 90 days before a route is removed. Questions about a deprecation go to [developers@pump.fun](mailto:developers@pump.fun).
---
# pump.fun Developer API Terms
The terms that govern access to and use of the pump.fun Developer API, developer console, documentation, MCP server and SDK. Last updated October 22, 2026.
Last Updated: October 22, 2026
## 1. Introduction
1.1. These Developer API Terms (these "API Terms") are a legally binding agreement between the person that applies for or uses the Developer API ("Developer", "you" or "your") and Baton Corporation, Ltd., a company incorporated in England and Wales with its registered office at 82a James Carter Road, Mildenhall, Bury St. Edmunds, England, IP28 7DE, acting for itself and on behalf of the other Pump Entities ("Pump", "we", "us" or "our"). They govern your access to and use of the Developer API, the Developer Console, the Documentation, the MCP Server, the SDK and any API Data (together, the "Developer Services").
1.2. The Developer Services are provided in connection with the Pump Platform. The pump.fun Terms of Use published at [https://pump.fun/docs/terms-and-conditions](https://pump.fun/docs/terms-and-conditions) (the "Terms of Use"), the Privacy Notice published at [https://pump.fun/docs/privacy-policy](https://pump.fun/docs/privacy-policy) (the "Privacy Notice") and the Trademark Guidelines published at [https://pump.fun/docs/trademark-guidelines](https://pump.fun/docs/trademark-guidelines) (the "Trademark Guidelines"), each as updated from time to time, are incorporated into these API Terms to the extent stated in Section 3. If these API Terms conflict with the Terms of Use in relation to the Developer Services, these API Terms prevail.
1.3. By submitting an application in the Developer Console, by indicating acceptance in the Developer Console (including each time you create or rotate an API Key), or by accessing or using any Developer Service, you accept these API Terms. If you do not agree to these API Terms, do not apply for, access or use the Developer Services.
1.4. If you use the Pump Platform in your own right, your use of the Pump Platform (including the pump.fun account through which you sign in to the Developer Console) continues to be governed by the Terms of Use.
## 2. Eligibility and Authority
2.1. To apply for or use the Developer Services you must be an individual who is at least 18 years of age and of the legal age of majority in your jurisdiction, or a company, partnership, foundation or other legal person or organisation, in each case with the full power, authority and capacity to enter into and perform these API Terms.
2.2. If you apply on behalf of a company or other organisation, the individual who submits the application, indicates acceptance or creates an API Key represents and warrants that he or she is at least 18 years of age and of the legal age of majority in his or her jurisdiction, and is duly authorised to act on behalf of and bind that organisation for the purposes of these API Terms. If that individual is not so authorised, that individual is personally bound by these API Terms as the Developer.
2.3. The eligibility criteria in Section 2 of the Terms of Use apply to the Developer and to each individual who accesses the Developer Services on its behalf. Without limiting those criteria, you may not apply for, access or use the Developer Services if you, or any person who Controls you, is located, incorporated, otherwise established in, resident of, or has business operations in a Prohibited Jurisdiction, or is a Sanctioned Person, and you may not use the Developer Services in or for the benefit of any person in a Prohibited Jurisdiction or any Sanctioned Person. We may use the information you provide, the IP address from which you accept these API Terms and any other information available to us to assess eligibility, and we may use technical measures to restrict access to the Developer Services from any jurisdiction.
2.4. You represent and warrant that the information you provide in your application and in the Developer Console (including the name under which you apply, your website, contact email and intended use) is accurate and complete, and you will keep it up to date. The contact email you verify in the Developer Console is the Developer's address for notices under Section 20.
## 3. Relationship to the Terms of Use, the Privacy Notice and the Trademark Guidelines
3.1. The following provisions of the Terms of Use are incorporated into these API Terms and apply to the Developer Services as if set out in full, with references to "these Terms" read as references to these API Terms, references to the "Pump Platform" and "Pump Services" read as including the Developer Services, and references to "you" read as references to the Developer: Section 2 (Eligibility); Section 16 (Pump IP); Section 21 (Prohibited Use); Section 22 (Representations and Warranties); Section 23 (Technology Disclaimers); Section 25 (Liability), as modified by Section 17 of these API Terms; Section 26 (Governing Law); Section 27 (Dispute Resolution; Arbitration); Section 29 (General Terms); and Section 32 (Definitions and Interpretation) to the extent of terms used in these API Terms and not defined in Section 22.
3.2. Capitalised terms used but not defined in these API Terms have the meanings given in the Terms of Use or, for "Personal Data" and "Data Protection Law", in the Privacy Notice. Where Section 27.11 of the Terms of Use refers to identifying your Wallet address in an opt-out notice, you must instead identify the Developer's name and verified contact email as recorded in the Developer Console.
3.3. The Privacy Notice describes how we process Personal Data in connection with the Developer Services, including the information you provide in the Developer Console and records of your use of the Developer API. The Trademark Guidelines govern your use of the Pump Entities' names, logos and other trade marks.
3.4. The Documentation, including the published limits, the versioning and deprecation policy and the API reference, forms part of these API Terms. Where these API Terms refer to limits, scopes or policies "shown in the Documentation or the Developer Console", the version shown at the time of the relevant request applies.
## 4. The Developer Services
4.1. The Developer API. The Developer API is a keyed, read-only programmatic interface through which approved Developers may retrieve API Data. The Developer API does not act as a user of the Pump Platform: an API Key cannot create, post, follow, trade, transfer, sign or otherwise take any action on the Pump Platform, and does not provide access to any user's private messages, settings, session or other non-public information.
4.2. API Data. "API Data" means the data, content and other material returned by the Developer API, which consists of User Materials and other information that is publicly available on the Pump Platform (such as public profiles, usernames, Wallet addresses, posts, replies and other User Materials, follow relationships, leaderboards and public group memberships), information derived from public blockchains (such as the positions, trades, balances and estimated portfolio values associated with a Wallet address), and Pump's own computations, estimates and markers derived from that information. API Data does not include market or price data for Digital Assets except as incidentally contained in the foregoing.
4.3. The Developer Console. The Developer Console at [https://developers.pump.fun](https://developers.pump.fun) is where you apply for access, accept these API Terms, create, name, rotate and revoke API Keys, view your own usage and manage your contact details. You sign in to the Developer Console through your pump.fun account. One Developer may be registered per pump.fun account, and only that account may manage the Developer.
4.4. Scopes. Each API Key carries one or more scopes that determine which families of API Data it may retrieve. The scopes available, the routes within each scope and the default scopes granted to a new API Key are shown in the Documentation and the Developer Console. We may grant, decline, add or remove scopes for any API Key at our discretion. Certain scopes, including the scope that returns whether a Wallet address is currently restricted from the Pump Platform (the "Moderation Scope"), are granted only on specific request and are subject to the additional conditions in Section 8.6.
4.5. The MCP Server. The MCP Server at [https://mcp.pump.fun](https://mcp.pump.fun) allows software agents, including artificial-intelligence agents, to call the Developer API using your API Key. The MCP Server is a pass-through to the Developer API: it holds no API Keys and no API Data of its own, every request made through it is made under, and counts against the limits of, the API Key supplied with the request, and the same scopes, limits, suspensions and revocations apply as for a direct request. Every request made through the MCP Server using your API Key, and everything an agent does with the API Data it receives, is your use of the Developer Services under these API Terms.
4.6. The SDK and Documentation. We may make available client libraries, code samples, API descriptions and other software and documentation for use with the Developer API (the "SDK" and the "Documentation"). Where any component of the SDK is distributed under its own licence terms, those terms govern your use of that component and prevail over Section 9 to the extent of any conflict; otherwise the SDK and Documentation are licensed to you under Section 9.
4.7. Private beta and other pre-release features. We may make some or all of the Developer Services available on an invitation-only, beta, preview or other pre-release basis. Pre-release features may be incomplete, may change or be withdrawn at any time, and are provided without any commitment as to their future availability or form.
## 5. Applications and Approval
5.1. To obtain access you must submit an application in the Developer Console, verify your contact email and request the scopes you need. We review each application. We may approve or decline any application, in whole or in part, at our sole discretion and without giving reasons, and we may limit applications to Developers we have invited.
5.2. Approval is personal to the Developer that applied and is not transferable. You may not apply on behalf of, or make the Developer Services available to, any other person except as permitted by Section 8.
## 6. API Keys and Security
6.1. Once approved you may create API Keys in the Developer Console, up to the number shown in the Developer Console. Each API Key is shown in full once, at creation, and is not stored by us in a recoverable form. Each time you create or rotate an API Key you must accept the then-current version of these API Terms.
6.2. API Keys are confidential credentials. You must keep each API Key secret, use it only in server-side software under your control, and never embed it in, or send it from, a web page, browser, mobile application, client-side code, public repository, URL or any other location from which it could be read by a third party. A request bearing an API Key that originates from a browser or other client-side environment is treated by us as evidence that the key has been exposed, and we may revoke that API Key without notice.
6.3. You are responsible for all activity under your API Keys, whether or not authorised by you, including activity by your employees, contractors, affiliates and software agents and activity resulting from an exposed key, until you revoke the key in the Developer Console or we do so. You must notify us at the Support Address immediately on becoming aware that an API Key has been or may have been exposed, and rotate or revoke it.
6.4. You may not share, sell, lease, sublicense or otherwise make an API Key available to any third party, use an API Key issued to another Developer, or attempt to obtain or use an API Key other than through the Developer Console.
## 7. Limits and Fair Use
7.1. Use of the Developer API is subject to rate limits, daily quotas, limits on the number of active API Keys and other limits shown in the Documentation and the Developer Console ("Limits"). Limits are applied per API Key unless otherwise stated. We may set, raise, lower or otherwise change the Limits applicable to any API Key, scope, route or Developer at any time and with immediate effect, including setting any Limit to zero, and a changed Limit applies from the moment it is shown in the Documentation or the Developer Console or signalled in the response headers of the Developer API, whichever is first.
7.2. You must honour the limit, remaining and reset headers and any retry-after instruction returned by the Developer API, and must not attempt to exceed or circumvent any Limit, including by distributing requests across multiple API Keys, Developers, accounts, source addresses or Developers acting in concert.
7.3. You must use the Developer API in a manner that does not place an unreasonable or disproportionate load on the Pump Platform or its infrastructure, as determined by us.
## 8. Licence to API Data and Permitted Use
8.1. Licence. Subject to your compliance with these API Terms, we grant you a limited, non-exclusive, non-transferable, non-sublicensable, revocable licence during the term of these API Terms to retrieve API Data through the Developer API within the scopes and Limits granted to you, and to use, reproduce and display that API Data within your own applications, websites, services, tools and research (your "Application") for the purposes described in your approved application.
8.2. Ownership. As between you and us, the Pump Entities and their licensors own all rights in the Developer Services and the API Data, including Pump's computations, estimates, markers and compilations of data, and User Materials remain subject to the rights of the users who created them. You obtain no rights in the Developer Services or the API Data other than the licence in Section 8.1. The Developer Services and the API Data are Pump IP for the purposes of the Terms of Use.
8.3. Prohibited uses of API Data. You must not, and must not permit any person to:
- a. sell, rent, lease, license, redistribute, syndicate or otherwise make the API Data, or any substantial part of it, available to third parties as a dataset, feed, database or similar product, or otherwise distribute API Data other than as displayed within your Application;
- b. use the Developer API or the API Data to build or offer a service that provides programmatic access to API Data, or that substitutes for or competes with the Developer API or the Pump Platform's public data features;
- c. use API Data, alone or combined with any other information, to identify any person who is not already identified in the API Data, to associate a Wallet address with a natural person, to infer any person's location, identity or characteristics, or to build a profile of any person, or otherwise to de-anonymise, re-identify or profile any user of the Pump Platform;
- d. use API Data to monitor, track, target, harass, intimidate, stalk, defame, discriminate against or cause harm to any person, or for surveillance of any kind;
- e. use API Data, or any output of the Developer API, to train, fine-tune, evaluate, ground, benchmark or otherwise develop any machine-learning, artificial-intelligence or large-language model, or to create embeddings, datasets or corpora for any such purpose; this does not prevent an agent from retrieving API Data through the MCP Server to answer a request at the time it is made, provided the API Data is not retained for any purpose described in this paragraph;
- f. systematically enumerate, crawl or bulk-retrieve API Data, including by iterating over Wallet addresses, user identifiers or usernames, other than as reasonably necessary to serve requests made by users of your Application;
- g. use API Data in a manner that violates Applicable Law, the Terms of Use, the Privacy Notice or any user's rights, including intellectual-property, privacy, publicity and data-protection rights;
- h. use API Data in connection with any Transaction, service or activity in or for the benefit of a Prohibited Jurisdiction or a Sanctioned Person;
- i. remove, obscure or alter any attribution, notice or identifier contained in or accompanying the API Data; or
- j. use the Developer API, the MCP Server or the API Data for any purpose other than the purpose described in your approved application, without first updating your application in the Developer Console.
8.4. Positions and trading data. API Data that reports positions, trades, balances, profit and loss, cost basis, portfolio value or similar figures consists of Pump's estimates derived from the transactions it indexes and the prices it sources. These figures are informational only, are not accounting, tax or financial records, may be incomplete or inaccurate, and must not be presented in your Application as anything other than estimates provided by pump.fun. You must not use such API Data, whether for a single Wallet address or in bulk, to profile, track or target any person, and you must not query Wallet addresses other than as reasonably necessary to serve requests made by users of your Application.
8.5. Third-party content and links. API Data may include or link to content hosted by third parties, including Digital Asset metadata and images hosted at addresses chosen by the creator of the Digital Asset and images and profile links from third-party social networks. We do not host, control, endorse or take responsibility for that content, which may be subject to its owner's terms. You are solely responsible for your retrieval, display and use of third-party content.
8.6. Moderation Scope. If we grant you the Moderation Scope, you may use the information it returns solely to hide, exclude or de-rank Wallet addresses within your Application so that your Application is consistent with the Pump Platform. You must not display, publish or communicate to any person that a particular Wallet address or user is or has been restricted, banned or sanctioned by pump.fun, must not use that information for any other decision about or treatment of any person, and must not store it for longer than 24 hours. We may withdraw the Moderation Scope at any time.
8.7. Caching, deletions and takedowns. You may cache API Data only as reasonably necessary to operate your Application and for no longer than 24 hours from retrieval (the "Cache Window"), after which you must re-retrieve it from the Developer API or discard it. User Materials and other API Data may be removed from the Pump Platform at any time, including because a user deletes content or an account or because we restrict a user or Wallet address, and the Developer API will stop returning that API Data without notice to you. You must ensure that any API Data that is no longer returned by the Developer API is removed from your Application and your systems no later than the end of the Cache Window, and within 24 hours after we notify you that specific API Data is to be removed. Nothing in this Section 8.7 permits you to retain API Data for a purpose prohibited by Section 8.3.
8.8. Monitoring and audit. We may monitor your use of the Developer Services, and may require you to provide information about your Application and your use of API Data, to verify compliance with these API Terms. You must respond to any such request within ten (10) Business Days.
## 9. Licence to the SDK and Documentation; Feedback
9.1. Subject to your compliance with these API Terms, we grant you a limited, non-exclusive, non-transferable, non-sublicensable, revocable licence during the term of these API Terms to use, reproduce and modify the SDK and the Documentation solely to develop and operate your Application in accordance with these API Terms.
9.2. If you provide us with any suggestions, ideas, feedback or other input about the Developer Services ("Feedback"), you grant the Pump Entities a perpetual, irrevocable, worldwide, royalty-free, sublicensable licence to use and exploit the Feedback for any purpose without obligation to you.
## 10. Your Application and End Users
10.1. You are solely responsible for your Application, including its content, operation, security, legality and compliance with Applicable Law, and for the acts and omissions of its users ("End Users"). You must ensure that your Application and your End Users' use of it comply with these API Terms, the Terms of Use and the Privacy Notice to the same extent as if your End Users were bound by them directly, and you must not permit any End User to do anything that you may not do under these API Terms.
10.2. You must not represent or imply that your Application is created, operated, endorsed, sponsored or certified by, or affiliated with, any Pump Entity or the Pump Platform, or that you have any status with the Pump Entities beyond that of a Developer using the Developer API under these API Terms. Any use of the names, logos or other trade marks of the Pump Entities must comply with the Trademark Guidelines.
10.3. Attribution. Wherever your Application displays API Data you must identify pump.fun as the source of that data in a manner reasonably prominent to End Users (for example "Data from pump.fun"), in accordance with any attribution requirements in the Documentation and the Trademark Guidelines.
10.4. Your Application must not be used for, and must not facilitate, any activity prohibited by Section 21 of the Terms of Use or Section 8.3 of these API Terms, and must not be marketed or made available in or to a Prohibited Jurisdiction or a Sanctioned Person.
10.5. You must publish and comply with a privacy notice for your Application that accurately describes your collection, use and disclosure of Personal Data, including API Data, and complies with Applicable Law.
## 11. Data Protection
11.1. API Data includes Personal Data relating to users of the Pump Platform. In retrieving, storing and using API Data you act as an independent controller (or the equivalent under Applicable Law) of that Personal Data and not as a processor on our behalf. You are solely responsible for determining and documenting a lawful basis for your processing of API Data, for providing any notices required by Data Protection Law, for honouring the rights of data subjects, for implementing appropriate security measures and for complying with all Data Protection Law applicable to your processing, including in respect of any transfer of API Data to another country.
11.2. Without limiting Section 8.3, you must not process API Data in a manner that is incompatible with the purposes for which users made the information public on the Pump Platform, must not combine API Data with other data in order to identify, profile or target any person, and must not process API Data for direct marketing to any person.
11.3. If we receive a request from a data subject, a Regulatory Authority or a court that relates to Personal Data you hold as a result of the Developer Services, you must give us reasonable assistance, and must give effect to any deletion or restriction we notify to you, within the time stated in Section 8.7 or such shorter time as Applicable Law requires.
11.4. You must notify us at the Support Address without undue delay, and in any event within 48 hours, after becoming aware of any unauthorised access to, or loss, disclosure or misuse of, API Data in your possession or control.
11.5. Our processing of Personal Data in connection with the Developer Services, including the Personal Data of the individuals who act for the Developer, is described in the Privacy Notice.
## 12. Fees
12.1. The Developer Services are currently provided without charge. We may introduce fees for some or all of the Developer Services, or for usage above stated Limits, at any time by publishing the fees in the Documentation or the Developer Console. Where we introduce or change a fee that would apply to you, we will notify you at your verified contact email or in the Developer Console before the fee takes effect, and your continued use of the fee-bearing Developer Service after that date is your agreement to pay the fee.
12.2. Any fees are stated and payable in the currency and by the means specified in the Documentation or the Developer Console, exclusive of taxes, and are non-refundable except as required by Applicable Law.
## 13. Changes to the Developer Services and to these API Terms
13.1. Changes to the Developer Services. We may change the Developer Services at any time. Changes that we consider additive (such as new routes, fields, parameters or error codes) may be made without notice. Changes that we consider breaking will be made in accordance with the versioning and deprecation policy published in the Documentation at [https://docs.pump.fun/versioning-and-deprecation](https://docs.pump.fun/versioning-and-deprecation), as updated from time to time, under which a route affected by a breaking change continues to respond for the period stated in that policy after we announce the change. Our characterisation of a change as additive or breaking is final. You are responsible for monitoring the Documentation, the Developer Console and the response headers of the Developer API for changes.
13.2. Discontinuance. We may suspend, withdraw or discontinue the Developer Services, any Developer Service or any scope or route, in whole or in part, at any time, with such notice (if any) as we consider commercially reasonable in the circumstances. We have no liability to you or any End User for any change to, or suspension, withdrawal or discontinuance of, the Developer Services.
13.3. Changes to these API Terms. We may amend these API Terms at any time by publishing the amended API Terms in the Developer Console or at the address where these API Terms are published and updating the "Last Updated" date. Amendments take effect on publication, except that where an amendment materially reduces your rights we will notify you at your verified contact email or in the Developer Console before it takes effect. Your continued access to or use of the Developer Services after an amendment takes effect, and any acceptance you indicate in the Developer Console, constitute your agreement to the amended API Terms. If you do not agree to an amendment you must stop using the Developer Services and revoke your API Keys.
## 14. Suspension and Termination
14.1. Term. These API Terms take effect when you first accept them and continue until terminated in accordance with this Section 14.
14.2. By you. You may terminate these API Terms at any time by revoking all of your API Keys and ceasing to use the Developer Services, or by notifying us at the Support Address.
14.3. By us. We may suspend or terminate your access to the Developer Services, any Developer Service, any API Key or any scope, or suspend, restrict or terminate the Developer, at any time, with or without notice and with immediate effect, including where we believe that you or your Application has breached these API Terms, the Terms of Use or Applicable Law, poses a security, legal, regulatory or reputational risk to any Pump Entity or any user, has not used the Developer Services for an extended period, or where we are required to do so by Applicable Law or a Regulatory Authority, or where we discontinue the Developer Services under Section 13.2. We are not obliged to give reasons.
14.4. Effect. On termination of these API Terms, or on termination or revocation of any API Key or scope: all licences granted to you under these API Terms in respect of the terminated Developer Services end immediately; you must stop using the affected Developer Services; you must, within thirty (30) days, delete all API Data in your possession or control, other than aggregated and anonymised information derived from API Data that does not identify any user, Wallet address or User Materials and contains no API Data; and on our request you must confirm that deletion in writing. We may retain the records described in the Privacy Notice after termination.
14.5. Survival. Sections 1, 3, 8.2, 8.3, 8.4, 8.6, 8.7 (as to data retained in breach), 9.2, 10, 11, 14.4, 14.5 and 15 to 22, and any other provision which by its nature is intended to survive, survive termination of these API Terms.
## 15. Representations and Warranties
In addition to the representations and warranties incorporated by Section 3.1, you represent and warrant to the Pump Entities on each day on which you use the Developer Services that: (a) you have the power and authority to enter into and perform these API Terms; (b) your use of the Developer Services and your Application comply, and will comply, with these API Terms and Applicable Law; (c) you have obtained and will maintain all rights, consents and registrations necessary to operate your Application and to process API Data as you do; and (d) you are not, and no person who Controls you is, a Sanctioned Person or located in a Prohibited Jurisdiction.
## 16. Disclaimers
16.1. THE DEVELOPER SERVICES AND THE API DATA ARE PROVIDED "AS IS" AND "AS AVAILABLE", WITHOUT WARRANTY OF ANY KIND. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THE PUMP ENTITIES DISCLAIM ALL WARRANTIES, CONDITIONS AND REPRESENTATIONS, EXPRESS, IMPLIED OR STATUTORY, INCLUDING ANY WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE, NON-INFRINGEMENT, ACCURACY, COMPLETENESS, TIMELINESS, AVAILABILITY OR UNINTERRUPTED OR ERROR-FREE OPERATION.
16.2. We do not commit to any level of availability, latency, throughput or support for the Developer Services. The Developer Services run on the same infrastructure as the Pump Platform and may be paused, throttled or taken offline, in whole or in part, at any time. No service level agreement applies.
16.3. API Data is User Materials and other information made public by users of the Pump Platform, information derived from public blockchains and Pump's estimates derived from them. The Pump Entities do not verify, endorse or take responsibility for API Data, which may be inaccurate, incomplete, out of date, unlawful, offensive or infringing. Nothing in the API Data is investment, financial, legal or tax advice or a recommendation or endorsement of any Digital Asset, user or Wallet.
16.4. Section 23 of the Terms of Use (Technology Disclaimers) applies to the Developer Services.
## 17. Limitation of Liability
17.1. Section 25 of the Terms of Use applies to these API Terms, except that, in place of any monetary cap stated in Section 25 of the Terms of Use, and to the maximum extent permitted by Applicable Law, the aggregate liability of the Pump Entities and their affiliates, officers, directors, employees, agents and licensors to you and your End Users, in contract, tort (including negligence), breach of statutory duty or otherwise, arising out of or in connection with these API Terms or the Developer Services shall not exceed one hundred United States dollars (US$100).
17.2. To the maximum extent permitted by Applicable Law, the Pump Entities shall have no liability for any loss of profits, revenue, business, goodwill, data or anticipated savings, for the cost of substitute services, for any change to or unavailability, suspension or discontinuance of the Developer Services, for any inaccuracy in or removal of API Data, or for any indirect, consequential, special, exemplary or punitive loss or damage, in each case however arising and even if foreseeable or advised of the possibility.
17.3. Nothing in these API Terms excludes or limits any liability that cannot be excluded or limited under Applicable Law.
## 18. Indemnity
You shall indemnify, defend and hold harmless the Pump Entities and their affiliates, officers, directors, employees, agents and licensors from and against all claims, demands, proceedings, losses, liabilities, damages, costs and expenses (including reasonable legal fees) arising out of or in connection with: (a) your Application, including its content, operation and availability and any End User's use of it; (b) your or your End Users' access to or use of the Developer Services or the API Data; (c) your processing of Personal Data contained in API Data, including any claim by a data subject or Regulatory Authority; (d) any breach of these API Terms, the Terms of Use or Applicable Law by you or any person acting under your API Keys; or (e) any claim that your Application or your use of API Data infringes or misappropriates the rights of any third party. Section 24 of the Terms of Use applies in addition to, and not in place of, this Section 18.
## 19. Governing Law and Dispute Resolution
These API Terms, and any Dispute arising out of or in connection with them or the Developer Services, are governed by the laws of the British Virgin Islands and are subject to the mandatory binding arbitration agreement and class action waiver in Section 27 of the Terms of Use, each as incorporated by Section 3.1. Dispute Notices under Section 27.2 of the Terms of Use must be sent to the addresses in Section 20.2.
## 20. Notices and Support
20.1. We may give you notice under these API Terms by email to the contact email you have verified in the Developer Console, by a message in the Developer Console, or by publication in the Documentation. Notice is effective when sent or published. You must keep your contact email current and monitor it and the Developer Console.
20.2. Formal legal notices to us (including Dispute Notices) must be sent by email to [legal@pump.fun](mailto:legal@pump.fun) and by post to Baton Corporation, Ltd., 82a James Carter Road, Mildenhall, Bury St. Edmunds, England, IP28 7DE, marked for the attention of the Legal Department.
20.3. Questions about the Developer Services, reports of exposed API Keys and security notifications under Section 11.4 should be sent to [developers@pump.fun](mailto:developers@pump.fun) (the "Support Address"). We may, but are not obliged to, respond to support requests.
## 21. General
21.1. Export and sanctions. You must comply with all applicable export-control and sanctions laws in connection with the Developer Services and must not export, re-export or provide the Developer Services, the SDK or the API Data to any Prohibited Jurisdiction or Sanctioned Person or for any prohibited end use.
21.2. Assignment. You may not assign, transfer, sublicense or delegate any of your rights or obligations under these API Terms without our prior written consent. We may assign or transfer these API Terms, in whole or in part, to any Pump Entity or to a successor to the relevant business without notice to you.
21.3. Entire agreement. These API Terms, together with the documents incorporated by Section 3, constitute the entire agreement between you and the Pump Entities in relation to the Developer Services and supersede all prior agreements, communications and understandings relating to their subject matter.
21.4. Third-party rights. Each Pump Entity may enforce these API Terms. Subject to that, no person other than the parties has any right to enforce any provision of these API Terms.
21.5. Section 29 of the Terms of Use (General Terms), including its provisions on severability, waiver, force majeure, language and interpretation, applies to these API Terms.
## 22. Definitions
In these API Terms, in addition to the terms defined above and in the Terms of Use:
"API Key" means a credential issued through the Developer Console that authenticates requests to the Developer API, together with any replacement issued on rotation.
"Business Day" means a day other than a Saturday, Sunday or public holiday in England.
"Control" has the meaning given in the Terms of Use, and "Controls" is construed accordingly.
"Developer API" means the programmatic interface made available by Pump at [https://api.pump.fun](https://api.pump.fun) and any successor address, including every version, route and scope of it.
"Developer Console" has the meaning given in Section 4.3.
"Documentation" means the documentation for the Developer Services published by Pump, currently at [https://docs.pump.fun](https://docs.pump.fun), including the API reference, the published Limits and the versioning and deprecation policy, as updated from time to time.
"MCP Server" has the meaning given in Section 4.5.
"Sanctioned Person" means any person that is the subject or target of sanctions administered or enforced by the United States of America, the United Kingdom, the European Union or the United Nations, or that is owned or controlled by, or acting on behalf of, any such person.
"SDK" has the meaning given in Section 4.6.
"Support Address" has the meaning given in Section 20.3.
---
# Versioning and deprecation
The /v1 contract, what counts as a breaking change, and the 90-day deprecation headers.
## The `/v1` contract
The base URL is `https://api.pump.fun/v1`. The version lives in the path and will stay `v1` for as long as the routes below keep their request and response shapes. The OpenAPI document at [`/openapi.public.json`](/openapi.public.json) is the contract. (Its `info.version` is the version of the contract release the document was published under, the same number as the `public-api-spec-v` release that carries it, not the API version; the API version is the path prefix.)
### Changes that ship without notice (additive)
- New routes, new optional query parameters, new optional request-body fields.
- New fields in responses. **Ignore fields you do not know**; do not fail on them.
- New values in open sets (for example a new `kind` on a profile) where the reference marks the set as open.
- New error codes on existing status codes.
### Changes that require a deprecation period (breaking)
- Removing a route, a parameter or a response field.
- Changing a field's type or making an optional field required.
- Narrowing or renaming values in a closed enum.
A breaking change to a route is shipped as a **new route** (or a new parameter form) alongside the old one; the old one is then deprecated.
## Deprecation: 90 days minimum
A deprecated route keeps working for **at least 90 days** after the announcement. During that time it answers with up to three extra headers, on every response including errors:
| Header | Example | Meaning |
| --- | --- | --- |
| `Deprecation` | `Deprecation: @1775001600` | When the deprecation was announced: `@` followed by the Unix time in seconds of midnight UTC on that day ([RFC 9745](https://www.rfc-editor.org/rfc/rfc9745)). |
| `Sunset` | `Sunset: Tue, 30 Jun 2026 00:00:00 GMT` | The earliest date after which the route may be removed, as an HTTP-date ([RFC 8594](https://www.rfc-editor.org/rfc/rfc8594)). Always 90 or more days after `Deprecation`. |
| `Link` | `Link: ; rel="successor-version"` | The replacement route, when there is one ([RFC 8288](https://www.rfc-editor.org/rfc/rfc8288)). Absent when the route has no successor. The target is a path on the API origin, `/v1` prefix included, with the path parameters of your request filled in; a successor on another host is given as an absolute URL. |
The OpenAPI document reflects it: the operation is marked `deprecated: true`, carries `x-deprecation-since` and `x-sunset` (ISO dates) and, when there is a replacement, `x-successor` (the replacement route as `METHOD /path`, or an absolute URL), and its success responses list the `Deprecation`, `Sunset` and `Link` headers. Watch for `deprecated` in the document or for the `Deprecation` header in your responses: both are machine-readable and change before anything stops working.
No route is deprecated today.
## How to stay informed
- The OpenAPI document is refreshed whenever the API changes; diff it on a schedule if you generate code from it.
- Questions about a deprecation go to [developers@pump.fun](mailto:developers@pump.fun) (see [Status and support](/status-and-support/)).
- Metrics on the API side show which keys still call a deprecated route; if yours does, expect to be contacted before the sunset date.
---
# API reference
Base URL: https://api.pump.fun/v1 (Production)
## Scope `profiles.read` (13 operations)
User profiles, lookups and search.
### POST /achievements/overlays
Top badge ids for a batch of avatars
Request body: JSON (see the OpenAPI document for the schema).
Scope: `profiles.read`. Errors: 401, 403, 429, 503 in the shared envelope.
### POST /profiles/generated-media
Verified badge plus generated share media
Verified badge plus generated share media (PnL loop, replay intro) for a list of wallets or user ids
Request body: JSON (see the OpenAPI document for the schema).
Scope: `profiles.read`. Errors: 401, 403, 429, 503 in the shared envelope.
### GET /profiles/verified
The ten top daily PnL leaders
The ten top daily PnL leaders (the onboarding follow suggestions)
Scope: `profiles.read`. Errors: 401, 403, 429, 503 in the shared envelope.
### POST /profiles/verified
Verified status for a list of wallets or user ids
Verified (KOL/influencer badge) status for a list of wallets or user ids
Request body: JSON (see the OpenAPI document for the schema).
Scope: `profiles.read`. Errors: 401, 403, 429, 503 in the shared envelope.
### GET /search/resolve
Classify 1-5 identifiers in one hop
Classify 1-5 identifiers in one hop: what each one is, which chain it is on, and the coin or account payload
Parameters:
- `identifiers` (query, required, array): Comma-separated identifiers, each at most 326 characters (repeated and mixed forms parse identically): a coin address (mint, bonding curve or pool), a Solana wallet, an EVM address, a TON token address, a NEAR or Starknet token address, a Sui coin type 0x:::: or a Sui object id (0x plus 64 hex: a pool, package or wallet) (a 0x plus 40-hex address is always EVM), or a pump.fun user id
Scope: `profiles.read`. Errors: 401, 403, 429, 503 in the shared envelope.
### GET /users
List users
Parameters:
- `sort` (query, string)
- `order` (query, string)
- `offset` (query, integer)
- `limit` (query, integer)
Scope: `profiles.read`. Errors: 401, 403, 429, 503 in the shared envelope.
### GET /users/{address}/achievements
A user's achievement unlocks plus live progress on…
A user's achievement unlocks plus live progress on every track. Unlock facts are public-profile data; `seen` is viewer-relative, served only to the signed-in owner and absent on the API host.
Parameters:
- `address` (path, required, string)
Scope: `profiles.read`. Errors: 401, 403, 429, 503 in the shared envelope.
### GET /users/{address}/callout-stats
A user's callout performance stats
A user's callout performance stats (peak-multiple hit rates, averages, time to peak, distribution), every window (daily/weekly/monthly/allTime, plus lastRound = callouts created between the two newest executed payout round cuts) in one response; optional pool=v1|v2 scopes them to one reward pool's callouts. Public like the callout list itself — derived from publicly visible callouts.
Parameters:
- `address` (path, required, string)
- `pool` (query, string: v1 | v2): Which callouts the stats cover; absent = every callout (the stats served before this param). v2 = only the user's callouts eligible for the Diamond pot under the latest payout round's rule (the callouts whose GET /callout/list rewardPools carries 'v2'); v1 = every callout, since every callout counts for V1. 502 while the upstream cannot serve the V2 stats yet, never the fail-open empty shape.
Scope: `profiles.read`. Errors: 401, 403, 429, 503 in the shared envelope.
### GET /users/{id}
Get a user by wallet address or user id
Parameters:
- `id` (path, required, string)
Scope: `profiles.read`. Errors: 401, 403, 429, 503 in the shared envelope.
### GET /users/{id}/overview
The profile header in one read
The profile header in one read: profile row, follow counts, verified and achievement badges, ban state, created-coins count and, for a signed-in viewer, the viewer-relative follow, DM and mutuals state. a wallet with none is served as an external wallet.
Parameters:
- `id` (path, required, string): Echoed back as address
Scope: `profiles.read`. Errors: 401, 403, 429, 503 in the shared envelope.
### POST /users/batch
Fetch users by addresses in batch
Request body: JSON (see the OpenAPI document for the schema).
Scope: `profiles.read`. Errors: 401, 403, 429, 503 in the shared envelope.
### GET /users/search-v2
Search users
Search users (v2)
Parameters:
- `searchTerm` (query, string)
- `offset` (query, integer)
- `limit` (query, integer)
- `sort` (query, string)
- `order` (query, string)
- `includeLabelledWallets` (query, boolean)
- `surface` (query, string: search | squad_invite): The people-search surface the page is shown on: `search` (the search preview and its See-all people list) or `squad_invite` (the squad invite picker). Only a page requested with a surface is recorded as a result set, every account row stamped with recommendation_id and recommendation_rank, and sessionId and deviceId are read only alongside it; the order is the default search order either way, and without a surface the page is unstamped
- `sessionId` (query, string): The client's session id, recorded with the result set the page is served in. Read only alongside surface
- `deviceId` (query, string): Persisted install/device id, the value analytics events stamp as deviceId, recorded with the result set the page is served in. Read only alongside surface
Scope: `profiles.read`. Errors: 401, 403, 429, 503 in the shared envelope.
### GET /users/username-exists/{username}
Check if a username exists
Parameters:
- `username` (path, required, string)
Scope: `profiles.read`. Errors: 401, 403, 429, 503 in the shared envelope.
## Scope `graph.read` (17 operations)
Follow graph, likers, reposters and group membership.
### GET /callout/{calloutId}/likers
List the profiles who liked a callout
Parameters:
- `calloutId` (path, required, string)
- `limit` (query, integer)
- `offset` (query, integer)
Scope: `graph.read`. Errors: 401, 403, 429, 503 in the shared envelope.
### GET /callout/{calloutId}/reposters
List the profiles who reposted a callout
Parameters:
- `calloutId` (path, required, string)
- `limit` (query, integer)
- `offset` (query, integer)
Scope: `graph.read`. Errors: 401, 403, 429, 503 in the shared envelope.
### GET /callout/replies/{replyId}/likers
List the profiles who liked a callout reply
Parameters:
- `replyId` (path, required, string)
- `limit` (query, integer)
- `offset` (query, integer)
Scope: `graph.read`. Errors: 401, 403, 429, 503 in the shared envelope.
### GET /callout/replies/{replyId}/reposters
List the profiles who reposted a callout reply
Parameters:
- `replyId` (path, required, string)
- `limit` (query, integer)
- `offset` (query, integer)
Scope: `graph.read`. Errors: 401, 403, 429, 503 in the shared envelope.
### GET /following/single/{id}
Get a single follow relationship
Parameters:
- `id` (path, required, string)
- `userId` (query, required, string)
Scope: `graph.read`. Errors: 401, 403, 429, 503 in the shared envelope.
### GET /following/v3/followers/{userId}
One page of a user's followers
Parameters:
- `userId` (path, required, string)
- `limit` (query, integer): Page size, default 20. Out-of-range values are rejected with 400, not clamped.
- `offset` (query, integer): 0-indexed offset into the sorted list, default 0
- `sort` (query, string: followers | recent): Row order: `followers` (default) is most-followed first, `recent` is newest follow edge first.
- `pnlPeriod` (query, string: daily | weekly | monthly | all): PnL-leaderboard window the plain-list rows pnlRanked/pnlUsd are stamped from: daily (default), weekly, monthly or all.
Scope: `graph.read`. Errors: 401, 403, 429, 503 in the shared envelope.
### GET /following/v3/followers/count/{userId}
Get a user follower count
Get a user follower count (v3)
Parameters:
- `userId` (path, required, string)
Scope: `graph.read`. Errors: 401, 403, 429, 503 in the shared envelope.
### GET /following/v3/followers/search/{userId}
Search within a user's followers
Parameters:
- `userId` (path, required, string)
- `searchTerm` (query, required, string): Search term, relevance-ranked; trimmed. Fewer than 2 characters after trimming answers [] without a search. Longer than 50 characters is a 400.
- `limit` (query, integer): Page size, default 20. Out-of-range values are rejected with 400, not clamped.
- `offset` (query, integer): 0-indexed offset into the ranked matches, default 0
Scope: `graph.read`. Errors: 401, 403, 429, 503 in the shared envelope.
### GET /following/v3/following/{userId}
One page of the users a user is following
Parameters:
- `userId` (path, required, string)
- `limit` (query, integer): Page size, default 20. Out-of-range values are rejected with 400, not clamped.
- `offset` (query, integer): 0-indexed offset into the sorted list, default 0
- `sort` (query, string: followers | recent): Row order: `followers` (default) is most-followed first, `recent` is newest follow edge first.
- `pnlPeriod` (query, string: daily | weekly | monthly | all): PnL-leaderboard window the plain-list rows pnlRanked/pnlUsd are stamped from: daily (default), weekly, monthly or all.
Scope: `graph.read`. Errors: 401, 403, 429, 503 in the shared envelope.
### GET /following/v3/following/count/{userId}
Get a user following count
Get a user following count (v3)
Parameters:
- `userId` (path, required, string)
Scope: `graph.read`. Errors: 401, 403, 429, 503 in the shared envelope.
### GET /following/v3/following/search/{userId}
Search within the users a user is following
Parameters:
- `userId` (path, required, string)
- `searchTerm` (query, required, string): Search term, relevance-ranked; trimmed. Fewer than 2 characters after trimming answers [] without a search. Longer than 50 characters is a 400.
- `limit` (query, integer): Page size, default 20. Out-of-range values are rejected with 400, not clamped.
- `offset` (query, integer): 0-indexed offset into the ranked matches, default 0
Scope: `graph.read`. Errors: 401, 403, 429, 503 in the shared envelope.
### GET /groups/{groupId}/members
A page of a group's members, owner first
A page of a group's members, owner first (the INVITED view is owner/admin-only)
Parameters:
- `groupId` (path, required, string)
- `status` (query, string: INVITED | ACTIVE): Omitted matches every status
- `limit` (query, integer)
- `offset` (query, integer)
Scope: `graph.read`. Errors: 401, 403, 429, 503 in the shared envelope.
### GET /groups/{groupId}/members/pnl
The group's active members ranked by windowed PnL
The group's active members ranked by windowed PnL (members tab); empty rows when no fold is published
Parameters:
- `groupId` (path, required, string)
- `period` (query, required, string: 1d | 1w | 1m)
Scope: `graph.read`. Errors: 401, 403, 429, 503 in the shared envelope.
### GET /pnl-leaderboard/follow-suggestions
Get follow suggestions sampled from the PNL leaderboard
Parameters:
- `limit` (query, integer): Default 5, capped at 25
Scope: `graph.read`. Errors: 401, 403, 429, 503 in the shared envelope.
### GET /pnl-leaderboard/onboarding-suggestions
Get the scored, sampled follow suggestions for the…
Get the scored, sampled follow suggestions for the mobile onboarding step
Parameters:
- `limit` (query, integer): Default 10, capped at 25
Scope: `graph.read`. Errors: 401, 403, 429, 503 in the shared envelope.
### GET /posts/{postId}/likers
Profiles who liked a post, newest like first…
Profiles who liked a post, newest like first, offset-paginated; viewerFollows stamped when signed in. 404 unless the post is live.
Parameters:
- `postId` (path, required, string)
- `limit` (query, integer): Page size; default 50, clamped to 200
- `offset` (query, integer): Offset paging (no keyset on this read); default 0
Scope: `graph.read`. Errors: 401, 403, 429, 503 in the shared envelope.
### GET /posts/{postId}/reposters
Profiles who plain-reposted a post, newest first…
Profiles who plain-reposted a post, newest first, offset-paginated; viewerFollows stamped when signed in. 404 unless the post is live.
Parameters:
- `postId` (path, required, string)
- `limit` (query, integer): Page size; default 50, clamped to 200
- `offset` (query, integer): Offset paging (no keyset on this read); default 0
Scope: `graph.read`. Errors: 401, 403, 429, 503 in the shared envelope.
## Scope `content.read` (18 operations)
Callouts, replies, posts and public feeds.
### GET /callout/{calloutId}
Get a callout by id with its author identity
Parameters:
- `calloutId` (path, required, string)
Scope: `content.read`. Errors: 401, 403, 429, 503 in the shared envelope.
### GET /callout/{calloutId}/quotes
List quote posts of a callout
Parameters:
- `calloutId` (path, required, string)
- `limit` (query, integer)
- `offset` (query, integer)
Scope: `content.read`. Errors: 401, 403, 429, 503 in the shared envelope.
### GET /callout/{calloutId}/replies
List replies on a callout
Parameters:
- `calloutId` (path, required, string)
- `limit` (query, integer)
- `beforeId` (query, string): Keyset cursor.
- `page` (query, integer): Offset page for POSITION walks (rank has no keyset)
- `filter` (query, string: ALL | EXCLUDE_AUTHOR | AUTHOR_ONLY)
- `sort` (query, string: RECENCY | POSITION | PNL)
- `parentReplyId` (query, string): Page one reply's direct children instead of the callout's top level
- `nestedLimit` (query, integer): Hydrate up to N newest preview children per row.
Scope: `content.read`. Errors: 401, 403, 429, 503 in the shared envelope.
### GET /callout/{calloutId}/tailers
List the wallets that tailed a callout
Parameters:
- `calloutId` (path, required, string)
- `limit` (query, integer)
- `offset` (query, integer)
Scope: `content.read`. Errors: 401, 403, 429, 503 in the shared envelope.
### GET /callout/coin/{coin}
List top callouts on a coin
List top callouts on a coin (legacy shape); chain=hlcore:* reads perp callouts by HyperCore coin name
Parameters:
- `coin` (path, required, string): A base58 or EVM mint, or with an hlcore chain the HyperCore coin name verbatim (BTC, kPEPE, xyz:TSLA; case-sensitive), or with ton:-239 the friendly EQ... jetton master, or with near:mainnet the token account id, or with starknet:SN_MAIN the 0x felt token address, or with polymkt:137 the condition id, or with sui:mainnet the Move coin type
- `chain` (query, string): CAIP-2 chain; hlcore keeps only that chain perp rows, ton:-239 only TON rows, near:mainnet only NEAR rows, starknet:SN_MAIN only Starknet rows, polymkt:137 only prediction rows (400 while prediction callouts are not enabled), sui:mainnet only Sui rows (400 while Sui callouts are not enabled), absent or solana/eip155 keeps only token rows
- `limit` (query, integer): Default 50.
- `scope` (query, string: event): With chain polymkt:137, event lists the callouts on every market of the event the coin (a condition id) belongs to, each row naming its own market; absent lists that market alone. Ignored on every other chain
Scope: `content.read`. Errors: 401, 403, 429, 503 in the shared envelope.
### GET /callout/leaderboard-stats/{userId}
Get leaderboard stats for a user
Parameters:
- `userId` (path, required, string)
Scope: `content.read`. Errors: 401, 403, 429, 503 in the shared envelope.
### GET /callout/list/{userId}
List callouts for a user
List callouts for a user (legacy shape). Optional window=daily|weekly|monthly|last_round re-scopes to the stats-strip windows; optional pool=v1|v2 lists one reward pool's callouts; re-send both with every pageToken request.
Parameters:
- `userId` (path, required, string)
- `limit` (query, integer)
- `sortBy` (query, string: TIMESTAMP | MULTIPLE | PAID): Optional with an API key. A request without an API key must send it on every page: once automatedClientQueryReject is live, an unkeyed request that omits sortBy or sortOrder is refused 403 Client not allowed. PAID orders by what each callout paid its author in callout rewards (the row's paidV1Usd, or paidV2Usd under pool=v2), highest first, the unpaid tail newest first.
- `sortOrder` (query, string: ASC | DESC): Optional with an API key. A request without an API key must send it on every page: once automatedClientQueryReject is live, an unkeyed request that omits sortBy or sortOrder is refused 403 Client not allowed
- `pageToken` (query, string)
- `window` (query, string): Case-insensitive and trimmed (daily, WEEKLY, " monthly " all accepted): daily|weekly|monthly re-scope to the stats-strip windows; last_round = callouts created between the two newest executed payout round cuts; alltime, empty and omitted all mean full history
- `includeMembers` (query, boolean): Squad id only: true lists the squad's own posts plus every active member's, newest first ignored on a person id, except that includeMembers with a sortBy other than TIMESTAMP is a 400 on any id. Re-send it with every pageToken request.
- `pool` (query, string: v1 | v2): Which reward pool's callouts the page lists; absent = every callout (the list served before this param). v2 = only the callouts whose rewardPools carries 'v2' (the Diamond pot), filtered upstream before paging so limit and pageToken page exactly over them, with sortBy, window and includeMembers keeping their meaning; v1 = every callout, since every callout counts for V1. v2 is an empty page while no payout round has recorded a V2 rule. Re-send it with every pageToken request. 503 when the upstream cannot read the V2 rule.
Scope: `content.read`. Errors: 401, 403, 429, 503 in the shared envelope.
### GET /callout/replies/{replyId}/chain
Get a reply's ancestor chain up to its callout
Parameters:
- `replyId` (path, required, string)
Scope: `content.read`. Errors: 401, 403, 429, 503 in the shared envelope.
### GET /callout/replies/list/{userId}
List a user's callout replies with thread context
List a user's callout replies with thread context. filter (ALL|REPLIES|QUOTES) narrows to plain replies or quote posts; omitted = ALL, the interleaved list.
Parameters:
- `userId` (path, required, string)
- `limit` (query, integer)
- `beforeId` (query, string): Keyset cursor: a reply id from a previous page
- `filter` (query, string: ALL | REPLIES | QUOTES)
- `includeMembers` (query, boolean): Squad id only: true lists the squad's own posts plus every active member's, newest first (TIMESTAMP sort only on the callouts read); ignored on a person id. Re-send it with every beforeId request.
Scope: `content.read`. Errors: 401, 403, 429, 503 in the shared envelope.
### GET /callout/reposts/list/{userId}
List a user's reposts
Parameters:
- `userId` (path, required, string)
- `limit` (query, integer)
- `cursor` (query, string): Opaque keyset cursor from the previous page's nextCursor
- `includeQuotes` (query, boolean): Interleaves the user's quotes as kind='quote' rows; absent/false serves plain reposts only
Scope: `content.read`. Errors: 401, 403, 429, 503 in the shared envelope.
### GET /callout/user/{userId}/mint/{coinMint}
Get a user callout for a coin
Get a user callout for a coin (legacy shape); quotesLimit adds the callout-sheet carousel quotes
Parameters:
- `userId` (path, required, string)
- `coinMint` (path, required, string)
- `quotesLimit` (query, integer): Absent or 0 = callout only. Sent by the app only: once automatedClientParamReject is live, an unkeyed request without x-pump-source APP that carries it, or whose {userId} is a UUID with an uppercase hex digit, is refused 403 Client not allowed
- `chain` (query, string): ton:-239 (TON mainnet): {coinMint} must then be the CRC-checked 48-char bounceable EQ jetton master. starknet:SN_MAIN (Starknet mainnet): {coinMint} must then be a 0x felt address (0x + 1..64 hex), read and echoed as its canonical 0x + 64 lowercase form. polymkt:137 (Polymarket, while prediction callouts are enabled): {coinMint} must then be the condition id (0x + 64 hex), read and echoed lowercase. sui:mainnet (Sui mainnet, while Sui callouts are enabled): {coinMint} must then be a plain Move coin type (0x::::), read with the package padded to 0x + 64 lowercase. A malformed chain answers the eligibility route body; any other well-formed chain is a 400
- `lifecycleId` (query, string): A perp position row's perp.lifecycleId (opaque): serve only the user's callout on that lifecycle, i.e. the one pinned to it, else an unpinned open callout created at or after it opened; callout null when there is none. Absent = the user's best callout on the coin (today).
Scope: `content.read`. Errors: 401, 403, 429, 503 in the shared envelope.
### GET /feed/video-feed
Get the curated video feed
Scope: `content.read`. Errors: 401, 403, 429, 503 in the shared envelope.
### GET /home-feed
Get the paginated home feed of trending coins and…
Get the paginated home feed of trending coins and callout positions
Parameters:
- `page` (query, integer)
- `pageSize` (query, integer)
- `pageToken` (query, string): Opaque continuation token from a previous response's nextPageToken; an unrecognized value serves a fresh first batch
- `forceRefresh` (query, boolean): Pull-to-refresh: skip the short ranking response cache and start the walk over
- `chain` (query, string: all | solana | ethereum | base | bsc | robinhood | hyperevm | ink | arc | megaeth | xlayer | monad | polygon | arbitrum | avalanche | optimism | sei | ton | near | starknet | elysium | tron | unichain | mantle | plasma | cronos | sonic | berachain | celo | sui): Unset or 'all' = every supported chain
- `chains` (query, array): Comma-separated feed chains merged into one page and one cursor: each chain's own ranking, interleaved by rank, so every requested chain with rows appears. Exclusive with chain (400 when both are sent); one slug behaves exactly like chain=.
- `minMarketCapUsd` (query, number): Serve only positions in coins whose CURRENT market cap is >= this USD; applied before ranking, so a banded page still fills. Coins with no known market cap drop while either bound is set, except rows exempt from the market-cap band: the ranked page exempts every prediction (polymkt:137) row and every perp (hlcore) row with a live perp leg, and may exempt every HyperCore row; a fallback page, served while ranking is degraded, may exempt every perp and prediction row
- `maxMarketCapUsd` (query, number): Current market cap ceiling in USD; must be >= minMarketCapUsd when both are set (400 otherwise)
- `minCostBasisUsd` (query, number): Position size: serve only positions whose net USD cost basis is >= this, applied before ranking. Positions with no cost basis drop while either bound is set
- `maxCostBasisUsd` (query, number): Position size ceiling in USD of net cost basis; must be >= minCostBasisUsd when both are set (400 otherwise)
- `assetClasses` (query, array): Comma-separated subset of asset classes to keep; omitted or every class = no filter. The set is applied before ranking, so a narrowed page fills from matching positions like an unfiltered one and a set nothing matches serves an empty feed, never unfiltered cards; a card whose class is only known after hydration can still drop, so a batch can serve short (nextPageToken stays the end signal). Ignored while the homeFeedAssetClasses kill-switch is off. prediction = a Polymarket (polymkt:137) callout, never coin or stock. For a narrowed set naming prediction the ranker cuts its pool to prediction positions before ranking, as for the other classes. A chain-scoped request (chain= or chains=) serves prediction rows only through the chainless lane: the ranker answers a chain mask with that chain's rows and polymkt:137 is no feed chain, so a selection that includes prediction (the param omitted or ignored, every class, or a set naming it) adds one chain-unset ranking ask for its chainless classes (prediction, with perp when included), merged by rank beside the chain's rows, or sent alone when the set names no other class
- `includeFollowedHolders` (query, boolean): Attach the followed-holders facepile per coin
- `followedHoldersLimit` (query, integer): Default 3; values above 10 clamp to 10
- `recsys` (query, boolean)
- `updatesLimit` (query, integer): Top-level author updates served per callout; unset serves the fetched window untrimmed
- `userId` (query, string): Requester's wallet address, the ranker's personalization identity
- `session_id` (query, string)
- `device_id` (query, string)
- `session_start_timestamp_ms` (query, integer): Epoch-ms the client's current session (session_id) started at; a session-age signal for the ranking
- `country` (query, string): ISO 3166-1 alpha-2 country code — device-locale hint, not auth
- `os` (query, string): Device OS the client declares
- `platform` (query, string: APP | WEB): Client surface (APP or WEB), exact-match only; absent, the server default applies
Scope: `content.read`. Errors: 401, 403, 429, 503 in the shared envelope.
### GET /home-feed/new
The global "New" callouts feed
The global "New" callouts feed: every live-position-backed callout across all users, newest first with no ranking, cursor-paged.
Parameters:
- `pageSize` (query, integer): Default 25; a short page means the 24h window is exhausted, not that a filter cut it. A chains= page is cut at the least-advanced chain and can run short with rows remaining, so nextPageToken is the only end signal there
- `pageToken` (query, string): A previous response's nextPageToken; omit for the first page
- `updatesLimit` (query, integer): Top-level author updates served per callout, as /home-feed
- `chain` (query, string: all | solana | ethereum | base | bsc | robinhood | hyperevm | ink | arc | megaeth | xlayer | monad | polygon | arbitrum | avalanche | optimism | sei | ton | near | starknet | elysium | tron | unichain | mantle | plasma | cronos | sonic | berachain | celo | sui): Unset/'all' = every feed chain; a slug = that chain only (the registry's `feed` set)
- `chains` (query, array): Comma-separated feed chains merged in exact recency order under one cursor. Exclusive with chain (400 when both are sent); one slug behaves exactly like chain=.
- `minCostBasisUsd` (query, number): Position size: serve only callouts whose live position has a net USD cost basis >= this. Rows with no cost basis drop while set
- `maxCostBasisUsd` (query, number): Position size ceiling: net USD cost basis <= this; rows with no cost basis drop while set; must be >= minCostBasisUsd when both are set (400 otherwise)
- `minCalloutMarketCapUsd` (query, number): Serve only callouts whose coin's market cap AT CALLOUT TIME was >= this USD; the card's marketCap is the coin's live figure and may differ
- `maxCalloutMarketCapUsd` (query, number): Market cap AT CALLOUT TIME <= this USD; must be >= minCalloutMarketCapUsd when both are set (400 otherwise)
- `minMarketCapUsd` (query, number): Serve only callouts whose coin's CURRENT market cap (the card's marketCap) is >= this USD, unlike minCalloutMarketCapUsd's at-callout-time figure. Rows whose coin has no known market cap drop while either bound is set
- `maxMarketCapUsd` (query, number): CURRENT market cap <= this USD; must be >= minMarketCapUsd when both are set (400 otherwise)
- `assetClasses` (query, array): Comma-separated subset of asset classes to keep; omitted or every class = no filter. Post-cut: applied to the hydrated rows, and the page refills from the next window as it does for the bands; ignored while the homeFeedAssetClasses kill-switch is off. prediction = a Polymarket (polymkt:137) callout; it is never coin or stock
Scope: `content.read`. Errors: 401, 403, 429, 503 in the shared envelope.
### GET /posts
Posts by id
Posts by id (at most 100), with one-level embeds and viewer stamps when signed in. Unknown, hidden and deleted ids are simply absent.
Parameters:
- `ids` (query, required, array): Comma-separated post ids (UUID), at most 100; duplicates collapse
Scope: `content.read`. Errors: 401, 403, 429, 503 in the shared envelope.
### GET /posts/{postId}
One post with its one-level embeds and viewer stamps…
One post with its one-level embeds and viewer stamps when signed in. 404 for unknown, hidden or deleted posts.
Parameters:
- `postId` (path, required, string)
Scope: `content.read`. Errors: 401, 403, 429, 503 in the shared envelope.
### GET /posts/{postId}/quotes
Live quotes of a post, newest first, keyset-paginated
Live quotes of a post, newest first, keyset-paginated (nextCursor null = end). 404 unless the post is live.
Parameters:
- `postId` (path, required, string)
- `cursor` (query, string): Keyset cursor from the previous response's nextCursor; omit for the first page
- `limit` (query, integer): Page size; default 50, clamped to 200
Scope: `content.read`. Errors: 401, 403, 429, 503 in the shared envelope.
### GET /posts/{postId}/replies
Direct live replies to a post, newest first…
Direct live replies to a post, newest first, keyset-paginated (nextCursor null = end). 404 unless the post is live.
Parameters:
- `postId` (path, required, string)
- `cursor` (query, string): Keyset cursor from the previous response's nextCursor; omit for the first page
- `limit` (query, integer): Page size; default 50, clamped to 200
Scope: `content.read`. Errors: 401, 403, 429, 503 in the shared envelope.
## Scope `leaderboards.read` (12 operations)
PnL leaderboards, competitions and creator payouts.
### GET /competitions
Every competition in three buckets
Every competition in three buckets: upcoming, live (registration or live) and past (the 50 latest ended); a fixed_stake competition only for a viewer served the family (LD compFixedStake, else compFixedStakeTesters)
Scope: `leaderboards.read`. Errors: 401, 403, 429, 503 in the shared envelope.
### GET /competitions/{id}/entries/{entryId}
One entry with its snapshot roster and each member's…
One entry with its snapshot roster and each member's counted legs, pnlUsd descending
Parameters:
- `id` (path, required, string): Competition id (UUID)
- `entryId` (path, required, string): Entry id (UUID)
Scope: `leaderboards.read`. Errors: 401, 403, 429, 503 in the shared envelope.
### GET /competitions/{id}/entries/{entryId}/highlights
One entry's highlight reel
One entry's highlight reel: its top tokens by PnL during the competition window, coin display fields attached
Parameters:
- `id` (path, required, string): Competition id (UUID)
- `entryId` (path, required, string): Entry id (UUID)
- `limit` (query, integer): Tokens returned (default and ceiling 10; out-of-range values clamp)
Scope: `leaderboards.read`. Errors: 401, 403, 429, 503 in the shared envelope.
### GET /competitions/{id}/entries/{entryId}/positions
409 when the competition is not live
409 when the competition is not live (before startsAt or once results exist).
Parameters:
- `id` (path, required, string): Competition id (UUID)
- `entryId` (path, required, string): Entry id (UUID)
- `page` (query, integer): 0-indexed page (default 0)
- `pageSize` (query, integer): Rows per page (default 50, ceiling 200)
Scope: `leaderboards.read`. Errors: 401, 403, 429, 503 in the shared envelope.
### GET /competitions/{id}/highlights
The competition's biggest winning legs across every…
The competition's biggest winning legs across every ranked entry, one card per trader by default, coin and profile display fields attached. Rows are capped per trader before any chain filter: a client that drops chains thins the list instead of refilling it, so ask for every chain or raise perMemberLimit.
Parameters:
- `id` (path, required, string): Competition id (UUID)
- `limit` (query, integer): Rows returned (default and ceiling 20; 0 and negatives clamp to 1, values above the cap to the cap)
- `perMemberLimit` (query, integer): Rows per trader (default 1, ceiling 10; 0 and negatives clamp to 1, values above the cap to the cap)
Scope: `leaderboards.read`. Errors: 401, 403, 429, 503 in the shared envelope.
### GET /competitions/{idOrSlug}
One competition by id or slug with its ranked board
One competition by id or slug with its ranked board. `viewer` (own entry and eligibility) is viewer-relative: present on a signed-in read, absent on the API host
Parameters:
- `idOrSlug` (path, required, string): Competition id (UUID) or slug
- `limit` (query, integer): Leaderboard rows served (default and ceiling 100; out-of-range values clamp).
- `positionsLimit` (query, integer): Top positions returned per row (leaderboard, top, winners, viewer entry) as icons (default 3; values above 5 clamp to 5; 0 = count only). Squad rows carry none.
Scope: `leaderboards.read`. Errors: 401, 403, 429, 503 in the shared envelope.
### GET /mayhem/{mint}/top-traders
Get the trader leaderboard for a mayhem coin
Parameters:
- `mint` (path, required, string)
Scope: `leaderboards.read`. Errors: 401, 403, 429, 503 in the shared envelope.
### GET /payouts/leaderboard
The confirmed-payout leaderboard
The confirmed-payout leaderboard (top-500 board, paged; all-time or a rolling 1d/1w/1m window via period; every reward pool combined or one alone via pool) plus the in-window earner count. Per-row follow state is viewer-relative: present on a signed-in read, absent on the API host
Parameters:
- `page` (query, integer)
- `pageSize` (query, integer)
- `period` (query, string: 1d | 1w | 1m): Absent = all-time
- `pool` (query, string: v1 | v2): Which reward pool's money ranks the board; absent = every pool combined (the board served before this param). With v1 or v2, ranks, each entry's totalPaidUsdc, payoutCount, lastPaidAt and wallets, and totalEarners count only that pool's part of each confirmed payout; an earner that pool paid nothing in the window is not on the board
Scope: `leaderboards.read`. Errors: 401, 403, 429, 503 in the shared envelope.
### GET /pnl-leaderboard
Get the PNL leaderboard for a period
Get the PNL leaderboard for a period. `viewer` (the caller's own rank off the same board snapshot) is viewer-relative: present on a signed-in read, absent on the API host
Parameters:
- `period` (query, required, string: daily | weekly | monthly | all)
- `sort` (query, string: realized | unrealized | combined)
- `category` (query, string: whole_wallet | perps): Which PnL plane the board ranks: whole_wallet (default, every leg of the wallet) or perps (the trader's linked HyperCore account: realized net plus the open positions' change since the window start; rows carry pnlSol 0, buySpendSol 0 and no topPositions)
- `positionsLimit` (query, integer): Top positions returned per row as icons (default 3; values above 5 clamp to 5; 0 = count only).
- `limit` (query, integer): Rows served; default and ceiling 100
Scope: `leaderboards.read`. Errors: 401, 403, 429, 503 in the shared envelope.
### GET /pnl-leaderboard/groups
Get the group PNL leaderboard for a period
Parameters:
- `period` (query, required, string: daily | weekly | monthly | all)
- `sort` (query, string: realized | unrealized | combined)
- `limit` (query, integer): Rows served (default and ceiling 100; out-of-range values clamp).
- `positionsLimit` (query, integer): Top positions returned per row as icons (default 3; values above 5 clamp to 5; 0 = count only).
Scope: `leaderboards.read`. Errors: 401, 403, 429, 503 in the shared envelope.
### GET /pnl-leaderboard/positions
Get the PNL position leaderboard for a period
Parameters:
- `period` (query, required, string: daily | weekly)
- `includeFollowedHolders` (query, boolean): Opt-in: attach the followed-holders facepile per entry. Viewer-relative: the API host has no viewer, so followedHolders is null there. Off by default.
- `followedHoldersLimit` (query, integer): Followed holders returned per entry (default 3; values above 10 clamp to 10).
- `limit` (query, integer): Rows served; default and ceiling 25
Scope: `leaderboards.read`. Errors: 401, 403, 429, 503 in the shared envelope.
### GET /pnl-leaderboard/top-trader-trades/{mint}
A coin's trades from accounts ranked in the top 50 of…
A coin's trades from accounts ranked in the top 50 of any PNL leaderboard period, across all their wallets on either chain (chart marks)
Parameters:
- `mint` (path, required, string)
- `chainId` (query): Hlcore:mainnet (while uapiPerpTopTraderTrades is on) reads the perps PnL boards' top traders instead: mint is then the HL coin key verbatim (BTC, xyz:GOLD) and each trade row carries chainId 0; while it is off, hlcore:mainnet is the 400 a non-integer chainId answers
- `to` (query, integer): Serve trades at or before this instant (epoch ms); omitted = now. Honoured only while the server pages (see `page`).
- `cursor` (query, string): Continuation from the previous response's page.nextCursor; omit for the newest page
- `limit` (query, integer): Trades per page; default and ceiling 500
Scope: `leaderboards.read`. Errors: 401, 403, 429, 503 in the shared envelope.
## Scope `positions.read` (7 operations)
Positions, trades and portfolios of public wallets.
### GET /mint-positions/{mint}
Get the users holding a position in a mint
Parameters:
- `mint` (path, required, string)
- `sortBy` (query, string: LATEST | TOP | TOP_ENGAGED | LOWEST_ENTRY | RANKED | CLOSED_PNL): Order of the list. CLOSED_PNL serves the mint's fully exited positions (booked realized PnL) ranked by realized PnL USD descending, losses last, and requires withThesis=true. TOP_ENGAGED ranks open callout rows by a blend of position size and engagement, and requires scope=pairs; every other sort serves open holders.
- `page` (query, integer)
- `pageSize` (query, integer)
- `withThesis` (query, boolean)
- `updatesLimit` (query, integer): Max author updates per callout (omitted serves 5); 0 skips update enrichment entirely
- `includeProfile` (query, boolean): Embed each holder's full registry profile on the row; off by default
- `dustFloorUsd` (query, number): Rejected with sortBy=CLOSED_PNL, which ranks by realized PnL instead
- `pageToken` (query, string): RANKED only: cursor from a previous RANKED response. Mutually exclusive with `page`
- `forceRefresh` (query, boolean): RANKED only: pull-to-refresh — skip the ranking-cache read and restart the walk
- `chainId` (query, integer): RANKED: Solana mints never need it; an unresolvable 0x mint without it is a 400. Any sort on a 0x mint without chain or scope=pairs, once the EVM chain filter is on: a registry EVM chain id scopes rows, totalCount and hasMore to that chain alone; any other id is ignored
- `session_id` (query, string): RANKED only: required for a nextPageToken; without it RANKED serves one page and no token
- `device_id` (query, string): RANKED only: persisted install/device id, forwarded to the ranker
- `country` (query, string): RANKED only: ISO 3166-1 alpha-2 country code — device-locale hint, not auth
- `os` (query, string): RANKED only: device OS the client declares
- `platform` (query, string): RANKED only: client surface
- `chain` (query, string): CAIP-2 chain of a perp, NEAR, Starknet, Sui or TON coin: hlcore:mainnet makes {mint} the HL coin key verbatim (BTC, xyz:TSLA) and serves the coin's HyperCore perp holders (assetClass ASSET_CLASS_PERPETUAL, chainId 0, perp block); near:mainnet makes {mint} a NEAR account id verbatim (wrap.near) and serves its NEAR holders (chain near:mainnet, chainId null, walletAddress the account id); starknet:SN_MAIN makes {mint} a Starknet address (0x + 1..64 hex, any case, a 0x+40 included; served as 0x + 64 lowercase hex, 400 otherwise) and serves its Starknet holders (chain starknet:SN_MAIN, chainId null, coinMint and walletAddress 0x + 64 lowercase hex); sui:mainnet makes {mint} a plain Sui Move coin type (0x::::, served with the package padded to 64 lowercase hex, 400 otherwise) and serves its Sui holders (chain sui:mainnet, chainId null, walletAddress 0x + 64 lowercase hex); ton:-239 makes {mint} the CRC-checked 48-char bounceable EQ jetton master (400 otherwise) and serves its TON holders (chain ton:-239, chainId null, walletAddress the holder's TON wallet); RANKED on hlcore:mainnet, near:mainnet or starknet:SN_MAIN is ranked where enabled (rows carry recommendationId and recommendationRank; chainId is ignored) and otherwise serves TOP with no recommendationId, and on ton:-239 or sui:mainnet always serves TOP. Absent = the spot path. 400, with the hlcore:mainnet body, when holders are not available for that chain
- `scope` (query, string: mint | pairs): Which callouts the list reads. mint (default, same as omitted) = the coin's own holders. pairs = the coin's callout rows plus every coin whose launch quote is this mint, each row tagged with its coinMint and the page's coins served in `coins`; requires withThesis=true and sortBy TOP, TOP_ENGAGED, LATEST or CLOSED_PNL, and rejects chain, dustFloorUsd and pageToken; TOP_ENGAGED requires scope=pairs
Scope: `positions.read`. Errors: 401, 403, 429, 503 in the shared envelope.
### GET /portfolio-summary
Merged Solana+EVM portfolio PnL for a wallet…
Merged Solana+EVM portfolio PnL for a wallet, username, or the authenticated user; a group id or group username serves the squad aggregate over active members
Parameters:
- `user` (query, string): Identity to serve: Solana wallet, EVM wallet, username, a NEAR account id (served its NEAR realized PnL alone) or a Starknet address 0x+64 (served its Starknet realized PnL alone). Required when calling with an API key (api.pump.fun); optional with a session, where omitted = the signed-in user. Omitted with an API key answers 400 API_USER_REQUIRED.
- `chain` (query, string: sui:mainnet): sui:mainnet: user is a Sui address (0x + 1 to 64 hex digits, any case), served its Sui realized PnL alone (all carries no Sui realized leg: null pnl and realizedPnl). Ignored with any other value.
- `period` (query, required, string: 1d | 1w | 1m | all): PnL window: 1d / 1w / 1m trail now; all = from the data floor 2026-07-01T00:00Z on every chain but NEAR and Starknet (all carries no NEAR or Starknet realized leg; a NEAR account id or Starknet address answers all with null pnl and realizedPnl). Every period marks the bags held at its start (markHeld).
- `periods` (query, string): Comma-separated periods, e.g. `1d,1w,1m,all` (1-4, duplicates collapsed, order kept): each is served under `windows` beside the top-level `period` body. Omitted = no `windows`.
- `fresh` (query, boolean): Owner refresh (1/true): applies only to a signed-in owner of the served wallet, within 60 fresh reads per minute, whose body is then refilled past every cache and answers cache.fresh: true. Anyone else, every API-host caller included, is served the cached body, never a 429
- `holdings` (query, boolean): Serve `holdings` (1/true): the balance leg's top 25 priced rows; omitted = no `holdings` key
Scope: `positions.read`. Errors: 401, 403, 429, 503 in the shared envelope.
### POST /portfolio-summary/balances
Multichain balance totals for a page of wallets in one…
Multichain balance totals for a page of wallets in one read, off the same aggregate as /portfolio-summary
Request body: JSON (see the OpenAPI document for the schema).
Scope: `positions.read`. Errors: 401, 403, 429, 503 in the shared envelope.
### GET /portfolio-summary/chart
Portfolio value series
Portfolio value series (tokens at trusted marks plus cash, linked EVM chains folded in) for a wallet, username, or the authenticated user; a group id or group username answers 404 (no squad charts)
Parameters:
- `user` (query, string): Identity to serve: Solana wallet, EVM wallet, username, or a Starknet address 0x+64 (served its Starknet value series alone). Required when calling with an API key (api.pump.fun); optional with a session, where omitted = the signed-in user. Omitted with an API key answers 400 API_USER_REQUIRED.
- `chain` (query, string: sui:mainnet): sui:mainnet: user is a Sui address (0x + 1 to 64 hex digits, any case), served its Sui PnL series alone. Ignored with any other value.
- `period` (query, string: 1d | 1w | 1m | all): Chart window; maps to swap-api 1D / 7D / 30D / ALL (all = from the data floor, 2026-07-01T00:00Z on every chain; the response meta carries coverageFrom)
Scope: `positions.read`. Errors: 401, 403, 429, 503 in the shared envelope.
### GET /user-portfolio/{userId}
A user's whole-portfolio positions
A user's whole-portfolio positions (open/closed/all) with net PnL. totalsOnly returns just the summary (positionCount, no list); the summary carries no PnL or value totals. filterSpam=true serves pages from the non-spam set (filtered before the page slice, positionCount = filtered total); spamOnly=true serves pages from the spam group alone, for clients excluding flagged coins from balance rows that carry no verdict (positionCount = spam total; mutually exclusive with filterSpam, 400). A group id serves the group's member-aggregate portfolio (SUM over active members' positions) with every row's walletAddress null. Group and over-cap reads are paged by the serving source, so their positionCount is that source's and clients stop on an empty page. Owner-only marks (spam / not-spam, the owner's dust floor, dustFloorFiltered) apply only to a read the owner makes signed in, never on the API host; every other read serves the public spam verdict and the callout exemption alone, never a rescue, and every row dustFloorFiltered false. HyperCore perp rows, summary.cash and hlAccount ride this route only, read for the wallet paired with its linked EVM wallet; /user-positions stays mints-only. query narrows OPEN, CLOSED and ALL to the rows whose coin symbol or name contains the term (case-insensitive) or whose mint equals an address-shaped term, paged by the serving source with positionCount the matching count; page 0's perp and TON rows and every page's NEAR rows are filtered by the same rule; a Starknet account refuses a term (400).
Parameters:
- `userId` (path, required, string)
- `filter` (query, string): Position set to serve; omitted defaults to OPEN
- `sortBy` (query, string): Row order; omitted defaults to PNL
- `totalsOnly` (query, boolean): Return only the summary (positionCount), skipping the positions list
- `filterSpam` (query, boolean): true drops the spam-grouped rows (potentialSpam && !userMarkedNonSpam) before the page slice, with summary.positionCount reporting the filtered total
- `spamOnly` (query, boolean): true serves ONLY the spam-grouped rows (potentialSpam && !userMarkedNonSpam) before the page slice — the inverse of filterSpam, with summary.positionCount reporting the spam total; mutually exclusive with filterSpam (400)
- `page` (query, integer)
- `pageSize` (query, integer)
- `chainId` (query, integer): Omitted means all chains
- `chain` (query, string: sui:mainnet): Chain claim for a raw 0x address subject (D-SUI-35): sui:mainnet reads a 0x plus 1..64 hex userId as a Sui address (its Sui rows and priced-quote cash, no link); omitted, a bare 0x plus 64 stays the Starknet account or EVM wallet. Any other value is ignored, as before
- `query` (query, string): Search term (trimmed, at most 64 characters, 400 beyond): case-insensitive substring over the coin symbol and name, or an exact mint (base58 decoding to 32 bytes, or 0x + 40 hex compared lowercase); summary.positionCount is the matching count; omitted or blank serves the unsearched list; a Starknet account refuses a term (400).
Scope: `positions.read`. Errors: 401, 403, 429, 503 in the shared envelope.
### GET /user-positions/{userId}
Get a user's position
Get a user's position (total PnL + callout) in each of the given mints; a group id serves the group's member-aggregate position per mint (walletAddress null, no callout link)
Parameters:
- `userId` (path, required, string)
- `mints` (query, required, array): Comma-separated mint list on the wire, max 200 entries; a perp coin is hlcore:: (hlcore:mainnet:BTC) and serves one row with coinMint = the coin key, chain = the CAIP-2, chainId 0, assetClass ASSET_CLASS_PERPETUAL and perp{}; a Polymarket market is polymkt:137: (0x plus 64 hex, any case) and serves one row with coinMint = the lowercase condition id, chain polymkt:137, chainId null, assetClass ASSET_CLASS_PREDICTION and prediction{}
- `updatesLimit` (query, integer): Max author updates per callout (omitted serves 5); 0 skips update enrichment entirely
- `lifecycleId` (query, string): Sheet door selector: a row's perp.lifecycleId, served as that one perp lifecycle of the route wallet; mints must then be exactly one hlcore:: entry and closeTid absent. A group or non-Solana subject, no match, or the per-lifecycle serve off answers 404 PERP_POSITION_NOT_FOUND
- `closeTid` (query, string): Sheet door selector: a closing fill's tid (int64 as a decimal string), served as the closed perp lifecycle it ended; mints must then be exactly one hlcore:: entry and lifecycleId absent. Resolves only on the route wallet's own JWT read; otherwise, for a group or non-Solana subject, no match, or the per-lifecycle serve off, 404 PERP_POSITION_NOT_FOUND
- `chain` (query, string: sui:mainnet): Chain claim for a raw 0x address subject (D-SUI-35): sui:mainnet reads a 0x plus 1..64 hex userId as a Sui address (its sui:mainnet: mints alone, no link); omitted, a bare 0x plus 64 stays the Starknet account or EVM wallet. Any other value is ignored, as before
Scope: `positions.read`. Errors: 401, 403, 429, 503 in the shared envelope.
### GET /user-trades/{id}
One page of an account's trades, newest first
One page of an account's trades, newest first — id is a wallet, a user id, or a squad (group) id; a user id serves the union of its CANONICAL wallets (SVM and EVM), a squad the union of its active members' trades. mint narrows to one token (the position-sheet shape). types (CSV of trades|transfers) interleaves ledger transfer legs valued at the transfer-minute mark (amountUsd/priceUsd/amountSol each null independently when that leg is unpriced, never 0), each row then carrying kind; omitted = trades only, today's exact shape. chain=near:mainnet serves the id's NEAR account's swaps, every coin or mint's, rows chainId null and chain near:mainnet. chain=sui:mainnet (while the Sui trades lane is live) serves a Sui address's or a Solana wallet's derived Sui address's terminal swap legs, every coin or one coin's under mints (mint is a 400 there), rows chainId null and chain sui:mainnet. X-Degraded: trades-stale = a mint page served from its last complete copy, at most 120 s old, while a slow or degraded rebuild runs on.
Parameters:
- `id` (path, required, string)
- `mint` (query, string): Restrict to one token's trades (the position-sheet shape); omitted serves all mints. A 400 on chain=starknet:SN_MAIN and, while the Sui trades lane is live, on chain=sui:mainnet: both narrow by mints
- `chainId` (query, integer): Omitted serves every covered chain (SVM and EVM: a raw wallet serves its own family, a user id the union of its CANONICAL wallets (SVM and EVM), a squad id the union of its active members' wallets)
- `mints` (query, string): The position-sheet shape on chain=starknet:SN_MAIN and chain=sui:mainnet. chain=starknet:SN_MAIN: one Starknet address (0x + 1 to 64 hex digits, any case, or starknet:SN_MAIN:<0x address>) narrows the page to that coin; more than one entry or a malformed one is a 400. chain=sui:mainnet while the Sui trades lane is live: one Sui coin type (0x::::, or sui:mainnet:) narrows the page to that coin, the same 400s. Ignored on every other read and on a Sui read while the Sui trades lane is dark
- `chain` (query, string): ton:-239 (TON mainnet): serves the id's derived TON wallet's swaps on mint (the 48-char bounceable EQ form, required); a non-SVM id serves the empty page. starknet:SN_MAIN (Starknet mainnet): serves the id's swaps across every coin, the id itself a Starknet address (0x + 1 to 64 hex digits, any case; any other id is a 400, no user or squad id), mint is a 400; rows carry tx, mint and walletAddress as 0x + 64 lowercase hex. Either chain: keyed by chain alone (chainId is a 400), trades only (types=transfers is a 400), rows chainId 0 with amountSol null; coins is empty on ton:-239 (key a row's coin by (mint, chain)). On starknet:SN_MAIN, mints narrows to one coin, rows and coins carry chain starknet:SN_MAIN and coins carry the Starknet coin card. near:mainnet: id is a Solana wallet (its derived 64-hex implicit account is read) or a raw NEAR account id (dotted, including the 48-64 char *.omft.near bridge form, or 64-hex; served verbatim, never case-folded); mint is optional, a NEAR token account id when present (dotted, 64-hex or a 2-31 char top-level name; a 0x eth-implicit id or uppercase is a 400) (the position-sheet shape); keyed by chain alone (chainId is a 400), trades only (types=transfers is a 400), rows chainId null and chain near:mainnet with amountSol null, coins carrying chain near:mainnet and the NEAR coin card; any other id serves the empty page. sui:mainnet, while the Sui trades lane is live: id is a raw Sui address (0x + 1 to 64 hex digits, any case, read as 0x + 64 lowercase) or a Solana wallet (its derived Sui address is read); the address's terminal swap legs only (a multi-hop route is one row), across every coin, or one coin's under mints (one Sui coin type 0x::::, or sui:mainnet:); keyed by chain alone (chainId is a 400), mint is a 400, trades only (types=transfers is a 400); rows carry tx as the base58 digest, mint as the canonical coin type, chain sui:mainnet and chainId null with amountSol null; coins is empty; any other id serves the empty page; ignored while the Sui trades lane is dark. On every chain trades may be empty while nextCursor is non-null (a bounded window of the wallet's trades is scanned per page): keep paging until nextCursor is null
- `cursor` (query, string): Opaque keyset cursor from the previous page's nextCursor
- `limit` (query, integer): Rows per page.
- `types` (query, array): Comma-separated row kinds on the wire; omitted = trades only, and rows carry kind only when this is set
Scope: `positions.read`. Errors: 401, 403, 429, 503 in the shared envelope.
## Scope `moderation.read` (1 operations)
The public ban oracle. Outside every default grant; request it explicitly.
### GET /moderation/ban/address/{address}
Check whether a wallet address is banned
Parameters:
- `address` (path, required, string)
Scope: `moderation.read`. Errors: 401, 403, 429, 503 in the shared envelope.