This quick start guide will help you set up and make your first API call to Herodotus Cloud Services.

Step 1: Sign Up for an API Key

Use either:

Step 2: Choose the Right API

Herodotus Cloud Services offers several APIs tailored to different use cases:

Step 3: Make Your First API Call

Let’s make a simple API call to the Storage Proof API to prove an account’s balance:

curl -X POST https://api.herodotus.cloud/batch-query \
-H 'Content-Type: application/json' \
-H 'api-key: your-api-key-here' \
-d '{
  "destinationChainId": "11155111",
  "fee": "0",
  "data": {
    "11155111": {
      "block:5150551": {
        "accounts": {
          "0x17C2D875CB397D813eAE817DaFD25807E348Df07": {
            "props": ["BALANCE"],
            "slots": []
          }
        }
      }
    }
  }
}'

If successful, you’ll receive a response with an internal ID:

{
  "internalId": "01J2V235ABJY55JS2MY051ZJFJ"
}

The response will indicate the current status of your query:

{
  "queryStatus": "IN_PROGRESS"
}

Step 4: View query on Dashboard

You can use the returned internal ID on the dashboard to view the query in the explorer.

For detailed usage instructions, refer to your chosen service’s specific API documentation.