API reference
Every endpoint, the credential it takes and a runnable call, and every capability a data key can run.
Base URL
- /v1
https://pnl.meme- /api
https://pnl.meme
Send a key as Authorization: Bearer pnl_…. Only a door tagged key needs one; the rest answer without, and a key then narrows or widens what comes back. The whole contract is on Auth · limits · errors.
Endpoints
12 doorsPOST /v1/mcp
none, or a keyThe MCP server: the trader kit as tools, and three prompts. Connect your agent
JSON-RPC 2.0, one message per POST: initialize, tools/list, tools/call, prompts/list, prompts/get, ping.
GET /v1/tools/{tool}
none, or a keyOne kit tool, its arguments as a query string. Tools
Answers { skill, cost_usd, result }, where result is the tool’s own answer.
POST /v1/tools/{tool}
a keyThe two tools that write, manage_watchlist and get_changes_since, with a JSON body. Tools
A GET on a tool that writes, or a POST on one that reads, is a 405 naming the right method.
GET /v1/tools/openapi
noneThe kit as one OpenAPI 3.1 document.
curl https://pnl.meme/v1/tools/openapi
GET /v1/skills
none, or a keyEvery capability on the deployment, each with its input contract and the lowest plan; a data key sees only its own.
curl https://pnl.meme/v1/skills
POST /v1/skills/run
a keyRun one capability by id.
Answers { skill, cost_usd, result }. A wrong field is a 400 naming it; a capability your plan does not include is a 403 naming the plan that does.
curl https://pnl.meme/v1/skills/run \
-H "Authorization: Bearer pnl_..." \
-H "Content-Type: application/json" \
-d '{"skill": "network.radar", "input": {"limit": 5}}'
GET /v1/stream
a keyServer-sent events: new rows on the channels your plan includes. Streams start on the builder plan; Free holds no stream slot. Streaming
GET /v1/capabilities
noneWhat a key reaches, family by family, and what it never does.
GET /v1/reasons/{chain}/{address}
a keyWhy a token moves: the crowd's top reasons, who says them and the mood of the rest. A data key on plan builder or above. Reasons API
GET /v1/reasons/openapi
noneThe reasons door as one OpenAPI 3.1 document.
GET /api/usage
a keyThe key that signs the call: its plan, today's use and its ceilings.
Answers { key, today, limits, recent }: the key’s prefix and plan, today’s counts, the ceilings it runs under and its last calls. The kit’s get_usage tool answers the same on MCP.
curl https://pnl.meme/api/usage \
-H "Authorization: Bearer pnl_..."
DELETE /api/keys
a keyRevoke the key that signs the call. It answers 401 from then on.
Answers { revoked: true, prefix }. Mint a new key in the Builder API window.
curl -X DELETE https://pnl.meme/api/keys \
-H "Authorization: Bearer pnl_..."
The partner Data APIs
The partner Data APIs ride the same key and the same allowance, each with its own OpenAPI document and cursor rules:
FOMO Data APIGMGN Data API · UNAVAILABLEpump.fun Data APIGET /v1/wallets/{address}Capabilities a data key can run
66 capabilitiesEvery capability below runs through POST /v1/skills/run by its id, and many through a kit tool too. GET /v1/skills is the deployment's own menu, every capability described in full with its input contract; where it and this page differ, the menu is right.