GET /v1/markets/condition/:id
GET /v1/markets/condition/:id
Section titled “GET /v1/markets/condition/:id”Look up a market by its CTF condition ID. Same response format as slug lookup.
Path Parameters
Section titled “Path Parameters”| Parameter | Type | Description |
|---|---|---|
id | string | CTF condition identifier (hex) |
Request
Section titled “Request”curl -s https://polynode.dev/v1/markets/condition/0xabc123... \ -H "x-api-key: pn_live_YOUR_KEY"Response
Section titled “Response”Same structure as GET /v1/markets/slug/:slug — includes metadata, tokens array, and outcome prices.
Errors
Section titled “Errors”| Status | Description |
|---|---|
| 404 | No market found with that condition ID |