Enumerations and defaults

GET
/config

Everything a client needs to build a valid request: live chains, chart resolutions, transaction types, sort options and the indexing liquidity floor.

Header Parameters

Accept-Payment?string

payment methods the client can use, comma-separated, case-insensitive. With x402 in the list, a spent keyless budget answers 402 with the x402 challenge instead of 429.

PAYMENT-SIGNATURE?string

base64 x402 v2 payment payload for this request. A paid request skips the keyless budget and is settled only when it answers 2xx. The v1 header X-PAYMENT is accepted too.

Response Body

application/json

application/problem+json

application/problem+json

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/config"
{  "chains": [    {      "slug": "hyperliquid",      "chain_id": 0,      "latest_block": 0,      "block_lag_seconds": 0,      "syncing": true,      "protocols": [        "string"      ],      "dex_names": [        "string"      ],      "pairs": 0,      "liquidity_usd": 0.1,      "volume_24h_usd": 0.1,      "min_liquidity_usd": 0.1,      "display_name": "string",      "head_block": 0,      "metrics_stale": false,      "quality_liquidity_usd": 0.1,      "txns_24h": 0,      "new_pairs_24h": 0,      "new_pairs_24h_total": 0,      "scams_total": 0,      "scams_on_pool": 0,      "scams_inherited": 0,      "scams_24h": 0,      "deployers_total": 0,      "new_deployers_24h": 0,      "deployer_abusers": 0,      "gainer": {        "pair_address": "string",        "ticker": "string",        "value": 0.1      },      "loser": {        "pair_address": "string",        "ticker": "string",        "value": 0.1      },      "explorer_url": "string",      "native_address_format": "evm_hex"    }  ],  "resolutions": [    "1"  ],  "tx_types": [    "all"  ],  "sort_options": [    "liquidity"  ],  "timeframes": [    "5m"  ],  "min_liquidity_usd": 0.1}