Skip to main content

Overview

The Have I Been Drained API provides programmatic access to wallet security analysis. Check if addresses are known drainers or perform comprehensive wallet security analysis.

Quick Start

Step 1: Make Your First Request

Check if an address is a known drainer:

Step 2: Understand the Response

If address is a known drainer:
If address needs analysis:

Step 3: Set Up Authentication

For higher rate limits, include your User-Agent:
For enterprise tier, include API key:

Base URLs

  • Production: https://api.haveibeendrained.org
  • Development: http://localhost:3001

Rate Limits

Cached responses don’t count toward rate limits. Good faith usage is expected.

Next Steps

Authentication

Learn about API authentication and rate limits.

API Integration

Integrate wallet checking into your application.

Widget Integration

Embed our widget into your website.

API Reference

Complete API documentation.