Independent guide, not affiliated with Metric.Referral links on this site · disclosure · not financial advice
Metric DEX GuideUnofficial guide to metric.xyz
Build

Metric API and developer docs

Metric's docs live at docs.metric.xyz. The API is at api.metric.xyz, and most of it needs no key.

Checked against official sources 28 Nov 2026261 words · 1 min read6 sources citedIndependent guide
Short answer

Base URL: https://api.metric.xyz. Public endpoints (chains, pool metadata, routing, single and batch bid/ask) need no authentication; a Trading API key, issued by the Metric team, raises your rate limit. The TypeScript SDK is @metric.xyz/metric-omm-sdk-v1.

Endpoints#

EndpointWhat it returns
GET /public/v1/chainsSupported chains and their EVM chain IDs
GET /public/v1/evm/{chain_id}/metadataPools on a chain: pairs, addresses, TVL, volume, tier, curator
GET /public/v1/evm/metadataPools across chains (we use it for top pairs by 7-day volume)
GET /public/v1/evm/{chain_id}/{pool_address}/bid_askCurrent bid, ask and depth for one pool
POST /public/v1/evm/{chain_id}/bid_ask/batchBid and ask for up to 100 pools in one call
POST /public/v1/evm/{chain_id}/routeBest route across direct and one-hop paths, with splits
POST /public/v1/evm/{chain_id}/pamm-quotePropAMM quote endpoint; see its docs page for authentication

Integration tips from the docs#

  • Route only to pools whose priceProviderStatus is healthy and pauseLevel is 0.
  • Check each side's price: a pool can refuse one direction while staying healthy.
  • Don't send an Authorization header without a valid key: a placeholder returns 401 even on public endpoints.
  • The backend runs in AWS Tokyo (ap-northeast-1) behind Cloudflare; run latency-sensitive clients nearby.
  • On Ethereum, quote and simulate with the latest streamed update from Titan's propAMM streams.

Who it's for#

Aggregators, solvers and app developers integrating Metric liquidity, and anyone tracking pools. We use the public metadata endpoint for our weekly new-pools roundup. Market makers: run a pool.

FAQ#

Does the Metric API need a key?

Not for public endpoints: chains, metadata, routing and bid/ask. A Trading API key, requested from the Metric team, raises your rate limit.

Where are Metric's docs?

At docs.metric.xyz. Pages are also available as Markdown by adding .md to the URL, and there's an llms.txt index.

Is there a Metric SDK?

Yes: the TypeScript package @metric.xyz/metric-omm-sdk-v1 on npm, used with viem.

Sources checked

All checked on 28 Nov 2026. Metric can change its product, docs and terms at any time; always confirm in the app and the official docs.

Disclosure: this site is independent and uses referral links. Not financial advice. Providing liquidity can lose your entire deposit. Details.