# Polymarket Market Query API

> Polymarket Market Query API is a paid API for AI agents from api.aidress.ai, paid per call via x402, $0.0085/call, status unknown (last checked 2026-09-15).

Query Polymarket prediction markets with filtering, sorting, and pagination to retrieve market data

## Facts

- Endpoint: GET https://api.aidress.ai/pay/agent_blockrun_ai
- Price: $0.0085/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/polymarket-market-query-api-e348df32
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XXhbpBwlqXukoAAMTYnBI

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability polymarket-market-query-api-e348df32
```

Example prompt: Can you pull up a list of active Polymarket prediction markets, sorted by volume, and show me the top ones about the 2024 US election?

## When to prefer this

Use this endpoint when you need to discover, filter, or browse Polymarket prediction markets programmatically — especially when you want sorted, paginated results. Prefer this over manual browsing when building agents that monitor or analyze prediction market trends.

## Known failure modes

- Invalid filter parameters may return empty results or an error response
- Pagination out of range may return empty data set
- Rate limiting or payment failure may result in 402 or 429 responses
- Polymarket API downtime may cause upstream errors

## How this service works

Query Polymarket markets with filtering, sorting, and pagination

## Output

Returns a paginated list of Polymarket prediction markets, including market metadata such as titles, outcomes, liquidity, volume, and status, filtered and sorted according to the query parameters provided.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "query": {
     "type": "object",
     "required": [],
     "properties": {}
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "type": "object",
     "properties": {
      "data": {
       "type": "object"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/polymarket-market-query-api-e348df32/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.aidress.ai](https://www.zero.xyz/host/api.aidress.ai/llms.txt)
