> For the complete documentation index, see [llms.txt](https://docs.equilibria.fi/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.equilibria.fi/integration/fetch-the-votes.md).

# Fetch the votes

The votes results can be fetched via API below:

<https://equilibria.fi/api/vote-info/\\[week]/\\[Pendle> Market LP contract address]

Input Parameters:

\[Week] represents the votes result in the specific week(Epoch = Week), you can find this parameter from [Snapshot](https://snapshot.org/#/equilibriafi.eth) or [Vote page](https://equilibria.fi/vote).

\[Pendle Market LP contract address] represents the pool which you can find at [Stake page](https://equilibria.fi/stake).

Output Parameters:

The output will be in form of JSON and here is a piece of example code with <https://equilibria.fi/api/vote-info/37/0xC9beCdbC62efb867cB52222b34c187fB170379C6>:

<pre><code>{
<strong>"week": "Week #37",
</strong>"marketChainId": 1,
"market": "0xC9beCdbC62efb867cB52222b34c187fB170379C6",
"totalVlEQB": 6000,
"votersVlEQB": {
<strong>    "0x8549D43ac2741219a7D26754fbE1801b82184A3B": 3000, 
</strong><strong>    "0x43712aA9E234C20E07071839446a9ddcF546abc6": 6000
</strong><strong>   }
</strong>}
</code></pre>

The totalVLEQB is the total vlEQB voted on the pool;

The voetersVLEQB are the voters address who votes on the pool and their vlEQB amount.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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.equilibria.fi/integration/fetch-the-votes.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.
