Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

HaveIBeenPwned Range Search API

K-anonymity range search for password hashes.

HaveIBeenPwned Range Search API is one of 8 APIs that HaveIBeenPwned publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 9 JSON Schema definitions.

Tagged areas include Range Search. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, authentication docs, rate-limit docs, and 9 JSON Schemas.

This API exposes 1 operation across 1 path. It is described by OpenAPI 3.0.3, at version 3.0.0.

Requests are made against a single base URL, https://haveibeenpwned.com/api/v3.

1 operations 1 paths 0 schemas 1 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
3.0.0
Base URL
https://haveibeenpwned.com/api/v3
Authentication
API Key
Resource Areas
1

Authentication & Security 1

HaveIBeenPwned Range Search API declares 1 security scheme for authenticating requests. An API key is passed in the header as hibp-api-key (ApiKeyAuth). By default, every request must be authenticated.

  • ApiKeyAuth — 32-character hexadecimal API key issued at https://haveibeenpwned.com/API/Key. Required for all account, paste, stealer log, domain search, and subscription en…

Paths & Operations 1

Across 1 path, the API surfaces 1 operation — 1 GET. Each is listed below with its method, path, parameters, and response codes.

Range Search 1

K-anonymity range search for password hashes.

GET
/range/{hashPrefix}
Search By Hash Range
searchPasswordRange 3 params → 200

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

haveibeenpwned-range-search-api-openapi.yml Raw ↑

Other APIs HaveIBeenPwned publishes across the network.

HaveIBeenPwned Breached Accounts API
HaveIBeenPwned Breaches API
HaveIBeenPwned Data Classes API
HaveIBeenPwned Domain Search API
HaveIBeenPwned Pastes API
HaveIBeenPwned Stealer Logs API
HaveIBeenPwned Subscription API