Polyform Crypto API

The crypto API from Polyform — 17 operation(s) for crypto.

GitHub OpenAPI

Operations 17

GET /v1/crypto/token-report Token report (on-chain) — On-chain facts and risk signals for an ERC-20 token… #
GET /v1/crypto/protocol DeFi protocol brief (bundle) — One call for a DeFi protocol by slug: total… #
GET /v1/crypto/gas EVM gas price — Current gas price for Base or Ethereum mainnet, in gwei and wei. #
GET /v1/crypto/balance Wallet balance (Base) — Native ETH + USDC balance for any address on Base… #
GET /v1/crypto/price Crypto spot prices (USD) — Current USD spot price for one or more crypto assets… #
GET /v1/crypto/fear-greed Crypto Fear & Greed Index — Current Crypto Fear & Greed Index (0=extreme fear… #
GET /v1/crypto/tvl DeFi TVL + top chains — Total DeFi value-locked across all chains plus the top… #
GET /v1/crypto/stablecoins Stablecoin market caps — Circulating USD market cap of major stablecoins and… #
GET /v1/crypto/btc-payment-check Bitcoin payment check — Did this Bitcoin address get paid? #
GET /v1/crypto/btc-fees Bitcoin fee estimates — Live Bitcoin network fee rates in sat/vB for fastest… #
GET /v1/crypto/btc-address Bitcoin address balance — Balance and activity for any Bitcoin address… #
GET /v1/crypto/btc-tx Bitcoin transaction status — Status of a Bitcoin transaction by txid: confirmed… #
GET /v1/crypto/ens ENS name lookup — Resolve an ENS name to its wallet address (or an address back… #
GET /v1/crypto/address Wallet or contract check — Profile an address on Base or Ethereum: wallet vs… #
GET /v1/crypto/history Crypto price history and stats — Daily USD price history for a coin (by… #
GET /v1/crypto/token-price Token price by contract address — USD price for any token by contract address… #
GET /v1/crypto/tx Transaction status and transfers (Base / Ethereum) — Look up an on-chain… #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/polyform-org:polyform-org-crypto-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

polyform-org-crypto-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Polyform — machine-payable data Crypto API
  version: 1.0.0
  description: Pay-per-call data endpoints for AI agents. USDC on Base via x402. No account, no API key — one micropayment per call.
  x-guidance: 'Polyform sells single-answer data lookups priced per call. GET the catalog at / for the full list. Categories: vehicle (VIN decode, recalls, deal verdict, fuel economy), domain & email intelligence, SEC/EDGAR company facts & filing search, FDA recalls & drug labels, US weather (forecast, hourly, alerts, aviation METAR, travel-risk), geocoding, IP network & threat reputation, World Bank indicators, and an LLM inference gateway. Each call returns a 402 with x402 payment requirements; pay in USDC on Base and retry. All data derives from public/government sources or first-party telemetry.'
servers:
- url: https://api.polyform.org
tags:
- name: Crypto
paths:
  /v1/crypto/token-report:
    get:
      operationId: v1_crypto_token_report
      summary: Token report (on-chain) — On-chain facts and risk signals for an ERC-20 token…
      tags:
      - Crypto
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '0.020000'
        protocols:
        - x402: {}
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  name:
                    type: string
                  symbol:
                    type: string
                  decimals:
                    type: number
                  priceUsd:
                    type: number
                  contract:
                    type: object
                  riskLevel:
                    type: string
                  flags:
                    type: array
                    items: {}
              example:
                name: USD Coin
                symbol: USDC
                decimals: 6
                priceUsd: 1
                contract:
                  upgradeableProxy: true
                  ownershipRenounced: null
                riskLevel: LOW
                flags:
                - 'upgradeable proxy: the token logic can be changed by its admin'
        '402':
          description: Payment Required
      parameters:
      - name: address
        in: query
        required: true
        description: token contract address (0x...)
        schema:
          type: string
      - name: chain
        in: query
        required: false
        description: 'optional: base (default) or ethereum'
        schema:
          type: string
  /v1/crypto/protocol:
    get:
      operationId: v1_crypto_protocol
      summary: 'DeFi protocol brief (bundle) — One call for a DeFi protocol by slug: total…'
      tags:
      - Crypto
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '0.030000'
        protocols:
        - x402: {}
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  name:
                    type: string
                  category:
                    type: string
                  tvlUsd:
                    type: number
                  chains:
                    type: array
                    items: {}
                  audited:
                    type: boolean
              example:
                name: Aave
                category: Lending
                tvlUsd: 43700000000
                chains:
                - chain: Ethereum
                  tvlUsd: 20000000000
                audited: true
        '402':
          description: Payment Required
      parameters:
      - name: slug
        in: query
        required: true
        description: protocol slug, e.g. aave, uniswap, lido
        schema:
          type: string
  /v1/crypto/gas:
    get:
      operationId: v1_crypto_gas
      summary: EVM gas price — Current gas price for Base or Ethereum mainnet, in gwei and wei.
      tags:
      - Crypto
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '0.002000'
        protocols:
        - x402: {}
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  chain:
                    type: string
                  gasPriceGwei:
                    type: number
                  gasPriceWei:
                    type: string
              example:
                chain: base
                gasPriceGwei: 0.006
                gasPriceWei: '6000000'
        '402':
          description: Payment Required
      parameters:
      - name: chain
        in: query
        required: false
        description: base | ethereum (default base)
        schema:
          type: string
  /v1/crypto/balance:
    get:
      operationId: v1_crypto_balance
      summary: Wallet balance (Base) — Native ETH + USDC balance for any address on Base…
      tags:
      - Crypto
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '0.003000'
        protocols:
        - x402: {}
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  address:
                    type: string
                  eth:
                    type: number
                  usdc:
                    type: number
                  chain:
                    type: string
              example:
                address: 0x…
                eth: 0.5
                usdc: 1200.5
                chain: base
        '402':
          description: Payment Required
      parameters:
      - name: address
        in: query
        required: true
        description: 0x wallet address
        schema:
          type: string
  /v1/crypto/price:
    get:
      operationId: v1_crypto_price
      summary: Crypto spot prices (USD) — Current USD spot price for one or more crypto assets…
      tags:
      - Crypto
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '0.003000'
        protocols:
        - x402: {}
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  prices:
                    type: object
                  count:
                    type: number
                  source:
                    type: string
              example:
                prices:
                  bitcoin:
                    symbol: BTC
                    priceUSD: 63000
                    confidence: 0.99
                    asOf: '2026-09-28T21:00:00.000Z'
                count: 1
                source: DefiLlama
        '402':
          description: Payment Required
      parameters:
      - name: coins
        in: query
        required: true
        description: comma-separated CoinGecko ids (e.g. bitcoin,ethereum,solana)
        schema:
          type: string
  /v1/crypto/fear-greed:
    get:
      operationId: v1_crypto_fear_greed
      summary: Crypto Fear & Greed Index — Current Crypto Fear & Greed Index (0=extreme fear…
      tags:
      - Crypto
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '0.002000'
        protocols:
        - x402: {}
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  value:
                    type: number
                  classification:
                    type: string
                  asOf:
                    type: string
                  scale:
                    type: string
                  source:
                    type: string
              example:
                value: 45
                classification: Fear
                asOf: '2026-09-28T00:00:00.000Z'
                scale: 0=extreme fear, 100=extreme greed
                source: alternative.me Crypto Fear & Greed Index
        '402':
          description: Payment Required
      parameters:
      - name: note
        in: query
        required: true
        description: no parameters required
        schema:
          type: string
  /v1/crypto/tvl:
    get:
      operationId: v1_crypto_tvl
      summary: DeFi TVL + top chains — Total DeFi value-locked across all chains plus the top…
      tags:
      - Crypto
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '0.005000'
        protocols:
        - x402: {}
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  totalDefiTvlUSD:
                    type: number
                  chainCount:
                    type: number
                  topChains:
                    type: array
                    items: {}
                  source:
                    type: string
              example:
                totalDefiTvlUSD: 95000000000
                chainCount: 300
                topChains:
                - chain: Ethereum
                  tvlUSD: 60000000000
                source: DefiLlama
        '402':
          description: Payment Required
      parameters:
      - name: note
        in: query
        required: true
        description: no parameters
        schema:
          type: string
  /v1/crypto/stablecoins:
    get:
      operationId: v1_crypto_stablecoins
      summary: Stablecoin market caps — Circulating USD market cap of major stablecoins and…
      tags:
      - Crypto
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '0.005000'
        protocols:
        - x402: {}
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  totalStablecoinMarketUSD:
                    type: number
                  count:
                    type: number
                  top:
                    type: array
                    items: {}
                  source:
                    type: string
              example:
                totalStablecoinMarketUSD: 160000000000
                count: 200
                top:
                - name: Tether
                  symbol: USDT
                  circulatingUSD: 90000000000
                source: DefiLlama
        '402':
          description: Payment Required
      parameters:
      - name: note
        in: query
        required: true
        description: no parameters
        schema:
          type: string
  /v1/crypto/btc-payment-check:
    get:
      operationId: v1_crypto_btc_payment_check
      summary: Bitcoin payment check — Did this Bitcoin address get paid?
      tags:
      - Crypto
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '0.006000'
        protocols:
        - x402: {}
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  paid:
                    type: boolean
                  status:
                    type: string
                  match:
                    type: object
              example:
                paid: true
                status: PAID
                match:
                  txid: 4a5e1e4b...
                  btc: 0.005
                  confirmations: 3
        '402':
          description: Payment Required
      parameters:
      - name: address
        in: query
        required: true
        description: receiving Bitcoin address
        schema:
          type: string
      - name: amount
        in: query
        required: false
        description: optional expected amount in BTC
        schema:
          type: string
      - name: min_conf
        in: query
        required: false
        description: optional minimum confirmations (default 1)
        schema:
          type: string
  /v1/crypto/btc-fees:
    get:
      operationId: v1_crypto_btc_fees
      summary: Bitcoin fee estimates — Live Bitcoin network fee rates in sat/vB for fastest…
      tags:
      - Crypto
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '0.002000'
        protocols:
        - x402: {}
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  unit:
                    type: string
                  fastest:
                    type: number
                  halfHour:
                    type: number
                  hour:
                    type: number
                  economy:
                    type: number
                  blockHeight:
                    type: number
              example:
                unit: sat/vB
                fastest: 5
                halfHour: 4
                hour: 3
                economy: 2
                blockHeight: 976465
        '402':
          description: Payment Required
  /v1/crypto/btc-address:
    get:
      operationId: v1_crypto_btc_address
      summary: Bitcoin address balance — Balance and activity for any Bitcoin address…
      tags:
      - Crypto
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '0.004000'
        protocols:
        - x402: {}
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  address:
                    type: string
                  balanceBtc:
                    type: number
                  txCount:
                    type: number
                  pendingSats:
                    type: number
              example:
                address: bc1q...
                balanceBtc: 0.0153
                txCount: 42
                pendingSats: 0
        '402':
          description: Payment Required
      parameters:
      - name: address
        in: query
        required: true
        description: Bitcoin address (legacy, segwit or taproot)
        schema:
          type: string
  /v1/crypto/btc-tx:
    get:
      operationId: v1_crypto_btc_tx
      summary: 'Bitcoin transaction status — Status of a Bitcoin transaction by txid: confirmed…'
      tags:
      - Crypto
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '0.004000'
        protocols:
        - x402: {}
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  txid:
                    type: string
                  confirmed:
                    type: boolean
                  confirmations:
                    type: number
                  feeSats:
                    type: number
                  totalOutputBtc:
                    type: number
              example:
                txid: 4a5e1e4b...
                confirmed: true
                confirmations: 6
                feeSats: 1400
                totalOutputBtc: 0.5
        '402':
          description: Payment Required
      parameters:
      - name: txid
        in: query
        required: true
        description: 64-character transaction id
        schema:
          type: string
  /v1/crypto/ens:
    get:
      operationId: v1_crypto_ens
      summary: ENS name lookup — Resolve an ENS name to its wallet address (or an address back…
      tags:
      - Crypto
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '0.003000'
        protocols:
        - x402: {}
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  name:
                    type: string
                  address:
                    type: string
                  found:
                    type: boolean
              example:
                name: vitalik.eth
                address: '0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045'
                found: true
        '402':
          description: Payment Required
      parameters:
      - name: name
        in: query
        required: true
        description: ENS name, e.g. vitalik.eth
        schema:
          type: string
      - name: address
        in: query
        required: true
        description: or 0x address for reverse lookup
        schema:
          type: string
  /v1/crypto/address:
    get:
      operationId: v1_crypto_address
      summary: 'Wallet or contract check — Profile an address on Base or Ethereum: wallet vs…'
      tags:
      - Crypto
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '0.004000'
        protocols:
        - x402: {}
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  address:
                    type: string
                  chain:
                    type: string
                  type:
                    type: string
                  isContract:
                    type: boolean
                  ethBalance:
                    type: number
                  usdcBalance:
                    type: number
                  transactionCount:
                    type: number
              example:
                address: 0xabc...
                chain: base
                type: EOA (wallet)
                isContract: false
                ethBalance: 0.02
                usdcBalance: 12.5
                transactionCount: 48
        '402':
          description: Payment Required
      parameters:
      - name: address
        in: query
        required: true
        description: 0x address
        schema:
          type: string
      - name: chain
        in: query
        required: false
        description: base (default) or ethereum
        schema:
          type: string
  /v1/crypto/history:
    get:
      operationId: v1_crypto_history
      summary: Crypto price history and stats — Daily USD price history for a coin (by…
      tags:
      - Crypto
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '0.004000'
        protocols:
        - x402: {}
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  coin:
                    type: string
                  symbol:
                    type: string
                  days:
                    type: number
                  changePct:
                    type: number
                  high:
                    type: number
                  low:
                    type: number
                  series:
                    type: array
                    items: {}
              example:
                coin: bitcoin
                symbol: BTC
                days: 30
                changePct: -4.2
                high: 112000
                low: 98000
                series:
                - date: '2026-11-18'
                  priceUsd: 104200
        '402':
          description: Payment Required
      parameters:
      - name: coin
        in: query
        required: true
        description: CoinGecko id, e.g. bitcoin
        schema:
          type: string
      - name: address
        in: query
        required: true
        description: or token contract address
        schema:
          type: string
      - name: chain
        in: query
        required: false
        description: chain for address, default base
        schema:
          type: string
      - name: days
        in: query
        required: false
        description: optional 2-365, default 30
        schema:
          type: string
  /v1/crypto/token-price:
    get:
      operationId: v1_crypto_token_price
      summary: Token price by contract address — USD price for any token by contract address…
      tags:
      - Crypto
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '0.003000'
        protocols:
        - x402: {}
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  chain:
                    type: string
                  prices:
                    type: array
                    items: {}
              example:
                chain: base
                prices:
                - address: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'
                  symbol: USDC
                  priceUsd: 0.9999
                  decimals: 6
        '402':
          description: Payment Required
      parameters:
      - name: address
        in: query
        required: true
        description: token contract address(es), comma-separated
        schema:
          type: string
      - name: chain
        in: query
        required: false
        description: base (default), ethereum, arbitrum, optimism, polygon, bsc, avax
        schema:
          type: string
  /v1/crypto/tx:
    get:
      operationId: v1_crypto_tx
      summary: Transaction status and transfers (Base / Ethereum) — Look up an on-chain…
      tags:
      - Crypto
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '0.004000'
        protocols:
        - x402: {}
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                  block:
                    type: number
                  confirmations:
                    type: number
                  from:
                    type: string
                  to:
                    type: string
                  feeEth:
                    type: number
                  tokenTransfers:
                    type: array
                    items: {}
              example:
                status: SUCCESS
                block: 59140000
                confirmations: 12
                from: 0xabc...
                to: 0x8335...
                feeEth: 1.2e-06
                tokenTransfers:
                - symbol: USDC
                  from: 0xabc...
                  to: 0xdef...
                  amount: 0.01
        '402':
          description: Payment Required
      parameters:
      - name: hash
        in: query
        required: true
        description: 0x-prefixed 64-hex transaction hash
        schema:
          type: string
      - name: chain
        in: query
        required: false
        description: base (default) or ethereum
        schema:
          type: string