API reference

Base URL https://api.tolls.fun. Amounts in requests are USD decimal strings ("0.01"); amounts in responses come as display strings ("$0.01") and atomic USDC strings.

Public

GET /v1/catalog?q&category&maxPrice&source&sort&cursorsort: score, price, uptime, new. Returns items and nextCursor
GET /v1/catalog/:iddetails, schemas, examples, 7-day uptime series
GET /v1/statsorganic paid calls, unique payers, volume, active agents, endpoints, sellers
GET /v1/liveServer-Sent Events: snapshot (last 50), then payment

Agent (Authorization: Bearer sk_...)

POST /v1/fetchbody { url, method?, headers?, body?, maxPrice? } → { status, contentType, body, bodyEncoding, receipt }
GET /v1/agentbalance, budgets, today's spend
GET /v1/agent/spend?cursorspend log
POST /mcpremote MCP (Streamable HTTP)

Errors from /v1/fetch: 403 budget (with reason), 403 agent_frozen, 400 blocked_url, 422 payment, 502 upstream_failed. 60 requests per minute per key.

Gateway (https://gw.tolls.fun)

GET /v1/data/pumpfun/launches?since&limitnew pump.fun launches · $0.005
GET /v1/data/pumpfun/graduations?since&limittokens that left the bonding curve · $0.005
GET /v1/data/token/risk?mintauthorities, Token-2022 extensions, concentration, age · $0.01
GET /v1/data/token/holders?mint&topdistribution, top holders, new holders · $0.005
GET /v1/data/wallet/snapshot?addressbalances and last 20 transactions · $0.005
GET /v1/data/tx/explain?signaturereadable decode of one transaction · $0.003
ANY /<slug>/*seller listings

Bad input gets a free 400 before any 402.