/

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):

POST / HTTP/1.1
Host: <SYMBOL>.getblock.io
x-api-key: YOUR-API-KEY

Or add your [API_KEY] to the request parameters:

https://<SYMBOL>.getblock.io/?api_key=YOUR-API-KEY

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.