Follow the steps below to get started with the Gateway Protocol API. The steps will guide you on how to get your API Key and Bearer Token to authenticate.

Steps:

  1. Go to Gateway Protocol Login and sign up using your email/wallet. You will need to create an Organization for the Testnet Environment. No need to create an organization for the Sandbox Environment.
  2. Once you are logged in, you will see Developer Access tab on the left side.
  3. Your API key and Authentication token will be available there.

There are two environments available for the Gateway Protocol API, Testnet and Sandbox Environment. Sandbox Environment is for developers who want to understand the protocol and play around with it. Both environments have similar developer experience.

EnvironmentTestnetSandbox
API Endpoint URLhttps://protocol.mygateway.xyz/graphqlhttps://sandbox.protocol.mygateway.xyz/graphql
Dashboard URLhttps://mygateway.xyz/dashboard/https://sandbox.mygateway.xyz/dashboard/
Explorer URLhttps://mygateway.xyz/explorerhttps://sandbox.mygateway.xyz/explorer

If you are planning to use the Testnet Environment, you will have to Create an Organization on the Gateway Dashboard and then you would be able to get Developer Access to the Testnet Environment.

For creating an orgnaization click on your profile icon on the bottom left corner and then click on “Create Organization”. Fill the details and click on “Create Organization”.

After creating the organization, click on the organization name and then click on “Developer Access” and you will be able to find your API Key and Bearer Token.

If you are planning to use the Sandbox Environment, you just need to create your account on the Gateway Dashboard and then you would be able to get Developer Access to the Sandbox Environment.