GET /dexes
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/geckoterminal/dexesCache cached 300s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeGlobal DEX directory with metrics (richer than v2 per-network dexes).
Live 200.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
network | query | str | optional | Network name or alias as a query param (dexes/top_pool surfaces) example: eth |
include | query | str | optional | Comma-separated related resources to include default: network,dex_metricexample: network,dex_metric |
page | query | int | optional | Page number; follow links.next from the response for more pages default: 1example: 1 |
Response
type: object
data key: data
pagination: page
sample: {
"data": "array[50]",
"links": "object"
}
Safe request
Reads the credential from API_HUB_KEY; it never appears in the URL.
curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/geckoterminal/dexes?network=eth&include=network%2Cdex_metric&page=1"