# Polygon PoS Onchain Data

> Polygon PoS Onchain Data is a paid API for AI agents from ca-tax-api-mainnet.lxtap.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-23).

Identifies and classifies any Polygon PoS address — returning whether it is a wallet or contract, token standard, name/symbol, proxy details, bytecode size, nonce, and POL balance.

## Facts

- Endpoint: GET https://ca-tax-api-mainnet.lxtap.workers.dev/polygon/contract?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/polygon-pos-onchain-data-b39835d8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1mB9xaGU6Rutvu8F3EfX8

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 polygon-pos-onchain-data-b39835d8
```

Example prompt: Can you check what's at this Polygon PoS address — 0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619 — is it a wallet or a contract, and if it's a contract, what token standard does it use and what are its name and symbol?

## When to prefer this

Use this endpoint when you need a comprehensive one-shot classification and metadata snapshot of any Polygon PoS address — especially when you need to distinguish EOAs from contracts, identify token standards, or investigate proxy architecture. Prefer this over chain-specific alternatives when the target chain is confirmed to be Polygon PoS. For Ethereum or Arbitrum addresses, use the sibling endpoints on the same provider.

## Known failure modes

- Invalid address format — address must match ^0x[0-9a-fA-F]{40}$ pattern
- Address not found or has no onchain activity (returns empty/zero values)
- RPC node unavailability causing timeout or 5xx error
- Rate limiting or payment failure for x402 micropayment
- Non-Polygon address submitted (e.g. Ethereum mainnet address that doesn't exist on Polygon)

## How this service works

Pay-per-call data for AI agents, paid in USDC on Base with x402: token risk checks (rug check) on Base, Ethereum, Arbitrum, Optimism, Polygon and Solana, onchain reads (balances, transactions, gas, contracts, NFTs, whale trades, new pools, ENS and Basenames), ECB exchange rates, and Canadian sales tax and business days.

## Output

Returns a structured snapshot of the Polygon PoS address including: address classification (EOA or contract), EIP-7702 delegation target if applicable, token standard implemented (ERC-20, ERC-721, ERC-1155 or none), token name and symbol, upgradeable-proxy implementation address and admin, smart-wallet proxy type, bytecode size in bytes, account nonce, and current POL (native token) balance.

## 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",
     "required": [
      "address"
     ],
     "properties": {
      "address": {
       "type": "string",
       "pattern": "^0x[0-9a-fA-F]{40}$",
       "description": "Any address on Polygon PoS"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "kind": "ERC-20 token",
  "name": "USD Coin",
  "chain": "polygon",
  "proxy": {
   "admin": "0x9238E612387eBBA4D4Fa0d76DbFbA99b453417b3",
   "upgradeable": true,
   "implementation": "0x235AE97b28466Db30469b89A9fe4cFf0659f82Cb"
  },
  "symbol": "USDC",
  "address": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
  "decimals": 6,
  "standards": {
   "erc20": true,
   "erc165": false,
   "erc721": false,
   "erc1155": false
  },
  "isContract": true,
  "totalSupply": "586295089.86576",
  "bytecodeBytes": 1852,
  "nativeBalance": "0"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/polygon-pos-onchain-data-b39835d8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ca-tax-api-mainnet.lxtap.workers.dev](https://www.zero.xyz/host/ca-tax-api-mainnet.lxtap.workers.dev/llms.txt)
