DeFi protocols API

Protocol forks brief: the largest forks of a protocol

The 50 largest code forks of a DeFi protocol by value locked, their total value, a count per category, and what it forks.

GET/api/external/protocol-analysis/protocol-forks-brief/{slug}

What it returns

The brief of protocol-forks; prefer it unless you need every fork. The same slug. It lists the 50 forks with the most value locked, each exactly as protocol-forks lists it, and over every fork adds the value locked in them together and how many fall in each category, plus the protocols this one is itself a fork of.

Chains

This endpoint is not tied to a chain: it takes no chain in its request.

Request

Send your key in the x-dex-data-key header. Replace each <placeholder> with a real value.

curl -H "x-dex-data-key: $DEXDATA_API_KEY" \
  "https://api.dexdata.io/api/external/protocol-analysis/protocol-forks-brief/<slug>"
Parameters
ParameterDescription
slug

path · string · required

A DeFi protocol's slug, e.g. "pancakeswap-amm" — not a token mint or contract address, and not scoped to any single chain.

Response fields

A JSON response. Every field is always present; null means the value could not be established, never zero.

Response fields of Protocol forks brief: the largest forks of a protocol
FieldTypeDescription
slugstringThe protocol asked about.
namestringIts name.
forkCountintegerHow many protocols are forks of it.
forkTvlUsdnumber | nullThe value locked in every fork together today, in USD, over the forks whose value is known. Null when none is.
categoriesobject[]Every category among the forks, the most forks first.
categories[].categorystring | nullWhat kind of protocol, e.g. Dexs. Null for the forks whose kind is unknown.
categories[].forkCountintegerForks of that kind.
forksobject[]The 50 forks with the most value locked, unknown value last, then by name.
forks[].slugstring | nullIts slug, or null when the protocol directory does not list it.
forks[].namestringThe protocol.
forks[].categorystring | nullWhat kind of protocol it is, e.g. Dexs or Lending.
forks[].tvlnumber | nullThe value locked in it today, in USD.
forkOfobject[]The protocols it is itself a fork of, by name.
forkOf[].slugstring | nullIts slug, or null when the protocol directory does not list it.
forkOf[].namestringThe protocol.

Start building with DexData today

Sign in, create a key and make your first call in a minute. Free credits every month, and you only pay for calls that succeed.

Get a free API key