# 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 %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.definitive.fi/platform/other-products/advanced-yield-v1-deprecated/yield-api.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
