API Keys

How to Create a Macrocosmos API Key

To interact with Macrocosmos subnets programmatically, you'll need a personal API key.

Step 1: Access the API Key Dashboard

  1. Head to Constellation.

  2. Click your profile picture (bottom-left corner).

  3. In the dropdown menu, select API Keys.

  4. You’ll be redirected to a login page — simply sign in with your Gmail account.

  5. Once logged in, you’ll be able to provide your credit card details in order to access the account management and Constellation API Key Dashboard.

Step 2: Generate Your Personal API Key

  1. On the right side of the dashboard, click Personal API Keys.

  1. Hit + New API Key.

  2. Choose a validity period:

  3. Then Click Create.

Copy the generated API key immediately and save it in a secure location , you won’t be able to view it again.

You can now use this key to interact with all Macrocosmos subnets from your preferred coding environment.

Step 3: Get API Credits

In case of support required:

  • Reach out to us via Discord or Telegram. We’ll help authorize your account and top it up with credits.

You’re Ready!

With your API key and credits in place, you’re ready to build with Macrocosmos Subnets

Last updated