AGG is currently in alpha. APIs, components, and docs may change.
curl --request GET \
--url https://api.agg.market/orderbook/outcome/{outcomeId} \
--header 'x-app-id: <api-key>'{
"venueMarketOutcomeId": "<string>",
"venueMarketId": "<string>",
"venue": "<string>",
"orderbook": {
"bids": [
{
"price": 123,
"size": 123
}
],
"asks": [
{
"price": 123,
"size": 123
}
]
},
"midpoint": 123,
"spread": 123,
"seq": 123,
"checksum": 123,
"timestamp": 123
}Returns the live single-venue orderbook for a specific venue market outcome, including the sticky tick and midpoint provenance (markSource).
curl --request GET \
--url https://api.agg.market/orderbook/outcome/{outcomeId} \
--header 'x-app-id: <api-key>'{
"venueMarketOutcomeId": "<string>",
"venueMarketId": "<string>",
"venue": "<string>",
"orderbook": {
"bids": [
{
"price": 123,
"size": 123
}
],
"asks": [
{
"price": 123,
"size": 123
}
]
},
"midpoint": 123,
"spread": 123,
"seq": 123,
"checksum": 123,
"timestamp": 123
}Documentation Index
Fetch the complete documentation index at: https://docs.agg.market/llms.txt
Use this file to discover all available pages before exploring further.
Your application ID. Required for all app-tier and user-tier routes.