You can use the same API key for different Snapshot APIs. Limits are counted individually per each API Service.
Limits
π No API Key: 100 requests per minute. π With the API Key: 200,000 requests per month.If you are getting close to 200k requests a month contact our support on Help center
How can I get an API Key?
You can create your own keys from Settings β API keys in the Snapshot app.- Connect your wallet. Your keys belong to the address of the wallet you connect, and Starknet wallets arenβt supported yet.
- Click Authenticate and sign the message with your wallet. This lets the page manage your keys without asking your wallet every time.
- Click New key, enter a name for it and click Create. Your key is shown right away, with a button to copy it.
A new key can take up to a minute before the APIs accept it.
How can I manage my keys?
All your keys are listed in Settings β API keys, with the number of requests each one made this month. Use the copy button next to a key to copy it again at any time. Open the β― menu of a key to:- Rename key: give it a new name.
- Delete key: the key stops working within a minute. This canβt be undone.
How to structure the query with my key?
The only change you need to make is to add the API Key in the headers of your request:apiKey param in the query string with your key as a value: