x402basequality 0.72

Live token prices with FDV, liquidity, and 24h change for Ethereum and Base, quoted in USD/ETH/BTC.

Price
0.001 USDC / call
Protocol
x402
Verified
no

What it does

The SlamAI Token Price endpoint returns real-time token pricing data for tokens on Ethereum and Base networks. For each queried token it provides the current price (quoted in USD, ETH, or BTC), fully diluted valuation (FDV), available liquidity, and 24-hour price change percentages. Tokens can be looked up by symbol or contract address, with up to 30 tokens per request using pipe-delimited lists.

The endpoint is an x402-enabled GET API on Base, accepting payment in USDC (contract 0x8335…2913). The maximum cost per call is 1000 base units of USDC, which equals $0.001 (one-tenth of a cent). Each response includes a block number and UTC timestamp anchoring the price snapshot, plus a `slam` field indicating the internal SLAM token cost of the call. A special `estimate_cost` query parameter lets callers preview the SLAM cost without fetching actual price data.

The endpoint exposes a detailed output schema via its x402 challenge, covering token name, symbol, address, price, FDV, liquidity, and an array of historical price-change entries keyed by lookback period in minutes. No separate documentation site or OpenAPI spec was found; all schema information comes from the 402 challenge payload itself.

Capabilities

token-price-lookupfdv-valuationliquidity-data24h-price-changemulti-token-batchethereum-supportbase-l2-supportusd-eth-btc-quotingx402-micropaymentcost-estimation

Use cases

  • Fetching real-time prices for a portfolio of ERC-20 tokens on Ethereum or Base
  • Building a dashboard that displays FDV, liquidity, and 24h price changes for DeFi tokens
  • Programmatic trading bots that need sub-cent per-call pricing data
  • Agents comparing token valuations across USD, ETH, and BTC quote currencies
  • Estimating API call costs before committing to a paid request

Fit

Best for

  • AI agents needing pay-per-call token price data without API keys
  • DeFi applications tracking prices on Ethereum and Base
  • Batch lookups of up to 30 tokens in a single request
  • Low-cost micropayment access at $0.001 per call

Not for

  • Historical OHLCV or candlestick chart data
  • Chains other than Ethereum and Base
  • High-frequency streaming price feeds (this is a request-response API)

Quick start

curl -X GET "https://api.slamai.dev/token/price?blockchain=base&symbols=USDC|WETH&quote_symbol=USD" \
  -H "X-Payment: <x402-payment-header>"

Example

Request

{
  "url": "https://api.slamai.dev/token/price?blockchain=base&symbols=SWARM|VADER&quote_symbol=USD",
  "method": "GET"
}

Response

{
  "utc": "2026-04-22T00:45:00.000Z",
  "slam": 0.5,
  "block": 28451023,
  "chain": "base",
  "quote": "USD",
  "tokens": [
    {
      "fdv": 23400000,
      "name": "Swarm",
      "prev": [
        {
          "change": "-2.31%",
          "minutes": 1440
        }
      ],
      "price": 0.0234,
      "symbol": "SWARM",
      "address": "0xabc...",
      "liquidity": 185000
    },
    {
      "fdv": 870000,
      "name": "Vader",
      "prev": [
        {
          "change": "+5.12%",
          "minutes": 1440
        }
      ],
      "price": 0.00087,
      "symbol": "VADER",
      "address": "0xdef...",
      "liquidity": 42000
    }
  ]
}

Endpoint

Transporthttp
Protocolx402
Pay to0xd85096fAeC1aC03075667B4C1a1661F5623Bf111
CurrencyUSD COIN

Quality

0.72/ 1.00

The x402 challenge is live and includes a detailed outputSchema with input query parameters and response structure. However, no external documentation, OpenAPI spec, or landing page exists—all information is derived solely from the 402 challenge payload. The example response is inferred from the schema rather than observed.

Warnings

  • No documentation site found; all crawled paths return 404.
  • No OpenAPI or ai-plugin manifest available.
  • Example response values are inferred from the schema, not from an actual API call.
  • Provider identity ('SlamAI') is inferred from the domain name only.

Citations

Provenance

Indexed fromx402_bazaar
Enriched2026-04-22 00:48:26Z · anthropic/claude-opus-4.6 · v2
First seen2026-04-21
Last seen2026-04-22

Agent access