Query real-time and historical APY and TVL data for DeFi vaults across Aave, Morpho, Compound, and more using the Vaults.fyi v1 market data API.
The v1 market data endpoints give you access to real-time and historical APY and TVL data across leading lending and staking vaults. You can query the full vault catalog, drill into a single vault, fetch benchmark rates, or pull time-series data for charting and backtesting.
These are legacy v1 endpoints. They are fully supported and maintained. For new integrations, consider using the v2 endpoints.
Get data for multiple vaults
GET https://api.vaults.fyi/v1/detailed/vaults
Returns a paginated list of vaults with detailed APY, TVL, token, and scoring information. Use query parameters to filter by network, token, TVL range, or transactional support.Authentication:x-api-key header required.
Query parameters
integer
default:"0"
Page number.
integer
default:"10"
Number of results per page. Maximum: 250.
string[]
Filter by tags. All specified tags must be present on the vault.
string
Filter by token name or symbol.
string
Filter by network name or CAIP identifier. Supported values: mainnet, arbitrum, optimism, polygon, base, gnosis, unichain, and their CAIP equivalents.
number
Minimum TVL in USD.
number
Maximum TVL in USD.
string
Return only vaults with transactional endpoint support. Values: true, false.
string
Return only transactional vaults featured on app.vaults.fyi. Values: true, false.
Example request
GET /v1/detailed/vaults HTTP/1.1Host: api.vaults.fyix-api-key: YOUR_API_KEYAccept: */*
APY values are expressed in basis points (BPS). Divide by 100 to get a percentage.
Get data on a single vault
GET https://api.vaults.fyi/v1/vaults/{network}/{vaultAddress}/
Returns full detail for a specific vault including TVL breakdown, APY windows, top holders, rewards, and scoring.Authentication:x-api-key header required.
Path parameters
string
required
Network name or CAIP identifier. E.g. mainnet, arbitrum, base.
APY averaging window. Possible values: 1day, 7day, 30day.
Example request
GET /v1/vaults/mainnet/0xabc...123/apy?interval=7day HTTP/1.1Host: api.vaults.fyix-api-key: YOUR_API_KEYAccept: */*
Example response
{ "base": 420, "rewards": 48, "total": 468}
Get benchmark rates
GET https://api.vaults.fyi/v1/benchmarks
Returns the Vaults.fyi TVL-weighted benchmark yield for stablecoins (USD) and ETH, calculated across leading DeFi pools.Authentication:x-api-key header required.
Example request
GET /v1/benchmarks HTTP/1.1Host: api.vaults.fyix-api-key: YOUR_API_KEYAccept: */*
GET /v1/vaults/mainnet/0xabc...123/historical-tvl/1700000000 HTTP/1.1Host: api.vaults.fyix-api-key: YOUR_API_KEYAccept: */*
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Vaults.fyi","colors":{"primary":"#18abff","light":"#96caff","dark":"#187ee8"},"logo":{"light":"https://mintcdn.com/vaultsfyi/e2nu_rHbR1M8lgfT/images/Logo-384px-black.png?fit=max\u0026auto=format\u0026n=e2nu_rHbR1M8lgfT\u0026q=85\u0026s=ad6b6e6796d582b64af53e9100b8b169","dark":"https://mintcdn.com/vaultsfyi/e2nu_rHbR1M8lgfT/images/Logo-384px-white.png?fit=max\u0026auto=format\u0026n=e2nu_rHbR1M8lgfT\u0026q=85\u0026s=83209def8b210124b3bf53b5ccc42449","href":"https://vaults.fyi/"},"favicon":"https://mintcdn.com/vaultsfyi/LV19mJjFpALwuFJ6/images/icon_blue.png?fit=max\u0026auto=format\u0026n=LV19mJjFpALwuFJ6\u0026q=85\u0026s=86baed3673733df8b24c661f1aca87f3","appearance":{"default":"system"},"background":{"color":{"light":"#FFFFFF"}},"navbar":{"primary":{"type":"button","label":"Get API Access","href":"https://portal.vaults.fyi/signup"}},"footer":{"socials":{"x":"https://x.com/vaultsfyi"}},"fonts":{"family":"Geist"},"integrations":{"ga4":{"measurementId":"G-6YJ3LN6CD5"}},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"vaultsfyi","hasAudioNarration":false,"actualSubdomain":"vaultsfyi","customDomains":["docs.vaults.fyi"],"gitSource":{"type":"github","owner":"wallfacerlabs","repo":"documentation","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6b05dcc2b2ab06be037f1b10","clientVersion":"0.0.4342","searchFilterCounts":[{"language":"default","tag":"API Reference","count":89},{"language":"default","tag":"Documentation","count":37},{"language":"default","tag":"Endpoints","count":32},{"language":"default","tag":"Beta","count":22},{"language":"default","tag":"Alpha","count":12},{"language":"default","tag":"Resources","count":11},{"language":"default","tag":"Borrow Markets","count":11},{"language":"default","tag":"SVM","count":10},{"language":"default","tag":"Sections","count":8},{"language":"default","tag":"Case Studies","count":8}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":true},"customCss":[]}
{"page":{"pagePath":"api/legacy/market-data","slug":"/api/legacy/market-data","pageMetadata":{"title":"v1 Market Data Endpoints for DeFi Vaults","description":"Query real-time and historical APY and TVL data for DeFi vaults across Aave, Morpho, Compound, and more using the Vaults.fyi v1 market data API.","sidebarTitle":"Market Data","href":"/api/legacy/market-data","hidden":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Query real-time and historical APY and TVL data for DeFi vaults across Aave, Morpho, Compound, and more using the Vaults.fyi v1 market data API.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,hr:`hr`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{CodeBlock,Heading,Note,ParamField,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`The v1 market data endpoints give you access to real-time and historical APY and TVL data across leading lending and staking vaults. You can query the full vault catalog, drill into a single vault, fetch benchmark rates, or pull time-series data for charting and backtesting.`}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`These are legacy v1 endpoints. They are fully supported and maintained. For new integrations, consider using the `,_jsx(_components.a,{href:`/api-reference/general`,children:`v2 endpoints`}),`.`]})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`get-data-for-multiple-vaults`,children:`Get data for multiple vaults`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`http`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`http`,children:_jsxs(_components.code,{language:`http`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`GET`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` https://api.vaults.fyi/v1/detailed/vaults`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Returns a paginated list of vaults with detailed APY, TVL, token, and scoring information. Use query parameters to filter by network, token, TVL range, or transactional support.`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Authentication:`}),` `,_jsx(_components.code,{children:`x-api-key`}),` header required.`]}),`\n`,_jsx(Heading,{level:`3`,id:`query-parameters`,children:`Query parameters`}),`\n`,_jsx(ParamField,{query:`page`,type:`integer`,default:`0`,id:`param-page`,children:_jsx(_components.p,{children:`Page number.`})}),`\n`,_jsx(ParamField,{query:`per_page`,type:`integer`,default:`10`,id:`param-per-page`,children:_jsxs(_components.p,{children:[`Number of results per page. Maximum: `,_jsx(_components.code,{children:`250`}),`.`]})}),`\n`,_jsx(ParamField,{query:`tags`,type:`string[]`,id:`param-tags`,children:_jsx(_components.p,{children:`Filter by tags. All specified tags must be present on the vault.`})}),`\n`,_jsx(ParamField,{query:`token`,type:`string`,id:`param-token`,children:_jsx(_components.p,{children:`Filter by token name or symbol.`})}),`\n`,_jsx(ParamField,{query:`network`,type:`string`,id:`param-network`,children:_jsxs(_components.p,{children:[`Filter by network name or CAIP identifier. Supported values: `,_jsx(_components.code,{children:`mainnet`}),`, `,_jsx(_components.code,{children:`arbitrum`}),`, `,_jsx(_components.code,{children:`optimism`}),`, `,_jsx(_components.code,{children:`polygon`}),`, `,_jsx(_components.code,{children:`base`}),`, `,_jsx(_components.code,{children:`gnosis`}),`, `,_jsx(_components.code,{children:`unichain`}),`, and their CAIP equivalents.`]})}),`\n`,_jsx(ParamField,{query:`tvl_min`,type:`number`,id:`param-tvl-min`,children:_jsx(_components.p,{children:`Minimum TVL in USD.`})}),`\n`,_jsx(ParamField,{query:`tvl_max`,type:`number`,id:`param-tvl-max`,children:_jsx(_components.p,{children:`Maximum TVL in USD.`})}),`\n`,_jsx(ParamField,{query:`transactionalOnly`,type:`string`,id:`param-transactional-only`,children:_jsxs(_components.p,{children:[`Return only vaults with transactional endpoint support. Values: `,_jsx(_components.code,{children:`true`}),`, `,_jsx(_components.code,{children:`false`}),`.`]})}),`\n`,_jsx(ParamField,{query:`transactionalFeaturedOnly`,type:`string`,id:`param-transactional-featured-only`,children:_jsxs(_components.p,{children:[`Return only transactional vaults featured on app.vaults.fyi. Values: `,_jsx(_components.code,{children:`true`}),`, `,_jsx(_components.code,{children:`false`}),`.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`example-request`,children:`Example request`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`http`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`http`,children:_jsxs(_components.code,{language:`http`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`GET`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` /v1/detailed/vaults `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`HTTP`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`/`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1.1`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`Host`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` api.vaults.fyi`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`x-api-key`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` YOUR_API_KEY`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`Accept`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` */*`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`example-response`,children:`Example response`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`26`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`26`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"next_page\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"USDC Lending\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"address\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0xabc...123\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"network\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"mainnet\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"protocol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Aave\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tvlDetails\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tvlNative\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"5000000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tvlUsd\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"5000000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"lockedNative\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"4500000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"lockedUsd\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"4500000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"liquidNative\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"500000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"liquidUsd\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"500000\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"numberOfHolders\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1204`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"apy\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"base\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"1day\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`450`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"7day\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`420`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"30day\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`410`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"rewards\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"1day\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`50`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"7day\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`48`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"30day\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`45`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"total\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"1day\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`500`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"7day\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`468`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"30day\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`455`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"isTransactional\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Note,{children:_jsx(_components.p,{children:`APY values are expressed in basis points (BPS). Divide by 100 to get a percentage.`})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`get-data-on-a-single-vault`,children:`Get data on a single vault`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`http`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`http`,children:_jsxs(_components.code,{language:`http`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`GET`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` https://api.vaults.fyi/v1/vaults/{network}/{vaultAddress}/`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Returns full detail for a specific vault including TVL breakdown, APY windows, top holders, rewards, and scoring.`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Authentication:`}),` `,_jsx(_components.code,{children:`x-api-key`}),` header required.`]}),`\n`,_jsx(Heading,{level:`3`,id:`path-parameters`,children:`Path parameters`}),`\n`,_jsx(ParamField,{path:`network`,type:`string`,required:true,id:`param-network-1`,children:_jsxs(_components.p,{children:[`Network name or CAIP identifier. E.g. `,_jsx(_components.code,{children:`mainnet`}),`, `,_jsx(_components.code,{children:`arbitrum`}),`, `,_jsx(_components.code,{children:`base`}),`.`]})}),`\n`,_jsx(ParamField,{path:`vaultAddress`,type:`string`,required:true,id:`param-vault-address`,children:_jsxs(_components.p,{children:[`Vault contract address. Pattern: `,_jsx(_components.code,{children:`^0x[a-fA-F0-9]{40}$`}),`.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`example-request-2`,children:`Example request`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`http`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`http`,children:_jsxs(_components.code,{language:`http`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`GET`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` /v1/vaults/mainnet/0xabc...123/ `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`HTTP`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`/`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1.1`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`Host`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` api.vaults.fyi`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`x-api-key`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` YOUR_API_KEY`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`Accept`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` */*`})]}),`\n`]})})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`get-apy-on-a-single-vault`,children:`Get APY on a single vault`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`http`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`http`,children:_jsxs(_components.code,{language:`http`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`GET`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` https://api.vaults.fyi/v1/vaults/{network}/{vaultAddress}/apy`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Returns the current base APY, rewards APY, and total APY for a vault at a specified averaging interval.`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Authentication:`}),` `,_jsx(_components.code,{children:`x-api-key`}),` header required.`]}),`\n`,_jsx(Heading,{level:`3`,id:`path-parameters-2`,children:`Path parameters`}),`\n`,_jsx(ParamField,{path:`network`,type:`string`,required:true,id:`param-network-2`,children:_jsx(_components.p,{children:`Network name or CAIP identifier.`})}),`\n`,_jsx(ParamField,{path:`vaultAddress`,type:`string`,required:true,id:`param-vault-address-1`,children:_jsxs(_components.p,{children:[`Vault contract address. Pattern: `,_jsx(_components.code,{children:`^0x[a-fA-F0-9]{40}$`}),`.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`query-parameters-2`,children:`Query parameters`}),`\n`,_jsx(ParamField,{query:`interval`,type:`string`,required:true,id:`param-interval`,children:_jsxs(_components.p,{children:[`APY averaging window. Possible values: `,_jsx(_components.code,{children:`1day`}),`, `,_jsx(_components.code,{children:`7day`}),`, `,_jsx(_components.code,{children:`30day`}),`.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`example-request-3`,children:`Example request`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`http`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`http`,children:_jsxs(_components.code,{language:`http`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`GET`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` /v1/vaults/mainnet/0xabc...123/apy?interval=7day `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`HTTP`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`/`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1.1`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`Host`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` api.vaults.fyi`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`x-api-key`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` YOUR_API_KEY`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`Accept`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` */*`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`example-response-2`,children:`Example response`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"base\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`420`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"rewards\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`48`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"total\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`468`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`get-benchmark-rates`,children:`Get benchmark rates`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`http`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`http`,children:_jsxs(_components.code,{language:`http`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`GET`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` https://api.vaults.fyi/v1/benchmarks`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Returns the Vaults.fyi TVL-weighted benchmark yield for stablecoins (USD) and ETH, calculated across leading DeFi pools.`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Authentication:`}),` `,_jsx(_components.code,{children:`x-api-key`}),` header required.`]}),`\n`,_jsx(Heading,{level:`3`,id:`example-request-4`,children:`Example request`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`http`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`http`,children:_jsxs(_components.code,{language:`http`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`GET`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` /v1/benchmarks `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`HTTP`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`/`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1.1`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`Host`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` api.vaults.fyi`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`x-api-key`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` YOUR_API_KEY`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`Accept`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` */*`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`example-response-3`,children:`Example response`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`32`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`32`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"usd\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"vaults.fyi USD Benchmark\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"apy\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"1day\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`480`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"7day\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`460`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"30day\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`450`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"vaults\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"USDC Lending\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"network\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"mainnet\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"address\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0xabc...123\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"eth\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"vaults.fyi ETH Benchmark\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"apy\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"1day\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`310`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"7day\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`305`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"30day\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`300`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"vaults\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"stETH\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"network\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"mainnet\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"address\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0xdef...456\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`See the `,_jsx(_components.a,{href:`/methodology/benchmark-rates`,children:`methodology docs`}),` for details on how benchmark rates are calculated.`]})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`historical-data-endpoints`,children:`Historical data endpoints`}),`\n`,_jsx(_components.p,{children:`Historical endpoints are available on Pro-level plans and are useful for building APY and TVL charts or backtesting strategies.`}),`\n`,_jsx(Heading,{level:`3`,id:`get-historical-apy-and-tvl-over-a-timestamp-range`,children:`Get historical APY and TVL over a timestamp range`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`http`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`http`,children:_jsxs(_components.code,{language:`http`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`GET`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` https://api.vaults.fyi/v1/vaults/{network}/{vaultAddress}/historical-data`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Returns paginated time-series APY and TVL data for a vault between two timestamps.`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Authentication:`}),` `,_jsx(_components.code,{children:`x-api-key`}),` header required.`]}),`\n`,_jsx(Heading,{level:`4`,id:`path-parameters-3`,children:`Path parameters`}),`\n`,_jsx(ParamField,{path:`network`,type:`string`,required:true,id:`param-network-3`,children:_jsx(_components.p,{children:`Network name or CAIP identifier.`})}),`\n`,_jsx(ParamField,{path:`vaultAddress`,type:`string`,required:true,id:`param-vault-address-2`,children:_jsxs(_components.p,{children:[`Vault contract address. Pattern: `,_jsx(_components.code,{children:`^0x[a-fA-F0-9]{40}$`}),`.`]})}),`\n`,_jsx(Heading,{level:`4`,id:`query-parameters-3`,children:`Query parameters`}),`\n`,_jsx(ParamField,{query:`from_timestamp`,type:`integer`,id:`param-from-timestamp`,children:_jsx(_components.p,{children:`Start of the range in epoch seconds.`})}),`\n`,_jsx(ParamField,{query:`to_timestamp`,type:`integer`,id:`param-to-timestamp`,children:_jsx(_components.p,{children:`End of the range in epoch seconds.`})}),`\n`,_jsx(ParamField,{query:`interval`,type:`string`,default:`7day`,id:`param-interval-1`,children:_jsxs(_components.p,{children:[`APY averaging window. Possible values: `,_jsx(_components.code,{children:`1day`}),`, `,_jsx(_components.code,{children:`7day`}),`, `,_jsx(_components.code,{children:`30day`}),`.`]})}),`\n`,_jsx(ParamField,{query:`granularity`,type:`integer`,default:`86400`,id:`param-granularity`,children:_jsx(_components.p,{children:`Time between returned data points, in seconds.`})}),`\n`,_jsx(ParamField,{query:`page`,type:`integer`,default:`0`,id:`param-page-1`,children:_jsx(_components.p,{children:`Page number.`})}),`\n`,_jsx(ParamField,{query:`per_page`,type:`integer`,default:`10`,id:`param-per-page-1`,children:_jsxs(_components.p,{children:[`Results per page. Maximum: `,_jsx(_components.code,{children:`50`}),`.`]})}),`\n`,_jsx(Heading,{level:`4`,id:`example-response-4`,children:`Example response`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`22`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`22`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"next_page\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"timestamp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1700000000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"blockNumber\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`18500000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"apy\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"base\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`400`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"rewards\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`40`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"total\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`440`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tvlDetails\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tvlNative\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"4800000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tvlUsd\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"4800000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"lockedNative\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"4300000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"lockedUsd\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"4300000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"liquidNative\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"500000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"liquidUsd\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"500000\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`3`,id:`get-historical-apy-over-a-timestamp-range`,children:`Get historical APY over a timestamp range`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`http`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`http`,children:_jsxs(_components.code,{language:`http`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`GET`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` https://api.vaults.fyi/v1/vaults/{network}/{vaultAddress}/historical-apy`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Returns APY-only time-series data over a timestamp range.`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Authentication:`}),` `,_jsx(_components.code,{children:`x-api-key`}),` header required.`]}),`\n`,_jsx(Heading,{level:`4`,id:`path-parameters-4`,children:`Path parameters`}),`\n`,_jsx(ParamField,{path:`network`,type:`string`,required:true,id:`param-network-4`,children:_jsx(_components.p,{children:`Network name or CAIP identifier.`})}),`\n`,_jsx(ParamField,{path:`vaultAddress`,type:`string`,required:true,id:`param-vault-address-3`,children:_jsxs(_components.p,{children:[`Vault contract address. Pattern: `,_jsx(_components.code,{children:`^0x[a-fA-F0-9]{40}$`}),`.`]})}),`\n`,_jsx(Heading,{level:`4`,id:`query-parameters-4`,children:`Query parameters`}),`\n`,_jsx(ParamField,{query:`interval`,type:`string`,required:true,id:`param-interval-2`,children:_jsxs(_components.p,{children:[`APY averaging window. Possible values: `,_jsx(_components.code,{children:`1day`}),`, `,_jsx(_components.code,{children:`7day`}),`, `,_jsx(_components.code,{children:`30day`}),`.`]})}),`\n`,_jsx(ParamField,{query:`from_timestamp`,type:`integer`,required:true,id:`param-from-timestamp-1`,children:_jsx(_components.p,{children:`Start of the range in epoch seconds.`})}),`\n`,_jsx(ParamField,{query:`to_timestamp`,type:`integer`,required:true,id:`param-to-timestamp-1`,children:_jsx(_components.p,{children:`End of the range in epoch seconds.`})}),`\n`,_jsx(ParamField,{query:`granularity`,type:`integer`,required:true,id:`param-granularity-1`,children:_jsx(_components.p,{children:`Time between returned data points, in seconds.`})}),`\n`,_jsx(ParamField,{query:`page`,type:`integer`,default:`0`,id:`param-page-2`,children:_jsx(_components.p,{children:`Page number.`})}),`\n`,_jsx(ParamField,{query:`per_page`,type:`integer`,default:`10`,id:`param-per-page-2`,children:_jsxs(_components.p,{children:[`Results per page. Maximum: `,_jsx(_components.code,{children:`50`}),`.`]})}),`\n`,_jsx(Heading,{level:`4`,id:`example-request-5`,children:`Example request`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`http`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`http`,children:_jsxs(_components.code,{language:`http`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`GET`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` /v1/vaults/mainnet/0xabc...123/historical-apy?interval=7day\u0026from_timestamp=1700000000\u0026to_timestamp=1702592000\u0026granularity=86400 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`HTTP`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`/`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1.1`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`Host`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` api.vaults.fyi`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`x-api-key`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` YOUR_API_KEY`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`Accept`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` */*`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`4`,id:`example-response-5`,children:`Example response`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`14`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`14`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"next_page\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"timestamp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1700000000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"blockNumber\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`18500000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"apy\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"base\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`400`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"rewards\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`40`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"total\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`440`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`3`,id:`get-historical-apy-at-a-single-timestamp`,children:`Get historical APY at a single timestamp`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`http`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`http`,children:_jsxs(_components.code,{language:`http`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`GET`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` https://api.vaults.fyi/v1/vaults/{network}/{vaultAddress}/historical-apy/{timestamp}`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Returns the APY for a vault at the block closest to the given timestamp.`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Authentication:`}),` `,_jsx(_components.code,{children:`x-api-key`}),` header required.`]}),`\n`,_jsx(Heading,{level:`4`,id:`path-parameters-5`,children:`Path parameters`}),`\n`,_jsx(ParamField,{path:`network`,type:`string`,required:true,id:`param-network-5`,children:_jsx(_components.p,{children:`Network name or CAIP identifier.`})}),`\n`,_jsx(ParamField,{path:`vaultAddress`,type:`string`,required:true,id:`param-vault-address-4`,children:_jsxs(_components.p,{children:[`Vault contract address. Pattern: `,_jsx(_components.code,{children:`^0x[a-fA-F0-9]{40}$`}),`.`]})}),`\n`,_jsx(ParamField,{path:`timestamp`,type:`integer`,required:true,id:`param-timestamp`,children:_jsx(_components.p,{children:`Epoch timestamp in seconds.`})}),`\n`,_jsx(Heading,{level:`4`,id:`query-parameters-5`,children:`Query parameters`}),`\n`,_jsx(ParamField,{query:`interval`,type:`string`,required:true,id:`param-interval-3`,children:_jsxs(_components.p,{children:[`APY averaging window. Possible values: `,_jsx(_components.code,{children:`1day`}),`, `,_jsx(_components.code,{children:`7day`}),`, `,_jsx(_components.code,{children:`30day`}),`.`]})}),`\n`,_jsx(Heading,{level:`4`,id:`example-response-6`,children:`Example response`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`9`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"timestamp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1700000000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"blockNumber\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`18500000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"apy\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"base\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`400`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"rewards\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`40`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"total\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`440`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`3`,id:`get-historical-tvl-at-a-single-timestamp`,children:`Get historical TVL at a single timestamp`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`http`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`http`,children:_jsxs(_components.code,{language:`http`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`GET`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` https://api.vaults.fyi/v1/vaults/{network}/{vaultAddress}/historical-tvl/{timestamp}`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Returns the TVL breakdown for a vault at the block closest to the given timestamp.`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Authentication:`}),` `,_jsx(_components.code,{children:`x-api-key`}),` header required.`]}),`\n`,_jsx(Heading,{level:`4`,id:`path-parameters-6`,children:`Path parameters`}),`\n`,_jsx(ParamField,{path:`network`,type:`string`,required:true,id:`param-network-6`,children:_jsx(_components.p,{children:`Network name or CAIP identifier.`})}),`\n`,_jsx(ParamField,{path:`vaultAddress`,type:`string`,required:true,id:`param-vault-address-5`,children:_jsxs(_components.p,{children:[`Vault contract address. Pattern: `,_jsx(_components.code,{children:`^0x[a-fA-F0-9]{40}$`}),`.`]})}),`\n`,_jsx(ParamField,{path:`timestamp`,type:`integer`,required:true,id:`param-timestamp-1`,children:_jsx(_components.p,{children:`Epoch timestamp in seconds.`})}),`\n`,_jsx(Heading,{level:`4`,id:`example-request-6`,children:`Example request`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`http`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`http`,children:_jsxs(_components.code,{language:`http`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`GET`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` /v1/vaults/mainnet/0xabc...123/historical-tvl/1700000000 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`HTTP`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`/`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1.1`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`Host`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` api.vaults.fyi`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`x-api-key`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` YOUR_API_KEY`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`Accept`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` */*`})]}),`\n`]})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"v1 Market Data Endpoints for DeFi Vaults","description":"Query real-time and historical APY and TVL data for DeFi vaults across Aave, Morpho, Compound, and more using the Vaults.fyi v1 market data API.","sidebarTitle":"Market Data","href":"/api/legacy/market-data","hidden":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Get data for multiple vaults","slug":"get-data-for-multiple-vaults","depth":2,"children":[{"title":"Query parameters","slug":"query-parameters","depth":3,"children":[]},{"title":"Example request","slug":"example-request","depth":3,"children":[]},{"title":"Example response","slug":"example-response","depth":3,"children":[]}]},{"title":"Get data on a single vault","slug":"get-data-on-a-single-vault","depth":2,"children":[{"title":"Path parameters","slug":"path-parameters","depth":3,"children":[]},{"title":"Example request","slug":"example-request-2","depth":3,"children":[]}]},{"title":"Get APY on a single vault","slug":"get-apy-on-a-single-vault","depth":2,"children":[{"title":"Path parameters","slug":"path-parameters-2","depth":3,"children":[]},{"title":"Query parameters","slug":"query-parameters-2","depth":3,"children":[]},{"title":"Example request","slug":"example-request-3","depth":3,"children":[]},{"title":"Example response","slug":"example-response-2","depth":3,"children":[]}]},{"title":"Get benchmark rates","slug":"get-benchmark-rates","depth":2,"children":[{"title":"Example request","slug":"example-request-4","depth":3,"children":[]},{"title":"Example response","slug":"example-response-3","depth":3,"children":[]}]},{"title":"Historical data endpoints","slug":"historical-data-endpoints","depth":2,"children":[{"title":"Get historical APY and TVL over a timestamp range","slug":"get-historical-apy-and-tvl-over-a-timestamp-range","depth":3,"children":[]},{"title":"Path parameters","slug":"path-parameters-3","depth":4,"children":[]},{"title":"Query parameters","slug":"query-parameters-3","depth":4,"children":[]},{"title":"Example response","slug":"example-response-4","depth":4,"children":[]},{"title":"Get historical APY over a timestamp range","slug":"get-historical-apy-over-a-timestamp-range","depth":3,"children":[]},{"title":"Path parameters","slug":"path-parameters-4","depth":4,"children":[]},{"title":"Query parameters","slug":"query-parameters-4","depth":4,"children":[]},{"title":"Example request","slug":"example-request-5","depth":4,"children":[]},{"title":"Example response","slug":"example-response-5","depth":4,"children":[]},{"title":"Get historical APY at a single timestamp","slug":"get-historical-apy-at-a-single-timestamp","depth":3,"children":[]},{"title":"Path parameters","slug":"path-parameters-5","depth":4,"children":[]},{"title":"Query parameters","slug":"query-parameters-5","depth":4,"children":[]},{"title":"Example response","slug":"example-response-6","depth":4,"children":[]},{"title":"Get historical TVL at a single timestamp","slug":"get-historical-tvl-at-a-single-timestamp","depth":3,"children":[]},{"title":"Path parameters","slug":"path-parameters-6","depth":4,"children":[]},{"title":"Example request","slug":"example-request-6","depth":4,"children":[]}]}],"codeExamples":{}},"jsLinks":[],"subdomain":"vaultsfyi","siteName":"Vaults.fyi","title":"v1 Market Data Endpoints for DeFi Vaults - Vaults.fyi","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-04-20T22:49:29.808Z","originalFileLocation":"api/legacy/market-data.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Query real-time and historical APY and TVL data for DeFi vaults across Aave, Morpho, Compound, and more using the Vaults.fyi v1 market data API.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Vaults.fyi\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"noindex\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/vaultsfyi/7hM2popFdZ7XFny9/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/vaultsfyi/7hM2popFdZ7XFny9/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/vaultsfyi/7hM2popFdZ7XFny9/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/vaultsfyi/7hM2popFdZ7XFny9/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/vaultsfyi/7hM2popFdZ7XFny9/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/vaultsfyi/7hM2popFdZ7XFny9/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/vaultsfyi/7hM2popFdZ7XFny9/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/vaultsfyi/7hM2popFdZ7XFny9/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/vaultsfyi/7hM2popFdZ7XFny9/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"v1 Market Data Endpoints for DeFi Vaults - Vaults.fyi\">\u003cmeta data-mint-head property=\"og:description\" content=\"Query real-time and historical APY and TVL data for DeFi vaults across Aave, Morpho, Compound, and more using the Vaults.fyi v1 market data API.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Vaults.fyi\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.vaults.fyi/api/legacy/market-data\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://vaultsfyi.mintlify.site/_mintlify/api/og/v2?division=Legacy+v1\u0026amp;title=v1+Market+Data+Endpoints+for+DeFi+Vaults\u0026amp;description=Query+real-time+and+historical+APY+and+TVL+data+for+DeFi+vaults+across+Aave%2C+Morpho%2C+Compound%2C+and+more+using+the+Vaults.fyi+v1+market+data+API.\u0026amp;theme=f98404897f33c2278a9b1ab7\u0026amp;signature=5c289e8019a7083d14c1e136fc12b54cc56da9d71cf2437c317c1cd7a60da422\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"v1 Market Data Endpoints for DeFi Vaults - Vaults.fyi\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Query real-time and historical APY and TVL data for DeFi vaults across Aave, Morpho, Compound, and more using the Vaults.fyi v1 market data API.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://vaultsfyi.mintlify.site/_mintlify/api/og/v2?division=Legacy+v1\u0026amp;title=v1+Market+Data+Endpoints+for+DeFi+Vaults\u0026amp;description=Query+real-time+and+historical+APY+and+TVL+data+for+DeFi+vaults+across+Aave%2C+Morpho%2C+Compound%2C+and+more+using+the+Vaults.fyi+v1+market+data+API.\u0026amp;theme=f98404897f33c2278a9b1ab7\u0026amp;signature=5c289e8019a7083d14c1e136fc12b54cc56da9d71cf2437c317c1cd7a60da422\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/vaultsfyi/7hM2popFdZ7XFny9/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Vaults.fyi\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#18abff\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.vaults.fyi/api/legacy/market-data\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api/legacy/market-data.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.vaults.fyi/#organization\",\"name\":\"Vaults.fyi\",\"url\":\"https://docs.vaults.fyi\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/vaultsfyi/e2nu_rHbR1M8lgfT/images/Logo-384px-black.png?fit=max\u0026auto=format\u0026n=e2nu_rHbR1M8lgfT\u0026q=85\u0026s=ad6b6e6796d582b64af53e9100b8b169\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.vaults.fyi#website\",\"name\":\"Vaults.fyi\",\"url\":\"https://docs.vaults.fyi\",\"publisher\":{\"@id\":\"https://docs.vaults.fyi/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.vaults.fyi/api/legacy/market-data#webpage\",\"url\":\"https://docs.vaults.fyi/api/legacy/market-data\",\"name\":\"v1 Market Data Endpoints for DeFi Vaults\",\"description\":\"Query real-time and historical APY and TVL data for DeFi vaults across Aave, Morpho, Compound, and more using the Vaults.fyi v1 market data API.\",\"dateModified\":\"2026-04-20T22:49:29.808Z\",\"isPartOf\":{\"@id\":\"https://docs.vaults.fyi#website\"},\"breadcrumb\":{\"@id\":\"https://docs.vaults.fyi/api/legacy/market-data#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.vaults.fyi/api/legacy/market-data#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Legacy v1\",\"item\":\"https://docs.vaults.fyi/api/legacy/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"v1 Market Data Endpoints for DeFi Vaults\",\"item\":\"https://docs.vaults.fyi/api/legacy/market-data\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.vaults.fyi/api/legacy/market-data#article\",\"headline\":\"v1 Market Data Endpoints for DeFi Vaults\",\"name\":\"v1 Market Data Endpoints for DeFi Vaults\",\"description\":\"Query real-time and historical APY and TVL data for DeFi vaults across Aave, Morpho, Compound, and more using the Vaults.fyi v1 market data API.\",\"url\":\"https://docs.vaults.fyi/api/legacy/market-data\",\"mainEntityOfPage\":{\"@id\":\"https://docs.vaults.fyi/api/legacy/market-data#webpage\"},\"dateModified\":\"2026-04-20T22:49:29.808Z\",\"publisher\":{\"@id\":\"https://docs.vaults.fyi/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.vaults.fyi#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Vaults.fyi\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Vaults.fyi\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api/legacy/market-data.md","siteName":"Vaults.fyi","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API Reference","pages":[{"title":"Vaults.fyi API Overview","sidebarTitle":"Overview","href":"/api-reference/overview"},{"group":"Sections","pages":[{"title":"General","href":"/api-reference/general"},{"title":"Detailed Vaults","href":"/api-reference/detailed-vaults"},{"title":"Historical","href":"/api-reference/historical"},{"title":"Benchmarks","href":"/api-reference/benchmarks"},{"title":"Portfolio","href":"/api-reference/portfolio"},{"title":"Transactions","href":"/api-reference/transactions"},{"title":"Near Real-Time","href":"/api-reference/nrt"},{"title":"Health","description":"Service health endpoint for monitoring API availability.","href":"/api-reference/health"}]},{"group":"Legacy v1","hidden":true,"pages":[{"title":"Legacy v1 API Endpoints Overview","description":"Overview of the Vaults.fyi v1 legacy API: fully supported endpoints covering market data, position tracking, payload generation, and contextual insights.","sidebarTitle":"Overview","href":"/api/legacy/overview"},{"title":"v1 Market Data Endpoints for DeFi Vaults","sidebarTitle":"Market Data","href":"/api/legacy/market-data"},{"title":"v1 Position Tracking Endpoints for DeFi Wallets","description":"v1 endpoints for vault positions, wallet balances, transaction history, and returns. Fully supported; for new integrations use the v2 portfolio endpoints.","sidebarTitle":"Position Tracking","href":"/api/legacy/position-tracking"},{"title":"v1 Generate Payloads: DeFi Transaction Calldata","description":"Prepare calldata for deposit, withdraw, redeem, and claim-rewards transactions across DeFi protocols using the Vaults.fyi v1 payload generation API.","sidebarTitle":"Generate Payloads","href":"/api/legacy/generate-payloads"},{"title":"v1 Contextual Insights: Wallet-Based Yield Options","description":"Surface personalized DeFi yield opportunities for a wallet address, filtered by holdings and preferences, using the Vaults.fyi v1 contextual insights API.","sidebarTitle":"Contextual Insights","href":"/api/legacy/contextual-insights"}]},{"group":"Endpoints","pages":[{"group":"Health","pages":[{"title":"Health check","description":"Checks the health status of the API and its dependencies including database connections and cache availability.","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/health","href":"/api-reference/health/health-check"}]},{"group":"General","pages":[{"title":"List vaults","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/vaults","href":"/api-reference/general/list-vaults"},{"title":"List assets","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/assets","href":"/api-reference/general/list-assets"},{"title":"List tags","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/tags","href":"/api-reference/general/list-tags"},{"title":"List networks","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/networks","href":"/api-reference/general/list-networks"},{"title":"List curators","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/curators","href":"/api-reference/general/list-curators"},{"title":"List protocols","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/protocols","href":"/api-reference/general/list-protocols"}]},{"group":"Historical","pages":[{"title":"Get vault historical data","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/historical/{network}/{vaultId}","href":"/api-reference/historical/get-vault-historical-data"},{"title":"Get historical APY","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/historical/{network}/{vaultId}/apy","href":"/api-reference/historical/get-historical-apy"},{"title":"Get historical TVL","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/historical/{network}/{vaultId}/tvl","href":"/api-reference/historical/get-historical-tvl"},{"title":"Get historical share price","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/historical/{network}/{vaultId}/sharePrice","href":"/api-reference/historical/get-historical-share-price"},{"title":"Get historical asset prices","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/historical/asset-prices/{network}/{assetAddress}","href":"/api-reference/historical/get-historical-asset-prices"}]},{"group":"Detailed Vaults","pages":[{"title":"List detailed vaults","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/detailed-vaults","href":"/api-reference/detailed-vaults/list-detailed-vaults"},{"title":"Get vault details","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/detailed-vaults/{network}/{vaultId}","href":"/api-reference/detailed-vaults/get-vault-details"},{"title":"Get vault APY","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/detailed-vaults/{network}/{vaultId}/apy","href":"/api-reference/detailed-vaults/get-vault-apy"},{"title":"Get vault TVL","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/detailed-vaults/{network}/{vaultId}/tvl","href":"/api-reference/detailed-vaults/get-vault-tvl"}]},{"group":"Portfolio","pages":[{"title":"Get best vault","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/portfolio/best-vault/{userAddress}","href":"/api-reference/portfolio/get-best-vault"},{"title":"List portfolio positions","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/portfolio/positions/{userAddress}","href":"/api-reference/portfolio/list-portfolio-positions"},{"title":"Get portfolio position","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/portfolio/positions/{userAddress}/{network}/{vaultId}","href":"/api-reference/portfolio/get-portfolio-position"},{"title":"Get best deposit options","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/portfolio/best-deposit-options/{userAddress}","href":"/api-reference/portfolio/get-best-deposit-options"},{"title":"List idle assets","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/portfolio/idle-assets/{userAddress}","href":"/api-reference/portfolio/list-idle-assets"},{"title":"Get total returns","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/portfolio/total-returns/{userAddress}/{network}/{vaultId}","href":"/api-reference/portfolio/get-total-returns"},{"title":"List position events","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/portfolio/events/{userAddress}/{network}/{vaultId}","href":"/api-reference/portfolio/list-position-events"}]},{"group":"Transactions","pages":[{"title":"Get transaction context","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/transactions/context/{userAddress}/{network}/{vaultId}","href":"/api-reference/transactions/get-transaction-context"},{"title":"Get transaction suffix","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/transactions/suffix/{userAddress}/{vaultId}","href":"/api-reference/transactions/get-transaction-suffix"},{"title":"Get transaction payload","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/transactions/{action}/{userAddress}/{network}/{vaultId}","href":"/api-reference/transactions/get-transaction-payload"},{"title":"Get rewards context","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/transactions/rewards/context/{userAddress}","href":"/api-reference/transactions/get-rewards-context"},{"title":"Claim rewards","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/transactions/rewards/claim/{userAddress}","href":"/api-reference/transactions/claim-rewards"}]},{"group":"Benchmarks","pages":[{"title":"Get benchmark rate","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/benchmarks/{network}","href":"/api-reference/benchmarks/get-benchmark-rate"},{"title":"Get historical benchmarks","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/historical-benchmarks/{network}","href":"/api-reference/benchmarks/get-historical-benchmarks"}]},{"group":"NRT","pages":[{"title":"Get vault NRT data","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/nrt/vault/{network}/{vaultId}","href":"/api-reference/nrt/get-vault-nrt-data"},{"title":"Get vault NRT share price","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/nrt/vault/{network}/{vaultId}/sharePrice","href":"/api-reference/nrt/get-vault-nrt-share-price"},{"title":"Get vault NRT total supply","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/nrt/vault/{network}/{vaultId}/totalSupply","href":"/api-reference/nrt/get-vault-nrt-total-supply"},{"title":"Get vault NRT total assets","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/nrt/vault/{network}/{vaultId}/totalAssets","href":"/api-reference/nrt/get-vault-nrt-total-assets"},{"title":"Get vault NRT underlying asset price","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/nrt/vault/{network}/{vaultId}/underlyingAssetPrice","href":"/api-reference/nrt/get-vault-nrt-underlying-asset-price"}]},{"group":"Borrow Markets","pages":[{"title":"Get borrow market transaction context","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/borrow/markets/transactions/context/{userAddress}/{network}/{marketId}/{marketAssetId}","href":"/api-reference/borrow-markets/get-borrow-market-transaction-context"},{"title":"Create borrow market transaction","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/borrow/markets/transactions/{action}/{userAddress}/{network}/{marketId}/{marketAssetId}","href":"/api-reference/borrow-markets/create-borrow-market-transaction"},{"title":"List borrow markets","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/borrow/markets/","href":"/api-reference/borrow-markets/list-borrow-markets"},{"title":"Get borrow market historical data","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/borrow/markets/historical/{network}/{marketId}/{marketAssetId}","href":"/api-reference/borrow-markets/get-borrow-market-historical-data"},{"title":"Get borrow market asset NRT data","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/borrow/markets/nrt/{network}/{marketId}/{marketAssetId}","href":"/api-reference/borrow-markets/get-borrow-market-asset-nrt-data"},{"title":"List borrow markets by network","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/borrow/markets/{network}","href":"/api-reference/borrow-markets/list-borrow-markets-by-network"},{"title":"Get borrow market","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/borrow/markets/{network}/{marketId}","href":"/api-reference/borrow-markets/get-borrow-market"},{"title":"List borrow market events","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/borrow/portfolio/events/{userAddress}/{network}/{marketId}/{marketAssetId}","href":"/api-reference/borrow-markets/list-borrow-market-events"},{"title":"List borrow positions","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/borrow/portfolio/positions/{userAddress}","href":"/api-reference/borrow-markets/list-borrow-positions"},{"title":"Get borrow market asset position","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/borrow/portfolio/positions/{userAddress}/{network}/{marketId}/{marketAssetId}","href":"/api-reference/borrow-markets/get-borrow-market-asset-position"},{"title":"Get borrow market position","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/borrow/portfolio/positions/{userAddress}/{network}/{marketId}","href":"/api-reference/borrow-markets/get-borrow-market-position"}]}]},{"group":"Beta","pages":[{"title":"Beta","href":"/api-reference/beta"},{"group":"Endpoints","pages":[{"group":"The Deep","pages":[{"title":"Create Deep deposit transaction","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/beta/documentation/json get /beta/amm/deep/deposit/{userAddress}/{network}/{vaultId}","href":"/api-reference/the-deep/create-deep-deposit-transaction"},{"title":"Create Deep withdrawal transaction","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/beta/documentation/json get /beta/amm/deep/withdraw/{userAddress}/{network}/{vaultId}","href":"/api-reference/the-deep/create-deep-withdrawal-transaction"},{"title":"Get Deep position","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/beta/documentation/json get /beta/amm/deep/positions/{userAddress}/{network}/{vaultId}","href":"/api-reference/the-deep/get-deep-position"},{"title":"List Deep detailed vaults","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/beta/documentation/json get /beta/amm/deep/detailed-vaults","href":"/api-reference/the-deep/list-deep-detailed-vaults"}]},{"group":"Fixed Term (Pendle)","pages":[{"title":"List fixed-term Pendle markets","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/beta/documentation/json get /beta/fixed-term/","href":"/api-reference/fixed-term-pendle/list-fixed-term-pendle-markets"},{"title":"Get fixed-term market","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/beta/documentation/json get /beta/fixed-term/detailed/{network}/{vaultId}","href":"/api-reference/fixed-term-pendle/get-fixed-term-market"},{"title":"Create fixed-term transaction","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/beta/documentation/json get /beta/fixed-term/transactions/{action}/{userAddress}/{network}/{vaultId}","href":"/api-reference/fixed-term-pendle/create-fixed-term-transaction"},{"title":"Get fixed-term transaction context","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/beta/documentation/json get /beta/fixed-term/context/{userAddress}/{network}/{vaultId}","href":"/api-reference/fixed-term-pendle/get-fixed-term-transaction-context"}]},{"group":"Portfolio","pages":[{"title":"Get partial returns","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/beta/documentation/json get /beta/portfolio/partial-returns/{userAddress}/{network}/{vaultId}","href":"/api-reference/portfolio/get-partial-returns"}]},{"group":"SVM","pages":[{"title":"Get SVM idle asset","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/beta/documentation/json get /beta/svm/portfolio/idle-assets/{userAddress}/{assetAddress}","href":"/api-reference/svm/get-svm-idle-asset"},{"title":"List SVM idle assets","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/beta/documentation/json get /beta/svm/portfolio/idle-assets/{userAddress}","href":"/api-reference/svm/list-svm-idle-assets"},{"title":"List SVM vaults","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/beta/documentation/json get /beta/svm/vaults","href":"/api-reference/svm/list-svm-vaults"},{"title":"List SVM detailed vaults","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/beta/documentation/json get /beta/svm/detailed-vaults","href":"/api-reference/svm/list-svm-detailed-vaults"},{"title":"Get SVM detailed vault","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/beta/documentation/json get /beta/svm/detailed-vaults/{vaultAddress}","href":"/api-reference/svm/get-svm-detailed-vault"},{"title":"List SVM positions","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/beta/documentation/json get /beta/svm/portfolio/positions/{userAddress}","href":"/api-reference/svm/list-svm-positions"},{"title":"Create SVM transaction","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/beta/documentation/json get /beta/svm/transactions/{action}/{userAddress}/{vaultAddress}","href":"/api-reference/svm/create-svm-transaction"},{"title":"Get SVM transaction context","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/beta/documentation/json get /beta/svm/transactions/context/{userAddress}/{vaultAddress}","href":"/api-reference/svm/get-svm-transaction-context"},{"title":"List SVM portfolio events across supported vaults","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/beta/documentation/json get /beta/svm/portfolio/events/{userAddress}","href":"/api-reference/svm/list-svm-portfolio-events-across-supported-vaults"},{"title":"List SVM position events","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/beta/documentation/json get /beta/svm/portfolio/events/{userAddress}/{vaultAddress}","href":"/api-reference/svm/list-svm-position-events"}]},{"group":"Advanced Analytics","pages":[{"title":"List advanced vault analytics","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/beta/documentation/json post /beta/advanced-analytics","href":"/api-reference/advanced-analytics/list-advanced-vault-analytics"},{"title":"Get advanced vault analytics","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/beta/documentation/json post /beta/advanced-analytics/{network}/{vaultId}","href":"/api-reference/advanced-analytics/get-advanced-vault-analytics"}]}]}]},{"group":"Alpha","pages":[{"title":"Alpha","href":"/api-reference/alpha"},{"group":"Endpoints","pages":[{"group":"Holders","pages":[{"title":"List vault holders","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/alpha/documentation/json get /alpha/{network}/{vaultId}/holders","href":"/api-reference/holders/list-vault-holders"}]},{"group":"Historical Positions","pages":[{"title":"List user historical positions","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/alpha/documentation/json get /alpha/historical-positions/{userAddress}","href":"/api-reference/historical-positions/list-user-historical-positions"},{"title":"List user historical balances","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/alpha/documentation/json get /alpha/historical-balances/{userAddress}/{timestamp}","href":"/api-reference/historical-positions/list-user-historical-balances"}]},{"group":"Historical","pages":[{"title":"Get historical daily vault flows","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/alpha/documentation/json get /alpha/historical/{network}/{vaultId}/daily-flows","href":"/api-reference/historical/get-historical-daily-vault-flows"}]},{"group":"Cross Chain","pages":[{"title":"Create transaction intent quote","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/alpha/documentation/json post /alpha/transactions/intent/getQuote","href":"/api-reference/cross-chain/create-transaction-intent-quote"},{"title":"Execute transaction intent","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/alpha/documentation/json post /alpha/transactions/intent/execute","href":"/api-reference/cross-chain/execute-transaction-intent"},{"title":"Get transaction intent status","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/alpha/documentation/json get /alpha/transactions/intent/status","href":"/api-reference/cross-chain/get-transaction-intent-status"}]},{"group":"CCTP Bridge","pages":[{"title":"Get CCTP transaction context","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/alpha/documentation/json get /alpha/transactions/cctp/context/{userAddress}/{srcNetwork}/{dstNetwork}/{assetAddress}","href":"/api-reference/cctp-bridge/get-cctp-transaction-context"},{"title":"List CCTP money in transit","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/alpha/documentation/json get /alpha/transactions/cctp/money-in-transit/{userAddress}","href":"/api-reference/cctp-bridge/list-cctp-money-in-transit"},{"title":"Create CCTP transaction","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/alpha/documentation/json get /alpha/transactions/cctp/transactions/{action}/{userAddress}/{srcNetwork}/{dstNetwork}","href":"/api-reference/cctp-bridge/create-cctp-transaction"},{"title":"Get CCTP transaction status","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/alpha/documentation/json get /alpha/transactions/cctp/status","href":"/api-reference/cctp-bridge/get-cctp-transaction-status"}]}]}]}],"groups":[{"group":"Health","pages":[{"title":"Health check","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/health","href":"/api-reference/health/health-check"}]},{"group":"General","pages":[{"title":"List vaults","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/vaults","href":"/api-reference/general/list-vaults"},{"title":"List assets","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/assets","href":"/api-reference/general/list-assets"},{"title":"List tags","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/tags","href":"/api-reference/general/list-tags"},{"title":"List networks","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/networks","href":"/api-reference/general/list-networks"},{"title":"List curators","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/curators","href":"/api-reference/general/list-curators"},{"title":"List protocols","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/protocols","href":"/api-reference/general/list-protocols"}]},{"group":"Historical","pages":[{"title":"Get vault historical data","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/historical/{network}/{vaultId}","href":"/api-reference/historical/get-vault-historical-data"},{"title":"Get historical APY","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/historical/{network}/{vaultId}/apy","href":"/api-reference/historical/get-historical-apy"},{"title":"Get historical TVL","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/historical/{network}/{vaultId}/tvl","href":"/api-reference/historical/get-historical-tvl"},{"title":"Get historical share price","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/historical/{network}/{vaultId}/sharePrice","href":"/api-reference/historical/get-historical-share-price"},{"title":"Get historical asset prices","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/historical/asset-prices/{network}/{assetAddress}","href":"/api-reference/historical/get-historical-asset-prices"}]},{"group":"Detailed Vaults","pages":[{"title":"List detailed vaults","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/detailed-vaults","href":"/api-reference/detailed-vaults/list-detailed-vaults"},{"title":"Get vault details","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/detailed-vaults/{network}/{vaultId}","href":"/api-reference/detailed-vaults/get-vault-details"},{"title":"Get vault APY","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/detailed-vaults/{network}/{vaultId}/apy","href":"/api-reference/detailed-vaults/get-vault-apy"},{"title":"Get vault TVL","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/detailed-vaults/{network}/{vaultId}/tvl","href":"/api-reference/detailed-vaults/get-vault-tvl"}]},{"group":"Portfolio","pages":[{"title":"Get best vault","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/portfolio/best-vault/{userAddress}","href":"/api-reference/portfolio/get-best-vault"},{"title":"List portfolio positions","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/portfolio/positions/{userAddress}","href":"/api-reference/portfolio/list-portfolio-positions"},{"title":"Get portfolio position","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/portfolio/positions/{userAddress}/{network}/{vaultId}","href":"/api-reference/portfolio/get-portfolio-position"},{"title":"Get best deposit options","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/portfolio/best-deposit-options/{userAddress}","href":"/api-reference/portfolio/get-best-deposit-options"},{"title":"List idle assets","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/portfolio/idle-assets/{userAddress}","href":"/api-reference/portfolio/list-idle-assets"},{"title":"Get total returns","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/portfolio/total-returns/{userAddress}/{network}/{vaultId}","href":"/api-reference/portfolio/get-total-returns"},{"title":"List position events","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/portfolio/events/{userAddress}/{network}/{vaultId}","href":"/api-reference/portfolio/list-position-events"}]},{"group":"Transactions","pages":[{"title":"Get transaction context","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/transactions/context/{userAddress}/{network}/{vaultId}","href":"/api-reference/transactions/get-transaction-context"},{"title":"Get transaction suffix","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/transactions/suffix/{userAddress}/{vaultId}","href":"/api-reference/transactions/get-transaction-suffix"},{"title":"Get transaction payload","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/transactions/{action}/{userAddress}/{network}/{vaultId}","href":"/api-reference/transactions/get-transaction-payload"},{"title":"Get rewards context","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/transactions/rewards/context/{userAddress}","href":"/api-reference/transactions/get-rewards-context"},{"title":"Claim rewards","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/transactions/rewards/claim/{userAddress}","href":"/api-reference/transactions/claim-rewards"}]},{"group":"Benchmarks","pages":[{"title":"Get benchmark rate","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/benchmarks/{network}","href":"/api-reference/benchmarks/get-benchmark-rate"},{"title":"Get historical benchmarks","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/historical-benchmarks/{network}","href":"/api-reference/benchmarks/get-historical-benchmarks"}]},{"group":"NRT","pages":[{"title":"Get vault NRT data","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/nrt/vault/{network}/{vaultId}","href":"/api-reference/nrt/get-vault-nrt-data"},{"title":"Get vault NRT share price","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/nrt/vault/{network}/{vaultId}/sharePrice","href":"/api-reference/nrt/get-vault-nrt-share-price"},{"title":"Get vault NRT total supply","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/nrt/vault/{network}/{vaultId}/totalSupply","href":"/api-reference/nrt/get-vault-nrt-total-supply"},{"title":"Get vault NRT total assets","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/nrt/vault/{network}/{vaultId}/totalAssets","href":"/api-reference/nrt/get-vault-nrt-total-assets"},{"title":"Get vault NRT underlying asset price","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/nrt/vault/{network}/{vaultId}/underlyingAssetPrice","href":"/api-reference/nrt/get-vault-nrt-underlying-asset-price"}]},{"group":"Borrow Markets","pages":[{"title":"Get borrow market transaction context","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/borrow/markets/transactions/context/{userAddress}/{network}/{marketId}/{marketAssetId}","href":"/api-reference/borrow-markets/get-borrow-market-transaction-context"},{"title":"Create borrow market transaction","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/borrow/markets/transactions/{action}/{userAddress}/{network}/{marketId}/{marketAssetId}","href":"/api-reference/borrow-markets/create-borrow-market-transaction"},{"title":"List borrow markets","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/borrow/markets/","href":"/api-reference/borrow-markets/list-borrow-markets"},{"title":"Get borrow market historical data","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/borrow/markets/historical/{network}/{marketId}/{marketAssetId}","href":"/api-reference/borrow-markets/get-borrow-market-historical-data"},{"title":"Get borrow market asset NRT data","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/borrow/markets/nrt/{network}/{marketId}/{marketAssetId}","href":"/api-reference/borrow-markets/get-borrow-market-asset-nrt-data"},{"title":"List borrow markets by network","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/borrow/markets/{network}","href":"/api-reference/borrow-markets/list-borrow-markets-by-network"},{"title":"Get borrow market","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/borrow/markets/{network}/{marketId}","href":"/api-reference/borrow-markets/get-borrow-market"},{"title":"List borrow market events","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/borrow/portfolio/events/{userAddress}/{network}/{marketId}/{marketAssetId}","href":"/api-reference/borrow-markets/list-borrow-market-events"},{"title":"List borrow positions","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/borrow/portfolio/positions/{userAddress}","href":"/api-reference/borrow-markets/list-borrow-positions"},{"title":"Get borrow market asset position","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/borrow/portfolio/positions/{userAddress}/{network}/{marketId}/{marketAssetId}","href":"/api-reference/borrow-markets/get-borrow-market-asset-position"},{"title":"Get borrow market position","deprecated":null,"version":null,"openapi":"https://api.vaults.fyi/v2/documentation/json get /v2/borrow/portfolio/positions/{userAddress}/{network}/{marketId}","href":"/api-reference/borrow-markets/get-borrow-market-position"}]}]}]},"basePath":"","title":"v1 Market Data Endpoints for DeFi Vaults - Vaults.fyi","deploymentId":"dpl_QQ3G2kinQNQFFK6Sh8dmX2teK74w","buildId":"dpl_QQ3G2kinQNQFFK6Sh8dmX2teK74w","dynamics":[],"chunks":[]}