API Reference
Status
Data availability and freshness.
Every endpoint here authenticates with X-API-Key, answers in the standard envelope and fails with the standard error body.
Get market-data availability and freshness
GET
https://api.cantoncap.cc/v1/status/sourcesParameters
This endpoint takes no parameters.
Request
curl -s "https://api.cantoncap.cc/v1/status/sources" \
-H "X-API-Key: $CANTONCAP_API_KEY"Response
200 Public source status collection.
{
"status": {
"timestamp": "2026-10-11T14:00:00.000Z",
"elapsed_ms": 18,
"error_code": 0,
"error_message": null,
"request_id": "req_7Hk2pQ9xLm"
},
"data": [
{
"venue_id": "temple",
"available": true,
"last_updated_at": "2026-10-11T14:00:00.000Z"
}
]
}dataarray of objects3 child fields
venue_idstringStable CantonCap venue ID, such as
templeorcantex.availablebooleanTrue while the feed is operational, including degraded or lagging states. False after authentication failures, a disabled feed or another operational failure.
last_updated_atstringnullableTime of the latest represented update. For calculated asset prices it is the stored calculation time. Decide acceptable age from it.
Headers
X-RateLimit-LimitRequests allowed in the current one-minute window.X-RateLimit-RemainingRequests left in the window.X-RateLimit-ResetUnix time, in seconds, when the window resets.
Errors
| Status | Code | When |
|---|---|---|
| 400 | invalid_request | Request validation failedA parameter is malformed, out of bounds or not one of its allowed values. |
| 401 | unauthenticated | A valid API key is requiredX-API-Key is missing or unknown. |
| 403 | forbidden | The API key does not resolve to an active planThe key expired, was suspended or has not started. |
| 429 | rate_limited | The request rate limit was exceededThe key's one-minute window is used up. Retry after Retry-After seconds. |