Ranked market outcome price/probability histories
/api/v1/prices/token-historyRanks AGARA outcome tokens with recorded trade-price history by last traded price, highest first. Tokens without history are omitted; a recorded zero price is eligible. Equal prices retain request order. Each returned history ends at the same last traded price used for ranking.
Request Body
application/json
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://example.com/api/v1/prices/token-history" \ -H "Content-Type: application/json" \ -d '{ "token_ids": [ "string" ] }'{ "s": "ok", "series": [ { "s": "ok", "t": [ 0 ], "c": [ 0 ], "latestTradeAt": 0, "tokenId": "string" } ]}Market outcome price/probability history GET
Last-traded-price history for one outcome token over a preset range, as TradingView-shim history ({ s, t, c }, seconds + probability 0..1) plus latestTradeAt. Step-held onto ~400 uniform points. Long-cached once the window is settled; no-cache while it overlaps the live edge.
Search events, markets, and categories GET
Typo-tolerant search over currently tradable AGARA event titles/slugs and market questions/slugs, plus category labels/slugs. Event and market matches include a comparable 0–1 relevance score; indirect category matches score 0. Each event arrives with its markets and their outcome prices — the same shape the events listing returns — so a result can be rendered without a follow-up request. Markets carry their leading outcomes (label + odds) and order-acceptance status. A category-name query also fans out that category’s highest-volume tradable AGARA events.