# Financial Data x402 – Trending Markets

> Financial Data x402 – Trending Markets is a paid API for AI agents from x402financialdata.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Returns a ranked list of currently trending prediction and financial markets (e.g. from Polymarket), including outcome probabilities, trading volume, and close dates.

## Facts

- Endpoint: GET https://x402financialdata.com/trending-markets
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/financial-data-x402-trending-markets-296808e1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vfXSY4LkTNsFya0DIS3Y5

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 financial-data-x402-trending-markets-296808e1
```

Example prompt: What are the top trending prediction markets right now — show me the most active ones with their current outcome probabilities and trading volumes?

## When to prefer this

Choose this endpoint when you need a real-time snapshot of the most actively traded or trending prediction markets without requiring an API key or subscription. It is ideal for agents that need zero-setup access to Polymarket trend data paid per-call in USDC via the x402 protocol, especially when you want volume-ranked market discovery rather than querying a specific market by ID.

## Known failure modes

- Payment not received or insufficient USDC — endpoint returns HTTP 402 requiring payment
- Network or upstream Polymarket data unavailable — may return empty markets array or 5xx error
- Malformed payment header — request rejected before data is returned
- No trending markets currently available — count returns 0 with empty array

## How this service works

Pay-per-call stock, macro, on-chain, and crypto data over the x402 protocol. USDC on Base or Solana, no API keys, no subscriptions.

## Output

A JSON object containing a count, the data source (e.g. 'polymarket'), and an array of trending market objects. Each market includes a unique ID, title, source, status (active/closed), a list of outcomes with names and probabilities (0–1), a close date/time, total volume in USD, and 24-hour volume in USD.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "required": {
   "type": "string"
  },
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 1,
  "source": "polymarket",
  "markets": [
   {
    "id": "israel-x-iran-ceasefire-continues-through-august-2-20260727170555149",
    "title": "Israel x Iran ceasefire continues through August 2?",
    "source": "polymarket",
    "status": "active",
    "outcomes": [
     {
      "name": "Yes",
      "probability": 0.745
     },
     {
      "name": "No",
      "probability": 0.255
     }
    ],
    "close_date": "2026-08-02T23:59:00Z",
    "volume_usd": 1556592.259621001,
    "volume_24h_usd": 1112365.174385003
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/financial-data-x402-trending-markets-296808e1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402financialdata.com](https://www.zero.xyz/host/x402financialdata.com/llms.txt)
