Authorizations
API key for authentication
curl --request GET \
--url https://api.polyrouter.io/functions/v1/platforms \
--header 'X-API-Key: <api-key>'{
"markets": {
"platforms": [
{
"platform": "polymarket",
"display_name": "Polymarket",
"endpoints": {
"markets": true,
"events": true,
"series": true,
"search": true,
"price_history": true
},
"features": {
"status_filtering": true,
"date_filtering": true,
"pagination_type": "offset",
"market_types": [
"<string>"
]
},
"id_format": {
"description": "<string>",
"example": "<string>",
"pattern": "<string>"
},
"base_url": "https://gamma-api.polymarket.com",
"rate_limit": "100 req/min"
}
],
"health": {},
"total_platforms": 123
},
"sports": {
"platforms": [
{
"platform": "polymarket",
"display_name": "Polymarket Sports",
"endpoints": {
"awards": true,
"games": true,
"list_games": true,
"league_info": true
},
"features": {
"odds_formats": [
"american"
],
"supported_leagues": [
"<string>"
],
"market_types": [
"<string>"
]
},
"rate_limit": "100 req/min"
}
],
"health": {},
"total_platforms": 123
},
"meta": {
"request_time": 123,
"timestamp": "2023-11-07T05:31:56Z",
"version": "<string>"
}
}Retrieve comprehensive information about all supported platforms, their capabilities, features, and real-time health status. This endpoint provides platform discovery, feature detection, ID format specifications, and health monitoring for both market and sports platforms.
curl --request GET \
--url https://api.polyrouter.io/functions/v1/platforms \
--header 'X-API-Key: <api-key>'{
"markets": {
"platforms": [
{
"platform": "polymarket",
"display_name": "Polymarket",
"endpoints": {
"markets": true,
"events": true,
"series": true,
"search": true,
"price_history": true
},
"features": {
"status_filtering": true,
"date_filtering": true,
"pagination_type": "offset",
"market_types": [
"<string>"
]
},
"id_format": {
"description": "<string>",
"example": "<string>",
"pattern": "<string>"
},
"base_url": "https://gamma-api.polymarket.com",
"rate_limit": "100 req/min"
}
],
"health": {},
"total_platforms": 123
},
"sports": {
"platforms": [
{
"platform": "polymarket",
"display_name": "Polymarket Sports",
"endpoints": {
"awards": true,
"games": true,
"list_games": true,
"league_info": true
},
"features": {
"odds_formats": [
"american"
],
"supported_leagues": [
"<string>"
],
"market_types": [
"<string>"
]
},
"rate_limit": "100 req/min"
}
],
"health": {},
"total_platforms": 123
},
"meta": {
"request_time": 123,
"timestamp": "2023-11-07T05:31:56Z",
"version": "<string>"
}
}API key for authentication