# Metagraph APIs

Metagraph APIs are hosted on any metagraph that adheres to the Metagraph Token Standard or implements a custom data endpoint. The APIs described here are very similar to the [Hypergraph APIs](https://docs.constellationnetwork.io/hypergraph/global-apis) described in the previous section. The metagraph APIs consist of the Currency L0 API, Currency L1 API, and the Data L1 API. These APIs are hosted on individual metagraphs which may have their own rate limits or specific configurations required.

{% hint style="info" %}
See [Architecture](https://docs.constellationnetwork.io/hypergraph/architecture) for an overview of how these networks fit into the Constellation Network overall.
{% endhint %}

### Currency L0 API[​](https://docs.constellationnetwork.io/hypergraph/currency-apis#currency-l0-api) <a href="#currency-l0-api" id="currency-l0-api"></a>

The Currency L0 API can be used to fetch metagraph snapshot chain information, view token supply and address balances, and submit metagraph snapshots.

You can connect directly to a network node by IP address and port, or by an endpoint provided to you by the metagraph network.

**API Spec**[**​**](https://docs.constellationnetwork.io/hypergraph/currency-apis#api-spec)

* [TestNet](http://apidoc-testnet.constellationnetwork.io.s3-website.us-west-1.amazonaws.com/currency/v1/l0/public/)
* [IntegrationNet](http://apidoc-integrationnet.constellationnetwork.io.s3-website-us-west-1.amazonaws.com/currency/v1/l0/public/)
* [MainNet](http://apidoc.constellationnetwork.io.s3-website.us-west-1.amazonaws.com/currency/v1/l0/public/)

### Currency L1 API[​](https://docs.constellationnetwork.io/hypergraph/currency-apis#currency-l1-api) <a href="#currency-l1-api" id="currency-l1-api"></a>

The Currency L1 API is used primarily for sending metagraph token transactions which are then processed through the Global L0, Currency L0, and Global L0.

You can connect directly to a network node by IP address and port, or by an endpoint provided to you by the metagraph network.

**API Spec**[**​**](https://docs.constellationnetwork.io/hypergraph/currency-apis#api-spec-1)

* [TestNet](http://apidoc-testnet.constellationnetwork.io.s3-website.us-west-1.amazonaws.com/currency/v1/l1/public/)
* [IntegrationNet](http://apidoc-integrationnet.constellationnetwork.io.s3-website-us-west-1.amazonaws.com/currency/v1/l1/public/)
* [MainNet](http://apidoc.constellationnetwork.io.s3-website.us-west-1.amazonaws.com/currency/v1/l1/public/)

**Base urls​**[**​**](https://docs.constellationnetwork.io/hypergraph/currency-apis#base-urls)

Base urls or ip addresses will be provided by the metagraph network you wish to connect to.

### Data L1 API[​](https://docs.constellationnetwork.io/hypergraph/currency-apis#data-l1-api) <a href="#data-l1-api" id="data-l1-api"></a>

The Global L0 API can be used to fetch global snapshot information, view DAG supply and address balances, and submit metagraph (state channel) snapshots.

You can connect directly to a network node by IP address and port, or by an endpoint provided to you by the metagraph network.

**API Spec**[**​**](https://docs.constellationnetwork.io/hypergraph/currency-apis#api-spec-2)

* [TestNet](http://apidoc-testnet.constellationnetwork.io.s3-website.us-west-1.amazonaws.com/currency/v1/l1-data/public/)
* [IntegrationNet](http://apidoc-integrationnet.constellationnetwork.io.s3-website-us-west-1.amazonaws.com/currency/v1/l1-data/public/)
* [MainNet](http://apidoc.constellationnetwork.io.s3-website.us-west-1.amazonaws.com/currency/v1/l1-data/public/)

**Base urls​**[**​**](https://docs.constellationnetwork.io/hypergraph/currency-apis#base-urls-1)

Base urls or ip addresses will be provided by the metagraph network you wish to connect to.


---

# 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.constellationnetwork.io/network-apis/metagraph-apis.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.
