Work with this as data
Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/yearn-tvl-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
OpenAPI Specification
openapi: 3.2.0
info:
title: Yearn Finance yDaemon REST Chains TVL API
description: The primary REST API for Yearn Finance, providing access to vault data, APY calculations, TVL metrics, strategy information, and protocol analytics across all supported EVM networks including Ethereum, Optimism, Polygon, Fantom, Base, and Arbitrum. Used by the production Yearn frontends.
version: 1.0.0
contact:
name: Yearn Finance
url: https://yearn.fi
license:
name: GNU Affero General Public License v3.0
url: https://github.com/yearn/ydaemon/blob/main/LICENSE
x-twitter: iearnfinance
servers:
- url: https://ydaemon.yearn.fi
description: Production yDaemon API
tags:
- name: TVL
description: Total Value Locked metrics
paths:
/{chainID}/vaults/tvl:
get:
operationId: getVaultsTVL
summary: Get total TVL for a chain
description: Returns the Total Value Locked (in USD) aggregated across all vaults on the specified chain.
tags:
- TVL
parameters:
- $ref: '#/components/parameters/chainID'
responses:
'200':
description: Total Value Locked as a numeric USD value.
content:
application/json:
schema:
type: number
format: double
description: Total Value Locked in USD across all vaults on the chain.
example: 181230031.34
'400':
$ref: '#/components/responses/BadRequest'
'404':
$ref: '#/components/responses/NotFound'
components:
responses:
BadRequest:
description: Bad Request - invalid parameters.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
NotFound:
description: Not Found - the requested resource does not exist.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
schemas:
Error:
type: object
properties:
error:
type: string
description: A human-readable error message.
example: not found
parameters:
chainID:
name: chainID
in: path
required: true
description: 'The EVM chain ID. Supported values: 1 (Ethereum), 10 (Optimism), 137 (Polygon), 250 (Fantom), 8453 (Base), 42161 (Arbitrum).'
schema:
type: integer
example: 1
enum:
- 1
- 10
- 137
- 250
- 8453
- 42161
externalDocs:
description: Yearn Finance Developer Documentation
url: https://docs.yearn.fi/developers/data-services/yearn-data