curl --request GET \
--url https://www.sharpe.ai/api/v1/coins/{coin}/analysis \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://www.sharpe.ai/api/v1/coins/{coin}/analysis', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://www.sharpe.ai/api/v1/coins/{coin}/analysis"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"report": "coin-analysis",
"coin": "<string>",
"report_md": "<string>",
"inputs": [
{
"label": "<string>",
"endpoint": "<string>",
"query": {},
"dataset_id": "<string>",
"as_of": "2023-11-07T05:31:56Z",
"freshness_status": "fresh",
"runtime_status": "ok",
"error": "<string>"
}
]
},
"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
}
}Coin analysis
One coin’s analysis rendered as markdown: its price-prediction score and signals (when the asset is in the prediction coverage list), the price with its as-of; its current funding on its 10 largest markets by open interest (8h-equivalent rate and APR, each labelled with its rate_kind: on most venues the estimate of the next payment, not yet charged) with the average and median across venues; the asset’s open-interest total from the global board in USD notional, with its 1h/24h change beside the 24h price change (USD open interest moves with price); and the dollars its funding is estimated to move over the next 24 hours at current rates. inputs lists each read with the freshness of its answer; a read that fails leaves a gap in the report, not an error.
curl --request GET \
--url https://www.sharpe.ai/api/v1/coins/{coin}/analysis \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://www.sharpe.ai/api/v1/coins/{coin}/analysis', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://www.sharpe.ai/api/v1/coins/{coin}/analysis"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"report": "coin-analysis",
"coin": "<string>",
"report_md": "<string>",
"inputs": [
{
"label": "<string>",
"endpoint": "<string>",
"query": {},
"dataset_id": "<string>",
"as_of": "2023-11-07T05:31:56Z",
"freshness_status": "fresh",
"runtime_status": "ok",
"error": "<string>"
}
]
},
"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
}
}Authorizations
Path Parameters
Coin ticker (BTC, ETH, 1000PEPE), any case. The funding reads resolve it to its asset (PEPE brings its 1000PEPE and KPEPE contracts); the price prediction is matched in the coverage list by that asset, else by ticker, never by a guessed slug. The settlement read matches the ticker as written, and the report names the asset's other spellings it leaves out.
1 - 64
