Protocol data is the catalog metadata a DeFi API returns for protocols, tokens, and related standards — so your app can show and filter destinations without hardcoding them.
Definition
Instead of shipping a static list of venues, you query live endpoints for names, logos, supported chains, underlying assets, and, where offered, yield metrics such as APY and TVL.
How it works
Protocol endpoints list supported protocols and their standards and actions.
Token endpoints return asset and position metadata, including core fields such as address, chain, decimals, symbol, name, and logo, plus protocol-specific fields on DeFi tokens.
You can filter tokens by protocol, chain, underlying assets, token type, APY, or TVL.
Price endpoints return current valuations for a token on a chain.
How Enso does this
Use GET https://api.enso.build/api/v1/protocols, /v1/standards, /v1/tokens, and /v1/prices/{chainId}/{address}. Set includeMetadata=true when you need the richer token fields. See Get Protocol Data and Concepts. Refresh this data after a transaction if you show balances or yield figures in the UI.
FAQ
Does protocol data execute a swap?
No. These endpoints are for discovery and display. Execution uses Route or Bundle.
Should I hardcode APY or TVL?
No. Read the current values from the token API and refresh them, because they change.
Related articles
How do I discover tokens, vaults, and protocols from the API?
How do I display APY and TVL from Enso data?
What is a project, protocol, and standard in Enso?
What is Enso Earn?
How do I add an Earn tab to a wallet or app?
