Predictions Latest
Get the most recent predictions from top-performing miners.
GET /v2/prediction/latestParameters
Parameter
Type
Required
Description
asset
string
Yes
BTC, ETH, SOL, XAU, SPYX, NVDAX, TSLAX, AAPLX, GOOGLX
time_increment
integer
Yes
300 (5min) or 60 (1min)
time_length
integer
Yes
86400 (24h) or 3600 (1h)
limit
integer
No
Top miners (default: 10)
Request examples
curl "https://api.synthdata.co/v2/prediction/latest?asset=BTC&time_increment=300&time_length=86400&limit=10" \
-H "Authorization: Apikey YOUR_API_KEY"import requests
headers = {"Authorization": "Apikey YOUR_API_KEY"}
params = {"asset": "BTC", "time_increment": 300, "time_length": 86400, "limit": 10}
response = requests.get(
"https://api.synthdata.co/v2/prediction/latest",
headers=headers,
params=params
)
predictions = response.json()Response
[
{
"miner_uid": 42,
"start_time": 1738329600,
"predictions": [
[98234.56, 98456.78, ...],
[98345.67, 98567.89, ...],
...
]
}
]Example: aggregate and compute statistics (Python)
Next Steps
Get historical predictions