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#
| Endpoint | What it returns |
|---|---|
GET /public/v1/chains | Supported chains and their EVM chain IDs |
GET /public/v1/evm/{chain_id}/metadata | Pools on a chain: pairs, addresses, TVL, volume, tier, curator |
GET /public/v1/evm/metadata | Pools across chains (we use it for top pairs by 7-day volume) |
GET /public/v1/evm/{chain_id}/{pool_address}/bid_ask | Current bid, ask and depth for one pool |
POST /public/v1/evm/{chain_id}/bid_ask/batch | Bid and ask for up to 100 pools in one call |
POST /public/v1/evm/{chain_id}/route | Best route across direct and one-hop paths, with splits |
POST /public/v1/evm/{chain_id}/pamm-quote | PropAMM quote endpoint; see its docs page for authentication |
Integration tips from the docs#
- Route only to pools whose
priceProviderStatusishealthyandpauseLevelis 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
- Metric docs: API
- Metric docs: API: metadata
- Metric docs: API: find best route
- Metric docs: API: current bid and ask
- Metric docs: integrate via API
- Metric docs: SDK
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.