Api Endpoint

d21 token_price

Token Price ($0.003): Base token price derived from on-chain state, not a resold price-API feed. Curated majors (ETH, WETH, USDC, DAI, cbETH, cbBTC, BTC) are priced from Chainlink's own Data Feed aggregator contracts on Base; any other Base ERC-20 address is priced from its deepest discoverable Uniswap V3 pool against USDC (with a liquidity read and a low-liquidity flag), or a clean unsupported-token error if no pool is discoverable. Also accepts { coins }, a comma-separated batch of symbols…

Open interactive test console

Offering

Provider
draconic21-x402-api.onrender.com
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Blockchain And Crypto
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://draconic21-x402-api.onrender.com/v1/token_price
MIME type
application/json
First seen
2026-10-16T01:50:24.663Z
Last seen
Tags
token-price, crypto-price, onchain-price, base-chain, chainlink

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.003 USDC
Atomic price: 3000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.003 USDC
Atomic price: 3000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "3000",
    "payTo": "0x1520Ef5530AA71350049BE2903Cf078B38c40AE5"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "3000",
    "payTo": "6mc4GhWFyNcMh7gAVDWrKeYjDqFtEKWKQuZ9RTw2VkfM"
  }
]

Observed health

Status
Healthy
Latest latency
134 ms
Average latency
302 ms
HTTP status
204
Last checked
Reachability
100% over 8 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "POST"
      ]
    },
    "bodyType": {
      "type": "string",
      "enum": [
        "json",
        "form-data",
        "text"
      ]
    },
    "body": {
      "type": "object",
      "properties": {
        "symbol": {
          "type": "string",
          "description": "Curated major token symbol: ETH, WETH, USDC, DAI, CBETH, CBBTC, or BTC. Mutually exclusive with address/coins."
        },
        "address": {
          "type": "string",
          "description": "Any Base ERC-20 contract address (0x...), priced from its deepest live Uniswap V3 USDC pool. Mutually exclusive with symbol/coins."
        },
        "coins": {
          "type": "string",
          "description": "Comma-separated batch of symbols and/or 0x addresses, up to 10 (e.g. 'BTC,ETH,0x...') — same param name the category-leading incumbent uses. Mutually exclusive with symbol/address."
        },
        "quote": {
          "type": "string",
          "enum": [
            "USD",
            "ETH"
          ],
          "description": "Quote currency, default USD."
        }
      },
      "required": [],
      "additionalProperties": true
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": "object",
      "properties": {
        "token": {
          "type": "object",
          "properties": {
            "symbol": {
              "type": [
                "string",
                "null"
              ]
            },
            "address": {
              "type": [
                "string",
                "null"
              ]
            },
            "decimals": {
              "type": "integer"
            }
          }
        },
        "price": {
          "type": "object",
          "properties": {
            "quote": {
              "type": "string",
              "enum": [
                "USD",
                "ETH"
              ]
            },
            "value": {
              "type": "string"
            },
            "value_number": {
              "type": "number"
            }
          }
        },
        "source": {
          "type": "object",
          "properties": {
            "method": {
              "type": "string",
              "enum": [
                "chainlink",
                "dex_pool",
                "on-chain"
              ]
            },
            "chainlink": {
              "type": "object",
              "properties": {
                "feed_address": {
                  "type": "string"
                },
                "pair": {
                  "type": "string"
                }
              }
            },
            "dex": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string"
                },
                "pool_address": {
                  "type": "string"
                },
                "fee_tier_bps": {
                  "type": "number"
                },
                "quote_token": {
                  "type": "string"
                }
              }
            }
          }
        },
        "block": {
          "type": "object",
          "properties": {
            "number": {
              "type": "integer"
            },
            "timestamp_iso": {
              "type": "string"
            }
          }
        },
        "staleness": {
          "type": "object",
          "properties": {
            "seconds": {
              "type": "integer"
            }
          }
        },
        "liquidity": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "usdc_reserve": {
              "type": "number"
            },
            "token_reserve": {
              "type": "number"
            },
            "estimated_total_value_usd": {
              "type": "number"
            },
            "tier": {
              "type": "string",
              "enum": [
                "high",
                "medium",
                "low"
              ]
            }
          }
        },
        "confidence": {
          "type": "object",
          "properties": {
            "level": {
              "type": "string",
              "enum": [
                "high",
                "medium",
                "low"
              ]
            },
            "note": {
              "type": "string"
            }
          }
        },
        "caveats": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "mode": {
          "type": "string",
          "enum": [
            "batch"
          ]
        },
        "prices": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "query": {
                "type": "string"
              },
              "symbol": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "key": {
                "type": "string"
              },
              "price": {
                "type": "number"
              },
              "resolved": {
                "type": "boolean",
                "enum": [
                  true
                ]
              },
              "confidence": {
                "type": "number",
                "minimum": 0,
                "maximum": 1
              },
              "decimals": {
                "type": "integer"
              },
              "timestamp": {
                "type": "integer"
              },
              "method": {
                "type": "string",
                "enum": [
                  "chainlink",
                  "dex_pool"
                ]
              }
            }
          }
        },
        "unresolved": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "query": {
                "type": "string"
              },
              "resolved": {
                "type": "boolean",
                "enum": [
                  false
                ]
              },
              "reason": {
                "type": "string"
              }
            }
          }
        },
        "asOf": {
          "type": "string",
          "format": "date-time"
        },
        "count": {
          "type": "integer"
        },
        "requested": {
          "type": "integer"
        },
        "historical": {
          "type": "boolean",
          "enum": [
            false
          ]
        }
      },
      "required": [
        "source",
        "caveats"
      ]
    }
  },
  "required": [
    "type"
  ]
}