> For the complete documentation index, see [llms.txt](https://docs.definitive.fi/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.definitive.fi/platform/other-products/advanced-yield-v1-deprecated/yield-api.md).

# Yield API

The Definitive API lets others build on Definitive’s yield and execution infrastructure. The API streamlines and standardizes multiple DeFi protocols within a single unified strategy interface. Today, with just a few lines of code, **wallets, custodians, and aggregators** can easily launch a **DeFi Earn** product for their users with Definitive’s powerful infra as foundational bedrock!

Checkout the API Docs below or view the OpenAI spec at <https://api.definitive.fi/docs#/>. \
Reach out to <support@definitive.fi> if you'd like to integrate and we can set you up with an API key.

Check out the detailed integration guide [here](broken://pages/nBzcGcNlx24hjYNL8F0N).&#x20;

{% openapi src="/files/ABdu0x5WUb57yWzzWAFK" path="/vaults" method="get" %}
[document (1).json](https://2602042957-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJUmpTSznjAymapLGhnyG%2Fuploads%2F7FreIUhmGlXPTQ3LAbne%2Fdocument%20\(1\).json?alt=media\&token=73256a6d-6fdc-49ac-ac03-4fafbab2b2af)
{% endopenapi %}

{% openapi src="/files/ABdu0x5WUb57yWzzWAFK" path="/rates" method="get" expanded="true" %}
[document (1).json](https://2602042957-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJUmpTSznjAymapLGhnyG%2Fuploads%2F7FreIUhmGlXPTQ3LAbne%2Fdocument%20\(1\).json?alt=media\&token=73256a6d-6fdc-49ac-ac03-4fafbab2b2af)
{% endopenapi %}

{% openapi src="/files/ABdu0x5WUb57yWzzWAFK" path="/vaults/{id}" method="get" %}
[document (1).json](https://2602042957-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJUmpTSznjAymapLGhnyG%2Fuploads%2F7FreIUhmGlXPTQ3LAbne%2Fdocument%20\(1\).json?alt=media\&token=73256a6d-6fdc-49ac-ac03-4fafbab2b2af)
{% endopenapi %}

{% openapi src="/files/ABdu0x5WUb57yWzzWAFK" path="/vaults/{id}/deposit/{address}" method="post" %}
[document (1).json](https://2602042957-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJUmpTSznjAymapLGhnyG%2Fuploads%2F7FreIUhmGlXPTQ3LAbne%2Fdocument%20\(1\).json?alt=media\&token=73256a6d-6fdc-49ac-ac03-4fafbab2b2af)
{% endopenapi %}

{% openapi src="/files/ABdu0x5WUb57yWzzWAFK" path="/vaults/{id}/historical\_apr" method="get" %}
[document (1).json](https://2602042957-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJUmpTSznjAymapLGhnyG%2Fuploads%2F7FreIUhmGlXPTQ3LAbne%2Fdocument%20\(1\).json?alt=media\&token=73256a6d-6fdc-49ac-ac03-4fafbab2b2af)
{% endopenapi %}

{% openapi src="/files/ABdu0x5WUb57yWzzWAFK" path="/vaults/{id}/historical\_tvl" method="get" %}
[document (1).json](https://2602042957-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJUmpTSznjAymapLGhnyG%2Fuploads%2F7FreIUhmGlXPTQ3LAbne%2Fdocument%20\(1\).json?alt=media\&token=73256a6d-6fdc-49ac-ac03-4fafbab2b2af)
{% endopenapi %}

{% openapi src="/files/ABdu0x5WUb57yWzzWAFK" path="/vaults/{id}/monitors" method="get" %}
[document (1).json](https://2602042957-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJUmpTSznjAymapLGhnyG%2Fuploads%2F7FreIUhmGlXPTQ3LAbne%2Fdocument%20\(1\).json?alt=media\&token=73256a6d-6fdc-49ac-ac03-4fafbab2b2af)
{% endopenapi %}

{% openapi src="/files/ABdu0x5WUb57yWzzWAFK" path="/vaults/{id}/monitors/{type}/history" method="get" %}
[document (1).json](https://2602042957-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJUmpTSznjAymapLGhnyG%2Fuploads%2F7FreIUhmGlXPTQ3LAbne%2Fdocument%20\(1\).json?alt=media\&token=73256a6d-6fdc-49ac-ac03-4fafbab2b2af)
{% endopenapi %}

{% openapi src="/files/ABdu0x5WUb57yWzzWAFK" path="/vaults/{id}/position/{address}" method="get" %}
[document (1).json](https://2602042957-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJUmpTSznjAymapLGhnyG%2Fuploads%2F7FreIUhmGlXPTQ3LAbne%2Fdocument%20\(1\).json?alt=media\&token=73256a6d-6fdc-49ac-ac03-4fafbab2b2af)
{% endopenapi %}

{% openapi src="/files/ABdu0x5WUb57yWzzWAFK" path="/vaults/{id}/position/{address}/historical\_nav" method="get" %}
[document (1).json](https://2602042957-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJUmpTSznjAymapLGhnyG%2Fuploads%2F7FreIUhmGlXPTQ3LAbne%2Fdocument%20\(1\).json?alt=media\&token=73256a6d-6fdc-49ac-ac03-4fafbab2b2af)
{% endopenapi %}

{% openapi src="/files/ABdu0x5WUb57yWzzWAFK" path="/vaults/{id}/position/{address}/transaction\_history" method="get" %}
[document (1).json](https://2602042957-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJUmpTSznjAymapLGhnyG%2Fuploads%2F7FreIUhmGlXPTQ3LAbne%2Fdocument%20\(1\).json?alt=media\&token=73256a6d-6fdc-49ac-ac03-4fafbab2b2af)
{% endopenapi %}

{% openapi src="/files/ABdu0x5WUb57yWzzWAFK" path="/vaults/{id}/users" method="get" %}
[document (1).json](https://2602042957-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJUmpTSznjAymapLGhnyG%2Fuploads%2F7FreIUhmGlXPTQ3LAbne%2Fdocument%20\(1\).json?alt=media\&token=73256a6d-6fdc-49ac-ac03-4fafbab2b2af)
{% endopenapi %}

{% openapi src="/files/ABdu0x5WUb57yWzzWAFK" path="/vaults/{id}/withdraw/{address}" method="post" %}
[document (1).json](https://2602042957-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJUmpTSznjAymapLGhnyG%2Fuploads%2F7FreIUhmGlXPTQ3LAbne%2Fdocument%20\(1\).json?alt=media\&token=73256a6d-6fdc-49ac-ac03-4fafbab2b2af)
{% endopenapi %}
