REST APIMarkets
Get market last sale
GET
Get the last sale information for a specific market.
ApiKeyAuthheader
x-api-key<token>API key authentication via the x-api-key header.
id*integerThe market's ID.
Format
int64application/json; charset=utf-8- response
Response for GET /v1/markets/:id/last-sale
success*booleandata?Last sale information
curl -X GET 'https://api.predict.fun/v1/markets/0/last-sale'Example Response
{ "success": true, "data": { "quoteType": "Ask", "outcome": "Yes", "priceInCurrency": "string", "strategy": "MARKET" }}