Skip to main content

Available Endpoints

The Protocols API is organized into three main categories:

Core Protocols

DEX Protocols

Lending Protocols

Interoperability Protocols

Liquid Staking Protocols

Lending and DEX metrics

Lending and DEX protocols carry the additional metrics below. Coverage varies by protocol: not every protocol reports every field, and one that does not returns null. Check for null rather than assuming a value is present.

Lending

Available on List Lending Protocols and on Get Lending Timeseries at 1d and 1w granularity.
depositsUsd is a balance and carries no 24Hour qualifier, so it aggregates as an average over a longer granularity. The existing netDeposits24HourUsd is a daily flow, and the two are not interchangeable. Likewise flashLoanFees24HourUsd is a fee, while the existing flashLoanVolume24HourUsd on DEX protocols is a volume.
revenueUsd is the Blockworks Research lending revenue. It is not revenue24HourUsd, which comes from a different source and is served by the core protocol and network endpoints. The two measure different things and report different values for the same protocol on the same day. Keep them apart.

Lending grains

Lending data is served at three grains. Each one is a separate dataset with its own metrics and its own route: The two finer grains return many series in one response, so their shape differs from the protocol-grain endpoint. Each entry carries its own id and its own dimensions, and metadata.pointSchemas names the columns of every points row:
marketName is present on the lending-markets dataset only. Both finer grains serve 1d only. The protocol grain still serves 1d and 1w.
Blockworks Research maps a fraction of lending protocols. A protocol it does not map returns 200 with an empty series list, not a 404. A 404 means the identifier is not a Messari protocol at all. Note also that a product slug is not a protocol identifier: pass aave, not aave-v3.

Finding instances and markets

List Lending Protocols carries an instances array on each protocol, so you can see which products and chains a protocol reports before you request a timeseries:
The array is empty for a protocol that Blockworks Research does not map. Instances need no listing of their own, because the per-protocol route returns all of them. Markets do: their ids are pool addresses, and there are thousands. Use List Lending Markets to discover them, filtered by protocol, product or chain. The protocol object on each row is the parent protocol, so its slug passes straight back as the protocol filter. The specific product is the sibling productSlug field, which the product filter matches:
marketId is a composite of parent slug, product slug, chain and market key. It is keyed on the pool address rather than the market name, so it survives an upstream rename. Some source rows carry no name; marketName is then the market key, and it can be an empty string.

Response caps

A single request returns at most 100 instance series or 250 market series. Above that the request returns 400 and names the filters that narrow it. Pass product and chain to the markets timeseries route to stay under the cap — a large protocol such as Euler or Morpho needs them.

DEX

Available on List DEX Protocols and on Get DEX Timeseries at 1d and 1w granularity.

DEX volume splits

Three more DEX fields are available on the listing endpoint only, not on the timeseries endpoints: volumeByCategory has the keys nativeStablecoin, chainToken, foreignToken, stablecoinSwaps, lstSwaps, composites, tokenizedAssets, projectTokens and memes. volumeByPair has the keys bitcoinUsd, ethereumUsd, solanaUsd, avalancheUsd, bnbUsd, bitcoinEthereum, bitcoinSolana, ethereumSolana, fx and eurUsd. Both objects are omitted entirely for a protocol that reports no split at all. Within an object that is present, a category or pair with no reported volume is null. An absent object and a null value therefore carry different meanings: the first means the protocol reports no split, the second means the protocol reports a split but not for that one category or pair.

Key Features

  • Multi-Chain Aggregation: Protocol data aggregates all deployments across multiple blockchain networks (e.g., Uniswap includes V3, V2, and V1)
  • Comprehensive Metrics: Access volume, TVL, fees, and other key protocol metrics
  • Flexible Time Ranges: Query data with various granularities from 1-minute to 1-year intervals
  • Historical Data: Access historical protocol performance data for analysis and tracking

Use Cases

The Protocols API enables developers to:
  • Build DeFi analytics dashboards tracking protocol performance
  • Compare metrics across different protocols and protocol types
  • Monitor DEX trading volumes and liquidity trends
  • Track lending protocol utilization and interest rates
  • Create alerts based on protocol metric thresholds
  • Analyze protocol growth and adoption over time