# claw402 Polygon Aggregates Ticker

> claw402 Polygon Aggregates Ticker is a paid API for AI agents from claw402.ai, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-15).

Fetches aggregated OHLCV bar data for a stock or asset ticker over a specified time range and timespan via USDC micropayment

## Facts

- Endpoint: GET https://claw402.ai/api/v1/polygon/aggs/ticker
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/claw402-polygon-aggregates-ticker-4c79abef
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EJSW5Kc6AuQEgkGzAqzOz

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-aggregates-ticker-4c79abef
```

Example prompt: Can you pull daily adjusted price bars for AAPL from 2024-01-01 to 2024-06-30, sorted ascending with a limit of 50 results?

## When to prefer this

Use this endpoint when you need historical OHLCV aggregate bar data for a stock or financial instrument and want to pay per-call in USDC without registering for an API key. Prefer this over direct Polygon.io access when you want a wallet-based, keyless micropayment model via the x402 protocol.

## Known failure modes

- Missing required stocksTicker parameter returns empty data array
- Invalid date format in 'from' or 'to' causes empty or error response
- Unsupported timespan or multiplier value returns no results
- Insufficient USDC balance or failed x402 payment prevents access (HTTP 402)
- Ticker symbol not found on Polygon returns empty data array
- Rate limiting or gateway errors return non-zero code

## How this service works

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

## Output

Returns a JSON object with a status code and a data array containing aggregated OHLCV bars for the requested ticker and time range, each bar representing open, high, low, close, and volume over the specified timespan and multiplier.

## 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": {
      "to": {
       "type": "string"
      },
      "from": {
       "type": "string"
      },
      "sort": {
       "type": "string"
      },
      "limit": {
       "type": "string"
      },
      "adjusted": {
       "type": "string"
      },
      "timespan": {
       "type": "string"
      },
      "multiplier": {
       "type": "string"
      },
      "stocksTicker": {
       "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-aggregates-ticker-4c79abef/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)
