{"openapi":"3.1.0","info":{"title":"AntiBurner API","version":"1.0.0","description":"Disposable / burner email detection at the edge."},"servers":[{"url":"https://api.antiburner.com"}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer"}}},"paths":{"/v1/check":{"post":{"operationId":"check","summary":"Check an email","description":"Classify one address: what to do with it, how risky it is, its canonical form and every signal behind the verdict.","security":[{"bearer":[]}],"parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"action":"allow","risk_score":5,"email":"j.doe+trial1@gmail.com","normalized_email":"jdoe@gmail.com","domain":"gmail.com","reasons":["free_provider","plus_tag"],"signals":{"is_disposable":false,"is_relay":false,"relay_provider":null,"is_free_provider":true,"is_role":false,"has_mx":null,"null_mx":false,"mx_cluster_match":false,"mx_provider":null,"free_subdomain":false,"did_you_mean":null,"domain_age_days":null,"spf":null,"dmarc":null,"random_local":false,"plus_tag":true},"cluster":null,"list_match":"allow","dataset_version":"20261129T231743Z","took_ms":1}}}},"400":{"description":"Not a syntactically valid address. Treat it as a validation error.","content":{"application/json":{"example":{"error":"Invalid email format"}}}},"401":{"description":"Missing or unknown API key.","content":{"application/json":{"example":{"error":"Unauthorized"}}}},"429":{"description":"More than 1,200 requests a minute for one key, or the monthly quota is used up. Has a Retry-After header.","content":{"application/json":{"example":{"error":"Rate limit exceeded"}}}},"500":{"description":"Something broke on our side. Fail open.","content":{"application/json":{"example":{"error":"Internal error"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["email"],"properties":{"email":{"type":"string","description":"The address to check, exactly as the user typed it. Unicode domains are accepted."}}},"example":{"email":"J.Doe+trial1@GMail.com"}}}}},"get":{"operationId":"check-get","summary":"Check an email (GET)","description":"Same as POST /v1/check with the address in the query string. Handy for quick tests; prefer POST so addresses don't end up in logs.","security":[{"bearer":[]}],"parameters":[{"name":"email","in":"query","required":true,"description":"The address to check (URL-encoded).","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"action":"allow","risk_score":5,"email":"j.doe+trial1@gmail.com","normalized_email":"jdoe@gmail.com","domain":"gmail.com","reasons":["free_provider","plus_tag"],"signals":{"is_disposable":false,"is_relay":false,"relay_provider":null,"is_free_provider":true,"is_role":false,"has_mx":null,"null_mx":false,"mx_cluster_match":false,"mx_provider":null,"free_subdomain":false,"did_you_mean":null,"domain_age_days":null,"spf":null,"dmarc":null,"random_local":false,"plus_tag":true},"cluster":null,"list_match":"allow","dataset_version":"20261129T231743Z","took_ms":1}}}},"400":{"description":"Not a valid address.","content":{"application/json":{"example":{"error":"Invalid email format"}}}},"401":{"description":"Missing or unknown API key.","content":{"application/json":{"example":{"error":"Unauthorized"}}}},"429":{"description":"More than 1,200 requests a minute for one key, or the monthly quota is used up. Has a Retry-After header.","content":{"application/json":{"example":{"error":"Rate limit exceeded"}}}},"500":{"description":"Something broke on our side. Fail open.","content":{"application/json":{"example":{"error":"Internal error"}}}}}}},"/v1/bulk":{"post":{"operationId":"bulk","summary":"Check many emails","description":"Classify up to 100 addresses in one request. Results come back in request order; invalid entries return an error object in place.","security":[{"bearer":[]}],"parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"results":[{"action":"block","risk_score":99,"email":"test@mailinator.com","normalized_email":"test@mailinator.com","reasons":["disposable_domain"],"…":"…"},{"action":"relay","risk_score":20,"email":"x@privaterelay.appleid.com","normalized_email":"x@privaterelay.appleid.com","reasons":["privacy_relay"],"…":"…"},{"email":"nope","error":"Invalid email format"}],"took_ms":3}}}},"400":{"description":"Split larger batches.","content":{"application/json":{"example":{"error":"At most 100 emails per request"}}}},"401":{"description":"Missing or unknown API key.","content":{"application/json":{"example":{"error":"Unauthorized"}}}},"429":{"description":"More than 1,200 requests a minute for one key, or the monthly quota is used up. Has a Retry-After header.","content":{"application/json":{"example":{"error":"Rate limit exceeded"}}}},"500":{"description":"Something broke on our side. Fail open.","content":{"application/json":{"example":{"error":"Internal error"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["emails"],"properties":{"emails":{"type":"array","items":{"type":"string"},"description":"1 to 100 addresses."}}},"example":{"emails":["test@mailinator.com","x@privaterelay.appleid.com","nope"]}}}}}},"/v1/domain/{domain}":{"get":{"operationId":"domain","summary":"Check a domain","description":"Domain-only verdict: no local-part signals and no normalized address. Useful for reviewing a domain before allow- or blocklisting it.","security":[{"bearer":[]}],"parameters":[{"name":"domain","in":"path","required":true,"description":"Domain to check, e.g. mailinator.com.","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"action":"block","risk_score":99,"domain":"mailinator.com","reasons":["disposable_domain"],"signals":{"is_disposable":true,"is_relay":false,"relay_provider":null,"is_free_provider":false,"is_role":false,"has_mx":null,"null_mx":false,"mx_cluster_match":false,"mx_provider":null,"free_subdomain":false,"did_you_mean":null,"domain_age_days":null,"spf":null,"dmarc":null,"random_local":false,"plus_tag":false},"cluster":null,"list_match":"disposable","dataset_version":"20261129T231743Z","took_ms":0}}}},"400":{"description":"Not a valid domain name.","content":{"application/json":{"example":{"error":"Invalid domain"}}}},"401":{"description":"Missing or unknown API key.","content":{"application/json":{"example":{"error":"Unauthorized"}}}},"429":{"description":"More than 1,200 requests a minute for one key, or the monthly quota is used up. Has a Retry-After header.","content":{"application/json":{"example":{"error":"Rate limit exceeded"}}}},"500":{"description":"Something broke on our side. Fail open.","content":{"application/json":{"example":{"error":"Internal error"}}}}}}},"/v1/usage":{"get":{"operationId":"usage","summary":"Usage this month","description":"Checks made and credits used by the calling key in the current month (UTC).","security":[{"bearer":[]}],"parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"key":"metricraven","month":"2026-11","total":1840,"billable":1203,"monthly_quota":null}}}},"401":{"description":"Missing or unknown API key.","content":{"application/json":{"example":{"error":"Unauthorized"}}}}}}},"/health":{"get":{"operationId":"health","summary":"Health and dataset","description":"Liveness plus the dataset version and counts currently served. No key needed.","security":[],"parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"ok":true,"dataset_version":"20261129T231743Z","built_at":"2026-11-29T23:17:43.672Z","counts":{"disposable":214554,"greylist":152,"relay":39,"features":961}}}}},"500":{"description":"The dataset couldn't be loaded.","content":{"application/json":{"example":{"error":"Internal error"}}}}}}}}}