Crypto Market Data API

Token prices, DEX pools, gas, perpetual futures, cross-chain swap quotes and raw JSON-RPC: the market reads an agent needs before it acts, each one HTTP call, paid per call.

8 endpoints

Call it

The first response is 402 with the exact price and every way to pay. Pay, repeat the request with the proof, and you get the result.

curl -X POST https://api.glianalabs.com/v1/tools/token-price \
  -H 'content-type: application/json' \
  -d '{"symbols":"BTC,ETH","vs":"usd"}'

How it works

Each endpoint answers one question cheaply enough to poll: what a token is worth, whether it can actually be traded and where, what a transaction will cost in gas, how perps are positioned, and what a swap or bridge would return. swap-build returns an unsigned transaction for your own wallet to sign.

Limits worth knowing

Nothing is custodial: no endpoint holds funds or signs for you. Quotes are snapshots and move with the market. None of it is investment advice.

Questions

Do you execute trades?

No. swap-quote prices routes and swap-build returns an unsigned transaction; you sign and send it from your own wallet.

Which chains are covered?

Gas covers Ethereum, Base, Arbitrum, Optimism, BSC and Polygon; swap quotes route across 60+ mainnets including Solana.

Is it cheap enough to poll?

token-price and perp-markets are $0.002 a call, priced for loops.

Is there a free tier?

No. Every call is paid individually, with no plan or minimum. A request that fails validation is refused before it runs, so it is never charged.

Do I need an account or an API key?

No. The first response is HTTP 402 with the exact price; pay it with USDC from your own wallet and repeat the request. To prepay instead, top up a balance in rupiah and send a gk_ key.

More from the same API