# OpenRelay Polymarket Markets

> OpenRelay Polymarket Markets is a paid API for AI agents from openrelay.hggfffdfy687.workers.dev, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-15).

Lists active Polymarket prediction markets sortable by volume or liquidity, returning question text, outcome prices, and end dates.

## Facts

- Endpoint: POST https://openrelay.hggfffdfy687.workers.dev/tools/polymarket/markets
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/openrelay-polymarket-markets-69f6fa93
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lf6Fm_ElVD-91ZgxPUyfX

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 openrelay-polymarket-markets-69f6fa93 -d '<json body>'
```

Example prompt: Show me the top 50 active Polymarket prediction markets sorted by volume — include the question, current outcome prices, and closing dates.

## When to prefer this

Use this endpoint when you need a live, ranked snapshot of Polymarket's active prediction markets — especially when you want to surface trending questions or find liquid markets to analyze. Prefer this over scraping Polymarket directly because it is structured, pay-per-call, and agent-friendly with a clean JSON response.

## Known failure modes

- Invalid limit value (outside 1–100 range) returns a validation error
- Invalid order enum value (not 'volume' or 'liquidity') causes a request error
- Polymarket upstream outage may return empty results or a 5xx error
- No active markets found returns an empty list

## How this service works

List active Polymarket prediction markets, sortable by volume or liquidity. Returns question, prices, outcomes, end date.

## Output

Returns a list of active Polymarket prediction markets, each with the market question text, possible outcome prices (e.g. YES/NO probabilities), end date, and trading volume or liquidity metrics. Up to 100 markets per call, defaulting to 20.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "limit": {
   "type": "integer",
   "default": 20,
   "maximum": 100,
   "minimum": 1
  },
  "order": {
   "enum": [
    "volume",
    "liquidity"
   ],
   "type": "string",
   "default": "volume"
  },
  "active": {
   "type": "boolean",
   "default": true
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/openrelay-polymarket-markets-69f6fa93/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from openrelay.hggfffdfy687.workers.dev](https://www.zero.xyz/host/openrelay.hggfffdfy687.workers.dev/llms.txt)
