# AgentToll Polymarket Trending Markets

> AgentToll Polymarket Trending Markets is a paid API for AI agents from agenttoll.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-15).

Fetches trending prediction markets from Polymarket, optionally filtered by category and result count.

## Facts

- Endpoint: POST https://agenttoll.dev/paid/polymarket/trending
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agenttoll-polymarket-trending-markets-3d8a101a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tuUN2_xfe52E5oOxJWgpw

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 agenttoll-polymarket-trending-markets-3d8a101a -d '<json body>'
```

Example prompt: What are the top 20 trending prediction markets on Polymarket right now, specifically in the politics category?

## When to prefer this

Use this endpoint when you need real-time trending prediction market data from Polymarket, especially when filtering by category (politics, crypto, sports, etc.) or when you want a ranked list of the most active markets. Prefer this over scraping Polymarket directly or using general web search when you need structured, machine-readable market data. The $0.02/call price makes it cost-effective for agents that need periodic market discovery without a direct Polymarket API integration.

## Known failure modes

- Empty markets array returned if no markets match the given category filter
- Invalid category string may return empty results or an error
- Limit outside the 5-100 range will fail schema validation
- Payment failure via x402 protocol will block access
- Polymarket Gamma API upstream outage results in error response
- Missing required 'input' wrapper object causes validation failure

## How this service works

Top trending Polymarket markets by 24h volume — prices, liquidity, volume data

## Output

Returns a JSON object with a source field identifying 'Polymarket Gamma API' and a markets array containing trending market objects with details such as market title, category, volume, and other Polymarket metadata about currently popular prediction markets.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "properties": {
      "limit": {
       "type": "integer",
       "maximum": 100,
       "minimum": 5
      },
      "category": {
       "type": "string",
       "maxLength": 50
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "source": "Polymarket Gamma API",
  "markets": []
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agenttoll-polymarket-trending-markets-3d8a101a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agenttoll.dev](https://www.zero.xyz/host/agenttoll.dev/llms.txt)
