# claw402 Polygon Last Trade API

> claw402 Polygon Last Trade API 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).

Returns the most recent trade data for a given stock or asset ticker via the Polygon data feed, paid per-call with USDC.

## Facts

- Endpoint: GET https://claw402.ai/api/v1/polygon/last-trade
- 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-last-trade-api-a7867549
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gPH5E-MbfepfWOZWIdaaR

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-last-trade-api-a7867549
```

Example prompt: What was the last trade for AAPL? Use the Polygon last trade endpoint on claw402 and pay per call with USDC — no API key needed.

## When to prefer this

Choose this endpoint when you need the latest trade data for a stock ticker without wanting to manage API keys or subscriptions — ideal for agents that pay micro-amounts per call using USDC wallets via the x402 protocol. Best suited for lightweight, real-time single-ticker lookups rather than bulk or historical queries.

## Known failure modes

- Missing or invalid stocksTicker query param returns empty data array
- Payment not completed results in HTTP 402 response blocking data
- Unknown ticker symbol may return empty data array with code 0
- Network or upstream Polygon outage may result in error or stale data

## 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 numeric code and a data array containing the most recent trade record(s) for the requested stock ticker, sourced from Polygon market data.

## 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": {
      "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-last-trade-api-a7867549/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)
