Skip to content

Quick start

Get access

To use APIBlocks you need a token. Join our discord server to get one!

Once you obtained a token, use it as a value for X-API-KEY header in your calls.

import requests

headers = {
    "X-API-KEY": "{APIBLOCKS_TOKEN}"
}

requests.post(
    "https://api.apiblocks.dev/rpc",
    headers=headers,
    json = {

    }
)
$ curl 'https://api.apiblocks.dev/rpc' \
-H 'X-API-KEY: $APIBLOCKS_TOKEN' \
-H 'Content-Type: application/json' \
--data '{
   ...
  }'

Don't forget to visit the Collection to see what tools are available!

What's next ?