GET /v1/calendar/sports-nba$0.01hourlytier: utilitycache 3600sEngine A — Probability API
Upcoming NBA basketball market resolutions in date order with current blended probabilities — the forward calendar of NBA basketball events an agent can position around. Same shape as /v1/calendar, pre-filtered to NBA basketball markets.
| Name | In | Type | Required | Notes |
|---|---|---|---|---|
days | query | integer | no | (default: 14) |
category | query | string | no | — one of "politics", "economics", "weather", "crypto", "sports", "science-tech", "entertainment" |
curl "https://x402-factory.com/v1/calendar/sports-nba?days=30"
{
"data": {
"events": []
},
"meta": {
"endpoint": "/v1/calendar/sports-nba",
"version": "1.0.0",
"generated_at": "2026-08-18T22:54:16.760Z",
"freshness": "hourly",
"sources": [
"kalshi",
"polymarket"
],
"request_id": "req_00000000",
"docs": "https://x402-factory.com/docs/probability.calendar.sports-nba",
"data_mode": "live"
}
}data payload){
"type": "object",
"properties": {
"events": {
"type": "array",
"items": {
"type": "object",
"properties": {
"slug": {
"type": "string"
},
"question": {
"type": "string"
},
"resolution_date": {
"type": "string"
},
"current_p": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"category": {
"type": "string"
}
},
"required": [
"slug",
"question",
"resolution_date",
"current_p",
"category"
],
"additionalProperties": false
}
}
},
"required": [
"events"
],
"additionalProperties": false
}
The platform wraps every payload in an envelope: { "data": …, "meta": { endpoint, version, generated_at, freshness, sources, request_id, docs, data_mode } }.
Unpaid requests receive 402 with payment requirements (accepts). Pay $0.01 in USDC on Base per call via an X-PAYMENT header — see docs.x402.org. With PAYMENT_MODE=disabled (local dev) the endpoint is open.
| Status | Code | Meaning |
|---|---|---|
| 400 | INVALID_PARAMS | Input failed validation; message lists the offending fields. |
| 404 | NOT_FOUND | No matching resource; suggestion may point to a sibling endpoint. |
| 410 | RESOLVED | Market/event settled; body includes a resolution summary. |
| 503 | STALE_DATA | Upstream feed down; stale data is never silently served beyond 2× cache TTL. |
| 500 | INTERNAL | Our bug. The request_id helps us find it. |