Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: DomainDrift - Continuous Internet Telemetry Alerts API
version: 1.220.0
description: Continuous internet telemetry across ~809,000 curated domains. DNS, TLS, WHOIS, HTTPS, subdomains, DNSSEC, ASN - every observation Ed25519-signed with provenance receipts. Public alpha.
servers:
- url: https://domaindrift.io
security:
- apiKey: []
tags:
- name: Alerts
paths:
/v1/alerts:
get:
summary: List your change alerts
description: Your account's webhook subscriptions. Requires an account key (a signed-in owner). Signing secrets are never re-shown.
responses:
'200':
description: Your subscriptions
'400':
description: Not an account key (service/demo/x402 have no owner) - sign in for a key
tags:
- Alerts
operationId: getV1Alerts
x-operation-id-source: derived
post:
summary: Create a change alert (webhook)
description: Subscribe a public https webhook to material changes on a domain, a cohort tag, or the whole catalog. Every delivery carries X-DomainDrift-Signature = HMAC-SHA256(secret, body). The signing secret is returned once. Email channel is not available yet and is rejected.
requestBody:
content:
application/json:
schema:
type: object
required:
- scope_kind
- target
properties:
scope_kind:
type: string
enum:
- domain
- tag
- catalog
scope_value:
type: string
description: domain, or tag "key"/"key:value"; omit for catalog
channel:
type: string
enum:
- webhook
default: webhook
target:
type: string
description: public https webhook URL
example: https://hooks.example.com/domaindrift
min_weight:
type: integer
default: 1
description: fire only when change significance >= this
type_prefix:
type: string
description: optional change-type prefixes, comma-separated - any one matching fires. A prefix covers itself and its dotted children, so "tls" covers tls.issuer.changed but never tlsfoo.changed. e.g. "tls" or "dns, tls, whois"
responses:
'201':
description: Created - body includes signing_secret (shown once)
'400':
description: Invalid scope/target, or channel not available (email), or limit reached
tags:
- Alerts
operationId: postV1Alerts
x-operation-id-source: derived
/v1/alerts/{id}:
delete:
summary: Delete one of your alerts
parameters:
- name: id
in: path
required: true
schema:
type: string
responses:
'200':
description: Deleted
'404':
description: Not found or not yours
tags:
- Alerts
operationId: deleteV1AlertsById
x-operation-id-source: derived
components:
securitySchemes:
apiKey:
type: apiKey
in: header
name: X-DomainDrift-Key
description: 'API key with dd_ prefix (legacy keys and headers are still accepted). Rate limit: 100 req/min per key (default).'