x402 Crypto API

The crypto API from x402 — 3 operation(s) for crypto.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 3

GET /v1/crypto/news Crypto and blockchain news from four newsrooms in one call (Cointelegraph… #
GET /v1/crypto/market Global crypto market snapshot: total market cap and 24h change, 24h volume… #
GET /v1/crypto/funding-rate Live perpetual futures funding rates for up to 10 coins from OKX: rate… #

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/x-402-online:x-402-online-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

x-402-online-crypto-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: x402-farm — pay-per-call data & security tools for AI…
  version: 1.0.0
  description: Pay-per-call APIs for AI agents — x402 protocol, USDC on Base, no account needed.
  x-nexora:
    what: One task, one payment, several capabilities, a verified result. Send an objective and a budget; the service picks the capabilities, runs them in order, checks the result and returns it with the evidence.
    when: 'When you want an answer rather than a raw API response: read a page and answer a question about it, search recent news and read a source, or just search. Not when you only need a single primitive you already know how to call.'
    returns: An answer, the sources it came from, the extracts that back it, the list of checks that were run, the real cost and the latency. If the source is blocked or the model cannot answer from it, you get an explicit failure and no answer, never an invented one.
    cost: 0.012800 USDC per task, fixed, whatever the number of internal steps. POST /v1/agent/quote is free and returns the plan, the price and the limits before you pay anything.
    payment: 'x402: call it, get HTTP 402 with the payment requirements, sign, retry. USDC on Base or Solana. No account, no API key.'
    slogan: ONE TASK -> ONE PAYMENT -> MULTIPLE CAPABILITIES -> VERIFIED RESULT
    workflow: DISCOVER -> QUOTE -> PAY -> EXECUTE -> VERIFY -> RESULT
    start_here:
    - 'POST /v1/agent/task — la capacité principale : un objectif, un paiement, un résultat vérifié'
    - 'POST /v1/agent/quote — gratuit : le plan, le prix et les limites AVANT de payer'
    - 'GET /v1/agent/capabilities — gratuit : ce qui est réellement disponible, et ce qui est dégradé'
  x-guidance: 'Each route is a named job at a fixed USDC price (see per-operation x-payment-info). Unpaid requests return HTTP 402 with x402 payment instructions. Highest-value jobs: GET /v1/crypto/security (honeypot / rug-pull verdict OK/CAUTION/HIGH_RISK/AVOID before trading, 8 chains), POST /v1/extract (residential-IP web scraping — reaches sites blocking datacenter/cloud IPs, returns clean markdown), GET /v1/fr/kyb (company KYB / SIREN), GET /v1/crypto/token (live token price & liquidity), and GET /v1/proxy/1gb|5gb|20gb (buy a RESIDENTIAL PROXY by the GB — route your HTTP/HTTPS traffic through a real residential IP that datacenter proxies can''t match; returns a ready-to-use proxy key, from $2/GB, cheaper than Browserbase/Bright Data). Pay per call, no subscription, no API key.'
  contact:
    email: laurenthalbrun@gmail.com
servers:
- url: https://x-402.online
tags:
- name: Crypto
paths:
  /v1/crypto/news:
    get:
      operationId: getCryptoNews
      tags:
      - Crypto
      summary: Crypto and blockchain news from four newsrooms in one call (Cointelegraph…
      security: []
      description: 'Crypto and blockchain news from four newsrooms in one call (Cointelegraph, Decrypt, The Block, CoinDesk), deduplicated and sorted newest first: title, link, publication time, summary and source. Optional keyword filter. Query: ?q=bitcoin etf&limit=20 — Price: $0.005000 per call via x402 (USDC on Base or Solana). Unpaid requests get HTTP 402 with the exact amount in the challenge.'
      parameters:
      - name: q
        in: query
        required: false
        schema:
          type: string
        example: bitcoin
      - name: limit
        in: query
        required: false
        schema:
          type: integer
        example: 10
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  count:
                    type: integer
                  sources_answered:
                    type: array
                    items:
                      type: string
                  articles:
                    type: array
                    items:
                      type: object
                      properties:
                        title:
                          type: string
                        link:
                          type: string
                          format: uri
                        published:
                          type: string
                        source:
                          type: string
              example:
                count: 10
                sources_answered:
                - Cointelegraph
                - Decrypt
                - The Block
                articles:
                - title: …
                  link: https://…
                  published: '2026-09-25T14:02:00.000Z'
                  source: Decrypt
        '402':
          description: Payment Required
      x-payment-info:
        protocols:
        - x402:
            networks:
            - eip155:8453
            - solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
            asset: USDC
            scheme: exact
            amountAtomic: '5000'
        price:
          mode: fixed
          currency: USD
          amount: '0.005000'
  /v1/crypto/market:
    get:
      operationId: getCryptoMarket
      tags:
      - Crypto
      summary: 'Global crypto market snapshot: total market cap and 24h change, 24h volume…'
      security: []
      description: 'Global crypto market snapshot: total market cap and 24h change, 24h volume, bitcoin dominance, USD stablecoin supply and share, assets tracked, distance from all-time high Global crypto market snapshot in one call: total market cap and its 24h change, 24h volume, bitcoin dominance, total USD stablecoin supply and its share of the market, number of assets, and distance from the all-time-high market cap. Query: none — Price: $0.005000 per call via x402 (USDC on Base or Solana). Unpaid requests get HTTP 402 with the exact amount in the challenge.'
      parameters: []
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  total_market_cap_usd:
                    type: integer
                  market_cap_change_24h_pct:
                    type: number
                  volume_24h_usd:
                    type: integer
                  bitcoin_dominance_pct:
                    type: number
                  stablecoin_supply_usd:
                    type: integer
                  pct_from_ath:
                    type: number
              example:
                total_market_cap_usd: 3044695120081
                market_cap_change_24h_pct: 0.79
                volume_24h_usd: 103357399527
                bitcoin_dominance_pct: 55.99
                stablecoin_supply_usd: 290000000000
                pct_from_ath: -36.88
        '402':
          description: Payment Required
      x-payment-info:
        protocols:
        - x402:
            networks:
            - eip155:8453
            - solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
            asset: USDC
            scheme: exact
            amountAtomic: '5000'
        price:
          mode: fixed
          currency: USD
          amount: '0.005000'
  /v1/crypto/funding-rate:
    get:
      operationId: getCryptoFundingRate
      tags:
      - Crypto
      summary: 'Live perpetual futures funding rates for up to 10 coins from OKX: rate…'
      security: []
      description: 'Live perpetual futures funding rates for up to 10 coins from OKX: rate, annualized rate, which side pays, interval, next funding time and bounds Live perpetual futures funding rates for up to 10 coins at once from OKX: current rate, annualized rate, which side pays (longs or shorts), funding interval, next funding time and the rate bounds. Query: ?symbols=BTC,ETH,SOL — Price: $0.005000 per call via x402 (USDC on Base or Solana). Unpaid requests get HTTP 402 with the exact amount in the challenge.'
      parameters:
      - name: symbols
        in: query
        required: true
        schema:
          type: string
        example: BTC,ETH
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  exchange:
                    type: string
                  count:
                    type: integer
                  rates:
                    type: array
                    items:
                      type: object
                      properties:
                        symbol:
                          type: string
                        funding_rate_pct:
                          type: number
                        annualized_pct:
                          type: number
                        bias:
                          type: string
                        interval_hours:
                          type: integer
              example:
                exchange: OKX
                count: 2
                rates:
                - symbol: BTC
                  funding_rate_pct: -0.00097
                  annualized_pct: -1.06
                  bias: SHORTS_PAY_LONGS
                  interval_hours: 8
        '402':
          description: Payment Required
      x-payment-info:
        protocols:
        - x402:
            networks:
            - eip155:8453
            - solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
            asset: USDC
            scheme: exact
            amountAtomic: '5000'
        price:
          mode: fixed
          currency: USD
          amount: '0.005000'