Authentication with API Key

# Authentication with API Key

Once you’ve registered at getblock.io, you will get an API key in your account. Use the API key to start interacting with the GetBlock infrastructure.

To send YOUR-API-KEY, use x-api-key as a request header (preferred):

Host: <SYMBOL>.getblock.io
x-api-key: YOUR-API-KEY

Or add your [API_KEY] to the request parameters:


Be sure to replace YOUR-API-KEY with the name of the API key from your Dashboard and &lt;SYMBOL&gt; with the network you are trying to connect to, for example, btc.getblock.io.