GET /markets-by-ids
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/manifold/markets-by-idsCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeBatch lookup of multiple market contracts by id.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
ids | query | list[str] | required | Contract ids (repeated `ids` or comma-separated). example: ["INPLL9csg9","nERguQgpuOIZ"] |
Response
type: array
pagination: none
sample: {
"[0]": "object"
}
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/manifold/markets-by-ids?ids=%5B%27INPLL9csg9%27%2C%20%27nERguQgpuOIZ%27%5D"