# Polymarket Prediction Market Listings

> Polymarket Prediction Market Listings is a paid API for AI agents from free-api-resell.relayhop.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Fetches a paginated list of active Polymarket prediction market listings including market metadata

## Facts

- Endpoint: GET https://free-api-resell.relayhop.workers.dev/v1/polymarket/markets
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/free-api-resell-relayhop-workers-dev-1f194d5f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xB3cYPDfpWBS8AgNm8QSW

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 free-api-resell-relayhop-workers-dev-1f194d5f
```

Example prompt: Can you pull the top 50 active prediction markets from Polymarket right now so I can see what events are currently listed?

## When to prefer this

Use this endpoint when you need a quick, low-cost listing of active Polymarket prediction markets without setting up direct Polymarket API access. Ideal for agents that need to browse or surface market opportunities programmatically. At $0.002 per call it's economical for periodic polling.

## Known failure modes

- Invalid limit parameter (outside 1-100 range) returns an error
- Upstream Polymarket Gamma API unavailability causes a 502 or timeout
- Payment of 0.002 USDC not fulfilled triggers a 402 Payment Required response
- Empty result set if no active markets are available

## How this service works

Polymarket prediction-market listings. Query: ?limit=1-100. Source: Polymarket Gamma API (free).

## Output

Returns a JSON array of Polymarket prediction market objects sourced from the Polymarket Gamma API, including market names, outcomes, and associated metadata, up to the specified limit (default 20, max 100).

## Example request

```json
{
 "input": {
  "limit": "20"
 }
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "limit": {
     "in": "query",
     "type": "string",
     "description": "number of markets, 1-100 (default 20)"
    }
   }
  },
  "output": {
   "type": "object"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/free-api-resell-relayhop-workers-dev-1f194d5f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from free-api-resell.relayhop.workers.dev](https://www.zero.xyz/host/free-api-resell.relayhop.workers.dev/llms.txt)
