Agara

Ranked market outcome price/probability histories

POST/api/v1/prices/token-history

Ranks 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"    }  ]}