# claw402 Polygon Trades API (vergex.trade)

> claw402 Polygon Trades API (vergex.trade) is a paid API for AI agents from claw402.ai, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-13).

Retrieves trade records on the Polygon network, filterable by stock ticker, sort order, limit, and timestamp range, paid per-call with USDC via x402.

## Facts

- Endpoint: GET https://claw402.ai/api/v1/polygon/trades
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/claw402-polygon-trades-api-vergex-trade-f56a9069
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tkmhxKcDfNhivyIDoec6F

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 claw402-polygon-trades-api-vergex-trade-f56a9069
```

Example prompt: Pull the last 50 trades for AAPL from the Polygon trades feed on vergex.trade, sorted in descending order, from January 1st to January 31st 2025.

## When to prefer this

Choose this endpoint when you need on-demand, per-call access to Polygon network trade data without API key registration, paying micro-amounts of USDC via x402. Ideal for agents that need lightweight, wallet-authenticated trade lookups with flexible timestamp and ticker filtering.

## Known failure modes

- Payment not made or insufficient USDC — 402 Payment Required response
- Invalid or missing stockTicker parameter — empty data array returned
- Timestamp format incorrect — no matching records or error response
- Limit or sort value malformed — unexpected or empty results
- Network or provider (vergex.trade) downtime — connection error or 5xx response

## How this service works

Backed by vergex.trade. Pay for any API with USDC. No API keys. No registration. Just a wallet.

## Output

A JSON object with a code field (0 = success) and a data array containing trade records matching the query parameters — filtered by ticker, timestamp range, and sorted/limited as requested.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "sort": {
       "type": "string"
      },
      "limit": {
       "type": "string"
      },
      "order": {
       "type": "string"
      },
      "stockTicker": {
       "type": "string"
      },
      "timestamp.gt": {
       "type": "string"
      },
      "timestamp.lt": {
       "type": "string"
      },
      "timestamp.gte": {
       "type": "string"
      },
      "timestamp.lte": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "code": 0,
  "data": []
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/claw402-polygon-trades-api-vergex-trade-f56a9069/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from claw402.ai](https://www.zero.xyz/host/claw402.ai/llms.txt)
