For the complete documentation index, see llms.txt. This page is also available as Markdown.

API Reference

This contain all the endpoints, pricing and error codes to access Address Audit service

The GetBlock Address Audit API provides access to all address audit services, which you can integrate into your dApp, including wallet audit, wallet riska nd rug pull checker

Base URL

https://services.getblock.io/v1

Authentication

All requests require an API key in the header:

Authorization: Bearer <API_KEY>

How to Get Address Audit API Key

  1. Click on the product icon on the Navbar

  1. Scroll down and Select Address Audit

  2. After that, select the API key tab

  3. On the API Key tab, click on the plus icon, and your API key will be generated for you automatically

QuickStart

In this example, you will be auditing a wallet address:

  • Axios (JavaScript / Node.js)

  • Python (Requests library)

Before you begin, you must have already installed npm or yarn on your local machine (for the Axios example) or Python and pip (for the Python example).

1

Setup project

Create and initialize a new project:

2

Install Axios

3

Create file

Create a new file named index.js. This is where you will make your first call.

4

Set ES module type

Set the ES module "type": "module" in your package.json.

5

Add code

Add the following code to index.js:

Replace <YOUR_API_KEY> with your actual API Key from the GetBlock dashboard.

6

Run the script

Expected output (example):

Next Step

Last updated

Was this helpful?