API reference / DataQuery API
DataQuery API
Pay-per-call access to indexed feed history, token and pool data, using prepaid, off-chain, non-transferable credits. Pricing is not final and credits are not on sale yet.
| Base path | https://feedplumb.com/data |
|---|---|
| Authentication | x-api-key: <key> (or Authorization: Bearer <key>) |
| Limits | Credits per 200 response (see /data/pricing); 401/402/404 cost nothing. Headers x-credits-remaining, x-credits-cost. |
| Health | /data/health · status page |
GET /data/health
Liveness and which read-only sources are mounted.
curl -s https://feedplumb.com/data/healthGET /data/health on this site
GET /data/pricing
Credit cost per endpoint (indicative, not final).
curl -s https://feedplumb.com/data/pricingGET /data/pricing on this site
GET /data/v1/balanceauth: key
Your credit balance and ledger (free).
GET /data/v1/feedsauth: key
All feeds (1 credit).
curl -s https://feedplumb.com/data/v1/feeds -H "x-api-key: <key>"GET /data/v1/feeds/{id}/historyauth: key
History of one feed (2 credits). id = proxy or pair like PLI-USDT.
| Parameter | Description |
|---|---|
since | unix seconds |
limit | max points (default 500) |
curl -s "https://feedplumb.com/data/v1/feeds/PLI-USDT/history?limit=50" -H "x-api-key: <key>"GET /data/v1/tokensauth: key
Token KPIs from the analytics indexer (1 credit).
GET /data/v1/tokens/{addr}auth: key
One token (1 credit).
GET /data/v1/poolsauth: key
Top PLI pools from the listing-kit evidence (1 credit).
Errors
| Status | Meaning |
|---|---|
401 | no or unknown key |
402 | out of credits |
403 | credits are non-transferable |
Not public: /data/admin/* (keys, credits, ledger: admin only). These answer 404 through this domain.