> For the complete documentation index, see [llms.txt](https://docs.agilefi.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.agilefi.org/api/voter-service.md).

# VoterService

The voter history service retrieves account and historical information about votes. You can use this API to find out the vote account or vote history.

```
// Retreives a list of vote accounts
fetch("https://api.agile.finance/api/voters/accounts");

// Retreives a detail information of vote account
fetch("https://api.agile.finance/api/voters/accounts/:address");

// Retreives a history of vote account
fetch("https://api.agile.finance/api/voters/history/:address");

// Retreives a vote data by proposal index
fetch("https://api.agile.finance/api/voters/:proposalId");
```
