GET /v2/metrics/fork

Auth X-Hub-Key from API_HUB_KEYExecute GET /run/defillama/v2/metrics/forkCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing free

Protocol fork TVL and dominance snapshot keyed by parent protocol (/forks is paid).

Parameters

No parameters documented.

Response

type: object
data key: Uniswap V2
pagination: none
sample: {
  "Uniswap V2": "array[774]",
  "Compound V2": "array[149]",
  "Saddle Finance": "array[13]",
  "Curve DEX": "array[11]",
  "cVault Finance": "array[2]",
  "Yearn Finance": "array[17]",
  "Balancer V2": "array[27]",
  "Alchemix V2": "array[3]",
  "Pickle": "array[1]",
  "Liquity V1": "array[44]",
  "Frax": "array[4]",
  "Shell Protocol": "array[3]",
  "BasketDAO": "array[1]",
  "Impermax V2": "a

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/defillama/v2/metrics/fork"