# Heimdal > Heimdal is a sign-up fraud API. One call to GET or POST /v1/check with an email address, an IP address or both answers `block` (true or false) and `reasons` (disposable_email, tor, proxy, vpn, bad_isp, custom_list). Authenticate with `Authorization: Bearer hd_...`. Every page is also available as Markdown at its URL plus `.md`; the OpenAPI spec is at /openapi.json. ## Quick facts for agents - API base URL: https://heimdal.codebrewerz.com/api - Endpoint: `GET /v1/check` (query string) or `POST /v1/check` (JSON body) with `ip` and/or `email` - Auth: `Authorization: Bearer hd_...` or `x-api-key: hd_...`; keep the key server-side - Answer: `block` (boolean), `reasons` (string[]), and per-input signals; errors are `{ "error": { "code", "message" } }` - Call it at sign-up with a ~2 s timeout and fail open - OpenAPI 3.1: https://heimdal.codebrewerz.com/docs/openapi.json - Every page below is Markdown; drop `.md` for the HTML page ## Get started - [Introduction](https://heimdal.codebrewerz.com/docs/index.md): Heimdal checks an email address and an IP address at signup and tells you whether they look like trouble. One endpoint, one JSON answer. - [Quickstart](https://heimdal.codebrewerz.com/docs/quickstart.md): From no account to a working check in a few minutes. - [Authentication](https://heimdal.codebrewerz.com/docs/authentication.md): Every request carries an API key. Keys start with hd_, belong to one account, and must stay on your server. ## API reference - [Check endpoint](https://heimdal.codebrewerz.com/docs/reference/check.md): The one endpoint. Send an IP address, an email address, or both, and get the signals for each. - [Signals explained](https://heimdal.codebrewerz.com/docs/reference/signals.md): What each signal means, how it is decided, and what it does not tell you. - [Errors](https://heimdal.codebrewerz.com/docs/reference/errors.md): Every error the check endpoint can return, what causes it, and what your code should do about it. - [Rate limits](https://heimdal.codebrewerz.com/docs/reference/rate-limits.md): There is no monthly quota. Per-second limits per API key, and per-address limits on bad keys, protect the service. ## Features - [Custom lists](https://heimdal.codebrewerz.com/docs/custom-lists.md): Your own blocklists of emails, domains, IP addresses and ranges, checked on every call. ## Guides - [Best practices](https://heimdal.codebrewerz.com/docs/guides/best-practices.md): Where to call Heimdal, how long to wait for it, what to do when it does not answer, and which signals deserve a hard block. - [Node.js](https://heimdal.codebrewerz.com/docs/guides/node.md): A complete integration with the built-in fetch. One helper that calls the API with a timeout and fails open, and one function that turns the answer into a decision. - [Better Auth](https://heimdal.codebrewerz.com/docs/guides/better-auth.md): Guard email-and-password sign-up with a before hook. This is the same hook Heimdal runs on its own signup. - [Java](https://heimdal.codebrewerz.com/docs/guides/java.md): A complete integration with Java's built-in HttpClient. One class that calls the API with a timeout and fails open, one method that turns the answer into a decision, and a Spring Boot sign-up handler. - [Rust](https://heimdal.codebrewerz.com/docs/guides/rust.md): A complete integration with reqwest and tokio. One function that calls the API with a timeout and fails open, typed answers with serde, a policy function, and an axum sign-up handler. ## Resources - [Data sources](https://heimdal.codebrewerz.com/docs/data-sources.md): The lists behind every signal, who maintains them, and how often Heimdal refreshes each one. - [Docs for AI agents](https://heimdal.codebrewerz.com/docs/ai-agents.md): Every page as Markdown, llms.txt, an OpenAPI spec and ready prompts, so an AI assistant or coding agent can integrate Heimdal from the source rather than from memory. ## Documentation Sets - [Abridged documentation](https://heimdal.codebrewerz.com/docs/llms-small.txt): a compact version of the documentation for Heimdal, with non-essential content removed - [Complete documentation](https://heimdal.codebrewerz.com/docs/llms-full.txt): the full documentation for Heimdal ## Notes - The complete documentation includes all content from the official documentation - The content is automatically generated from the same source as the official documentation ## Optional - [OpenAPI spec](https://heimdal.codebrewerz.com/docs/openapi.json): OpenAPI 3.1 description of GET and POST /v1/check - [Dashboard](https://heimdal.codebrewerz.com): API keys, billing, custom lists and analytics