1. Get a key
Open API keys2. Call a net quote
GET /v1/quotecurl -G "https://api.netquote.io/v1/quote" \ --data-urlencode "sell=ETH" --data-urlencode "size=5" \ --data-urlencode "from=base" --data-urlencode "to=ethereum" \ -H "Authorization: Bearer $NETQUOTE_KEY"
import os, requests
r = requests.get("https://api.netquote.io/v1/quote",
params={"sell": "ETH", "size": 5, "from": "base", "to": "ethereum"},
headers={"Authorization": f"Bearer {os.environ['NETQUOTE_KEY']}"})
print(r.json()["net_price"], r.headers["RateLimit-Remaining"])
3. Read the freshness stamp
Every response includes freshness_msFree keys get delayed data (up to 60 s). Paid keys get real-time data on their plan's sites.
Endpoints
One key for all five sites| Endpoint | Site | What it returns |
|---|---|---|
| GET /v1/quote | Netquote | Net price at size after gas, fees and bridge. sell, buy, size, from, to. |
| GET /v1/pegs | Pegboard | Staked-ETH market vs fair value at size, plus the Lido exit queue. size. |
| GET /v1/bridges | Bridgewatch | Bridge fee and fill time per route. asset, amount, from, to. |
| GET /v1/depth | Depthmapper | Price impact by trade size and depth within 1%. chain, sell, buy. |
| GET /v1/fill | Fillcheck | Fill quality of a swap transaction. chain, tx. |
| GET /v1/gas | Netquote | Gas price on Ethereum, Base, Arbitrum and Optimism. |
| GET /v1/me | All | Your plan, scopes and limits. |
| WS /v1/stream | All | Live updates per site. Paid plans. site, key. |
Errors
JSON with error and message| Status | error | When |
|---|---|---|
| 401 | missing_key / invalid_key | No key or an unknown key. |
| 401 | key_revoked | Revoked or rotated secret. |
| 403 | plan_required | Real-time or streams on a plan without them. |
| 403 | payment_required | Payment past due after the grace period. |
| 429 | rate_limit / quota_exceeded | At the cap. Has Retry-After and upgrade_url. |
References
For bots and AI agents| Resource | Where |
|---|---|
| OpenAPI | https://api.netquote.io/openapi.json |
| MCP endpoint | https://api.netquote.io/mcp |
| llms.txt | https://api.netquote.io/llms.txt |
| Status | https://account.netquote.io/status |
Agent prompt
Use the Netquote Suite API at https://api.netquote.io with my key from env NETQUOTE_KEY. Read https://api.netquote.io/llms.txt first. It is read-only market data; never ask me for wallet keys.
Examples use fake keys. We never ask for wallet keys or signatures.
Data sources
Free public sources, cachedQuotes: ParaSwap, CoW Protocol and KyberSwap public APIs. Bridges: Across. Prices: DefiLlama. Chain data: public RPC endpoints. Exit queue: Lido. Not trading advice.