Quick Start

This document provides a step-by-step guide to quickly set up and integrate with our API.

Obtaining a Key

To begin, sign up for a free account on onchain.industries. Navigate to your account settings and select “API Keys”. Click on “Generate New Key” and assign a label to the key. Copy the generated API key for later use.

Searching a Wallet

To demonstrate the functionality of our API, let’s explore the /query-one endpoint using the following curl command:

curl --request POST \
  --url https://api.onchain.industries/beta/query-one \
  --header 'Content-Type: application/json' \
  --header 'key: <your-key>' \
  --data '{
	"query":  "0x0000000000000000000000000000000000000000"
}'

Note: Query execution times may vary, with extreme scenarios potentially reaching 60 seconds. Our API endpoints return data in a streaming format, allowing you to terminate the request if it exceeds your specific use case requirements. For additional examples and resources, please visit our Resources section.