Skip to main content
Version: 2.1.0

Get your API key

We're introducing API keys for authentication. You can create API keys by following the steps below:

  1. Go to https://gaianet.ai and click on Launch App
  2. Click CONNECT and connect your Metamask Wallet
  3. After connecting your wallet, click on the profile drop down and then click Setting

  1. Under Setting, click on Gaia API Keys and then Create API Key

Go to settings to get your API key

  1. Give your API Key a name and click Create
Important

Remember that your API key is a secret! Do not share it with others or expose it in any client-side code (browsers, apps). Production requests must be routed through your own backend server where your API key can be securely loaded from an environment variable or key management service.

Gaia API keys option under settings

API key is now created

Tip

Your API Key is like a password and helps verify your usage. This will be one of the last times you‘ll see it displayed, so remember to save it in a safe place.

warning

API Keys are now available for all your applications and usage.

Currently, we don't charge anything for usage or API key creation. However, it is highly recommended that you start using and updating your existing applications or new ones with your own API keys to avoid any disruption in the future.

Please refer to the API Reference page for the updated examples with the API keys usage.

Frequently Asked Questions

When do I need an API key?

There are two types of API Keys that you'll need to interact with Gaia Nodes & Gaia Domains.

  • API Key for Public Gaia Domains (these are maintained by Gaia)
  • API Key for Domains on the network

An API Key is required for all requests to the Gaia Node's OpenAI compatible endpoints.

Error: Your API key doesn't match the type. Please apply for a Developer API key.

To interact with the public Gaia Domains, you'll need to apply for a Developer API key with Free Developer Credits. Apply for Developer Free Trial by clicking on the image as shown below:

Free Developer Credits on Gaia

info

All API keys created through an account that has been approved for free developer credits cannot be used to interact with other Gaia Domains on the network. Create a different account to interact with the Gaia Domains on the network (other than the public nodes maintained by Gaia)