Skip to main content

Authenticating to Starton API

By creating a free account on Starton, you can deploy and interact with your Smart contract, store files on IPFS and watch your transactions. There are a few things you need to get from Starton Dashboard, regardless of whether you want to use Starton from the interface or the API.

The first thing we will need is an account in Starton.

Creating an account

Create an account for free

Setting up your API key

To use Starton from your backend, you need to authenticate to the API through an API key.

What is an API Key?

An API key (Application Programming Key) is used to authenticate yourself to an API. Starton can generate API keys so you can call our API from your code. The API keys generated by Starton are linked to a specific project, so you could have multiple keys.

caution

Your API key should be SECRET. With it, anyone could call the Starton API on your behalf. For security purposes, API keys are only accessible once at creation.

Generating an API Key

On the Developer section, you can generate new API keys or revoke the previous ones (for example, if they leaked).

Create an API key

Using an API Key

The API key will be needed in your code if you try to call Starton API endpoints (as the x-api-key variable in the Headers of the requests).

const axiosInstance = axios.create({
baseURL: "https://api.starton.com",
headers: {
"x-api-key": "YOUR_API_KEY",
},
})

Understanding Starton Rate limits

Rate limits are restrictions that an API places on the number of times a user or client can access the server within a certain time period. Depending on your plan, you will benefit from a specific rate limit.

PlanRate limit
Free50 requests/min
Developer100 requests/min
Businessup to 10000 requests/min

What's next? Explore with one service

  • Creating an account
  • Setting up your API key
  • Understanding Starton Rate limits
  • What's next? Explore with one service