GET /dex/aggr/predict/v2/line-chart
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/cmc/dex/aggr/predict/v2/line-chartCache cached 1s, never served stale past that windowCost per_call · weight 1 · standard rate classSource billing freeLine chart for an event: one series per market (marketId, title, prices).
name=predict_line_chart.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
eventId | query | str | required | Same opaque id as predict_event_detail. example: 6acabb194a762241a51e3a45 |
Response
type: array
pagination: none
sample: {
"len": "1",
"[0]": "object",
"[0].marketId": "6acabb194a762241a51e3a6d",
"[0].marketPriceId": "6acabb194a762241a51e3a8e",
"[0].title": "Match Winner"
}
Safe request
Reads the credential from API_HUB_KEY; it never appears in the URL.
curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/cmc/dex/aggr/predict/v2/line-chart?eventId=6acabb194a762241a51e3a45"