API Key

How to get an API key

In order to obtain a key for our API head to Glassnode Studio and register for an account. You will be able to generate a key under API in the user menu.

Access to the API is dependent the plan you are on. For a detailed overview of all metrics you can access with your plan, please refer to our metrics catalogue and the pricing page.

Usage

Specify the api_key query parameter with your API key with all endpoints.

Example using cURL

export API_KEY=YOUR-KEY
curl "https://api.glassnode.com/v1/metrics/indicators/sopr?a=btc&api_key=$API_KEY"

Example using http

export API_KEY=YOUR-KEY
http 'https://api.glassnode.com/v1/metrics/assets' api_key==$API_KEY