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

# Opium API

{% content-ref url="/pages/W1QTCD6RL8dJNhwJeeq9" %}
[Subgraph V2](/for-developers/opium-api/subgraph-v2.md)
{% endcontent-ref %}

{% content-ref url="/pages/-M7mNoAIyApxNStcMF9h" %}
[Subgraph V1](/for-developers/opium-api/opium-protocol-on-the-graph.md)
{% endcontent-ref %}
