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
Head to Constellation.
Click your profile picture (bottom-left corner).
In the dropdown menu, select
API Keys
.You’ll be redirected to a login page — simply sign in with your Gmail account.
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
On the right side of the dashboard, click
Personal API Keys.

Hit
+ New API Key.
Choose a validity period:
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:
You’re Ready!
With your API key and credits in place, you’re ready to build with Macrocosmos Subnets
Last updated