API Keys
To obtain higher rate limits on the Hub API use, apply for an API Key.
We want to ensure that we limit the risk of API downtime and provide a reliable and continuous service. Therefore we decided to implement API Keys to ensure that the requests come from genuine users.
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: 2 million requests per month.
If you are getting close to 2M requests a month contact our support on Help Center
How can I get an API Key?
1. Apply via the request form
If you haven’t already please fill in the below form or submit it via the direct link.
API Key Request Form
2. Wait 72 hours
We will review your submission and whitelist the address you provided in the form.
After 72 hours have passed you can continue with the next steps. If you get any errors while generating the key, please contact our support on Help Center.
3. Generate the API Key
After your address has been whitelisted go to https://app.mycrypto.com/sign-message and connect your wallet using the account you provided in the submission form above.
a) Sign the message with keyword generateKey:
generateKey:
b) Copy the signature and run the below curl
command.
Make sure to use the signature hash from step 5 in the sig
param, do not paste the entire response after signing the message. As an example:
You will receive the API Key as a response of the curl
request. Make sure to store it securely.
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:
Alternatively, you can use the apiKey
param in the query string with your key as a value:
If you are using the GraphQL interface you need to provide your key in the headers
tab:
Last updated