If you are running your own instance of the [Indexer API](/build/indexer), or an [Indexer SDK](/build/indexer/indexer-sdk) custom processor, you must have access to an instance of the Transaction Stream Service. This page contains information about how to use the Aptos Labs Hosted Transaction Stream Service.

## Endpoints

[](#endpoints)

All endpoints are in GCP us-central1 unless otherwise specified.

*   **Mainnet:** grpc.mainnet.aptoslabs.com:443
*   **Testnet:** grpc.testnet.aptoslabs.com:443
*   **Devnet:** grpc.devnet.aptoslabs.com:443

You can learn about the rate limits for this service by reading the [Geomi docs](https://geomi.dev/docs/admin/billing).

## Authorization via API Key

[](#authorization-via-api-key)

In order to use the Labs-Hosted Transaction Stream Service you must have an API key. To get an API key, do the following:

1.  Go to [https://geomi.dev](https://geomi.dev).
2.  Sign in and select “API Resource”.
3.  Create a new key. You will see the API key secret in the first table.

You can provide the API key by setting the `Authorization` HTTP header ([MDN](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Authorization)). For example, with curl:

```
curl -H 'Authorization: Bearer aptoslabs_yj4donpaKy_Q6RBP4cdBmjA8T51hto1GcVX5ZS9S65dx'
```

Learn more about API keys at the [Geomi docs site](https://geomi.dev/docs/api-keys).

For more comprehensive information about how to use the Transaction Stream Service, see the docs for the downstream systems:

*   [Indexer API](/build/indexer/indexer-api)
*   [Indexer SDK](/build/indexer/indexer-sdk)