API data coverage
curl --request GET \
--url https://www.sharpe.ai/api/v1/meta/coverageconst options = {method: 'GET'};
fetch('https://www.sharpe.ai/api/v1/meta/coverage', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://www.sharpe.ai/api/v1/meta/coverage"
response = requests.get(url)
print(response.text){
"data": {
"product_count": 123,
"status_counts": {
"production": 123,
"shared": 123,
"planned": 123
},
"products": {}
},
"meta": {
"request_id": "req_a1b2c3d4e5f6g7h8i9j0",
"timestamp": "2023-11-07T05:31:56Z",
"elapsed_ms": 1,
"dataset_id": "funding_rates_current",
"as_of": "2023-11-07T05:31:56Z",
"stale_after": "2023-11-07T05:31:56Z",
"freshness_sla_seconds": 123,
"freshness_status": "fresh",
"runtime_status": "ok",
"served_from": "snapshot",
"generated_at": "2023-11-07T05:31:56Z",
"source": [
"<string>"
],
"coverage": {
"expected": 123,
"used": 123,
"dropped": {},
"missing": [
"<string>"
]
},
"warnings": [
"<string>"
],
"truncated": true
}
}{
"type": "https://www.sharpe.ai/errors/internal_error",
"title": "Internal Server Error",
"status": 500,
"detail": "An unexpected error occurred. Please try again later.",
"request_id": "req_a1b2c3d4e5f6g7h8i9j0",
"doc_url": "https://www.sharpe.ai/docs/errors#retry-guidance",
"suggested_action": "Retry with exponential backoff (1s, 2s, 4s, up to 30s). If the error persists, contact support with the X-Request-Id."
}System
API data coverage
Returns metadata about available data products, supported exchanges, coins, chart types, and timeframes. No authentication required.
GET
/
v1
/
meta
/
coverage
API data coverage
curl --request GET \
--url https://www.sharpe.ai/api/v1/meta/coverageconst options = {method: 'GET'};
fetch('https://www.sharpe.ai/api/v1/meta/coverage', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://www.sharpe.ai/api/v1/meta/coverage"
response = requests.get(url)
print(response.text){
"data": {
"product_count": 123,
"status_counts": {
"production": 123,
"shared": 123,
"planned": 123
},
"products": {}
},
"meta": {
"request_id": "req_a1b2c3d4e5f6g7h8i9j0",
"timestamp": "2023-11-07T05:31:56Z",
"elapsed_ms": 1,
"dataset_id": "funding_rates_current",
"as_of": "2023-11-07T05:31:56Z",
"stale_after": "2023-11-07T05:31:56Z",
"freshness_sla_seconds": 123,
"freshness_status": "fresh",
"runtime_status": "ok",
"served_from": "snapshot",
"generated_at": "2023-11-07T05:31:56Z",
"source": [
"<string>"
],
"coverage": {
"expected": 123,
"used": 123,
"dropped": {},
"missing": [
"<string>"
]
},
"warnings": [
"<string>"
],
"truncated": true
}
}{
"type": "https://www.sharpe.ai/errors/internal_error",
"title": "Internal Server Error",
"status": 500,
"detail": "An unexpected error occurred. Please try again later.",
"request_id": "req_a1b2c3d4e5f6g7h8i9j0",
"doc_url": "https://www.sharpe.ai/docs/errors#retry-guidance",
"suggested_action": "Retry with exponential backoff (1s, 2s, 4s, up to 30s). If the error persists, contact support with the X-Request-Id."
}
