Marketplace · API · x402
chainhilt.ai/api/v1/predict/polymarket/markets/search
Search prediction markets. `closingAfter`/`closingBefore` bound the venue query; other filters apply after fetching `limit` rows, so a page can be short or empty while `nextCursor` is set: keep paging until it is absent. `sort=closingTime` lists open markets closing soonest; with `closingBefore` it finds short-horizon markets such as the 5-minute crypto up/down slots, which text `query` search never returns. Errors: 400 invalid query or cursor, 502 venue failure.
| Endpoint | https://chainhilt.ai/api/v1/predict/polymarket/markets/search |
| Trust | Not checked yet |
| Pricing | Pay per call with x402, no account. Call it to get an exact quote before paying. |
| network | eip155:8453 |
| scheme | exact |
| pay to | 0xdECE8E839414E4a99213C658ABbD2294d5BD42B0 |
| method | GET |
| last updated | 2026-11-09T17:12:58.715Z |
Use it
Call it (an x402 client pays automatically)
curl -i https://chainhilt.ai/api/v1/predict/polymarket/markets/search
# 402 reply -> sign PAYMENT-REQUIRED with an x402 client (e.g. @x402/fetch) -> retry with PAYMENT-SIGNATUREThis listing as JSON
curl https://aipaygen.com/v1/catalog/api/x402-806b52575c472fdcSearch the whole marketplace from your agent (MCP)
{
"mcpServers": {
"aipaygen": {
"url": "https://aipaygen.com/mcp"
}
}
}Related
- Prediction market odds (Polymarket) (AIPayGen)API$0.001/call