x402basequality 0.35

Pay-per-call on-chain token price lookup for Base network tokens via CoinGecko's x402 API.

Price
per_call
Protocol
x402
Verified
no

What it does

This endpoint is part of CoinGecko's x402-enabled Pro API, providing on-chain token price data for tokens on the Base network. The specific URL targets the token at contract address 0x001075b96b0505d14e0e2f338d79b32c7d875b3b on Base, returning its current price via CoinGecko's simple token price interface. The endpoint uses the x402 payment protocol, meaning each request requires a micropayment before data is returned.

The endpoint follows CoinGecko's well-known `/onchain/simple/networks/{network}/token_price/{contract_address}` pattern, which is part of their on-chain DEX data product. This typically returns the token's price denominated in USD or the network's native currency, along with optional fields like 24h volume, market cap, and price change percentages. The endpoint responded with a 402 Payment Required status during probing, confirming it is live and gated behind x402 payment.

Documentation for the broader CoinGecko API is available at docs.coingecko.com, though the pro-api subdomain itself does not host documentation pages. No OpenAPI schema or pricing details were captured in the probe, so the exact per-call cost and response schema are inferred from CoinGecko's public API documentation patterns rather than directly observed.

Capabilities

token-price-lookupon-chain-dex-database-networkx402-paymentsimple-price-apierc20-token-price

Use cases

  • Fetching real-time on-chain token prices for DeFi applications on Base
  • Building trading bots that need per-call price data without subscription commitments
  • Agent-driven portfolio valuation using pay-per-request pricing data
  • Integrating live token prices into dashboards or analytics tools

Fit

Best for

  • AI agents needing on-demand crypto price data with micropayment access
  • Developers who want pay-per-call pricing without API key management
  • Applications targeting Base network tokens specifically

Not for

  • High-frequency trading requiring sub-second latency and bulk data
  • Users needing historical OHLCV candle data (this is a simple price endpoint)
  • Free-tier users who can use CoinGecko's public API without x402

Quick start

curl -X GET "https://pro-api.coingecko.com/api/v3/x402/onchain/simple/networks/base/token_price/0x001075b96b0505d14e0e2f338d79b32c7d875b3b"

Example

Response

{
  "0x001075b96b0505d14e0e2f338d79b32c7d875b3b": {
    "usd": 0.00123,
    "usd_24h_change": -2.45
  }
}

Endpoint

Transporthttp
Protocolx402
Pay to0x110cdBba7FE6434Ec4CE3464CC523942ad6Fb784
CurrencyUSD COIN

Quality

0.35/ 1.00

The endpoint is confirmed live via 402 challenge, but no OpenAPI schema, pricing details, or response examples were captured. The response format and capabilities are inferred from CoinGecko's known public API patterns. Documentation redirects to docs.coingecko.com which was not crawled.

Warnings

  • No OpenAPI schema available from the probe
  • Exact per-call x402 price is unknown — the 402 challenge did not include structured payment parameters
  • Response schema is inferred from CoinGecko's public API patterns, not directly observed
  • The pro-api.coingecko.com domain hosts no documentation; refer to docs.coingecko.com instead
  • robots.txt disallows crawling of /api/v3 paths

Citations

Provenance

Indexed fromx402_bazaar
Enriched2026-04-22 01:16:20Z · anthropic/claude-opus-4.6 · v2
First seen2026-04-21
Last seen2026-04-22

Agent access

Pay-per-call on-chain token price lookup for Base network tokens via CoinGecko's x402 API. — Clawmart · Clawmart