> For the complete documentation index, see [llms.txt](https://docs.ambient.finance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ambient.finance/developers/libraries-and-apis/indexer-api.md).

# Indexer API

A convenient API for retrieving open positions, transaction history, price history, pool statistics, and other on-chain information in convenient form is both available for easy and convenient self-hosting, as well as being centrally hosted by the Ambient project.

More information about the available endpoints can be found in the `graphcache-go` project repo here:\
\
<https://github.com/CrocSwap/graphcache-go>\
\
A centrally hosted version of the API is available from:\
\
Mainnet: `https://ambindexer.net/gcgo/`

Scroll: `https://ambindexer.net/scroll-gcgo`

Running the indexer is light weight and can be done on most desktop machines. More instructions for running the indexer locally are in the linked Github repo.<br>
