Glyphcall
Prices and DeFi3 free calls over HTTPFrom $0.002 per call · failed calls are never charged

Token price API: crypto price by symbol or address

$0.002 per call · failed calls are never charged · no account needed: a card key or USDC

Token price API: live USD price of a crypto token by symbol (ETH, BTC, LINK), coin name, CoinGecko id or ERC-20 address on Base, Ethereum, Arbitrum or Optimism, read from the deepest Uniswap v3 pool with the pool, fee tier and a thin-liquidity flag. Use for a token price API call in a quote, a portfolio valuation or a trade check.

Run it free (3 free calls) Buy credits by card (from $1) Example result (JSON)

Try it with your own inputs

Ticker such as ETH, BTC, USDC, AERO, ARB, OP or LINK. Send symbol or address, one of the two (ETH and BTC mean the…

Uses one of your 3 free calls. Nothing is charged, and a call that fails is not counted.

Inputs

NameTypeDescription
symbolstringTicker such as ETH, BTC, USDC, AERO, ARB, OP or LINK. Send symbol or address, one of the two (ETH and BTC mean the wrapped tokens; an HTTP call with no input at all answers for BTC)
addressstring0x ERC-20 token contract address, sent instead of symbol (when both are sent, the address is priced). WETH on Base is 0x4200000000000000000000000000000000000006
chainstringNetwork: base (default), eth, arb, op or polygon. One of: base, eth, arb, op, polygon.

Request

Over HTTP, with a card key from /credits:

curl -H "Authorization: Bearer adt_…" "https://glyphtools.com/token-price-api?symbol=ETH"

Node.js

const r = await fetch("https://glyphtools.com/token-price-api?symbol=ETH", {
  headers: { Authorization: "Bearer adt_…" },
});
const data = await r.json(); // 402 until the key is in the header

Python

import requests

r = requests.get("https://glyphtools.com/token-price-api?symbol=ETH", headers={"Authorization": "Bearer adt_…"}, timeout=60)
data = r.json()

Or one of your 3 free calls, no key — the same request with &trial=1 on the end:

curl "https://glyphtools.com/token-price-api?symbol=ETH&trial=1"

Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum or Solana over x402; Base or Tempo over MPP) and retries.

Example result

{
  "chain": "Base",
  "chainId": 8453,
  "token": {
    "address": "0x4200000000000000000000000000000000000006",
    "symbol": "WETH",
    "decimals": 18
  },
  "priceUsd": 3850.12,
  "quotedIn": "USDC",
  "pool": {
    "address": "0x…",
    "feeTier": 500,
    "quoteReserve": 2500000.25,
    "quoteReserveUsd": 2500000.25
  },
  "ethUsd": 3850.12,
  "thinLiquidity": false,
  "block": 37000000,
  "method": "Uniswap v3 spot price from the pool with the largest USDC or WETH reserve"
}

From an AI agent (MCP)

Add the MCP server to Claude, Cursor or any MCP client. This tool is token_price_api, and the first 10 successful calls are free:

https://glyphtools.com/mcp

Related tools