AnswerBeacon

AnswerBeacon API

Versioned REST API under /v1. Machine-readable spec: /openapi.json (OpenAPI 3.1). Using an AI agent? Start at /docs/agents.

Quickstart

curl -s -X POST https://brandrank.eliteaiempire.com/v1/signup -H 'content-type: application/json' -d '{"email":"you@example.com"}'
# returns {"key":"abk_..."} once; the free key has the read and billing scopes
curl -s "https://brandrank.eliteaiempire.com/v1/audit?url=example.com" -H "Authorization: Bearer $ANSWERBEACON_KEY"

Authentication and scopes

Send Authorization: Bearer <key>. Keys are stored only as SHA-256 hashes. Scopes: read (audits, usage, export), write (alerts, fix pull requests; paid plans), billing (list, create, rotate and revoke keys; delete the account). A key can mint keys only with scopes it holds. Missing, wrong or revoked key: 401. Missing scope: 403.

Endpoints

MCP toolRESTScopeconfirmWhat it does
answerbeacon_audit_pageGET /v1/auditreadnoRun the 20-element on-page AI-readiness audit on one public page
answerbeacon_check_schemaGET /v1/audit/schemareadnoSchema.org / JSON-LD subset of the audit
answerbeacon_get_fixesGET /v1/fixesreadnoCopy-paste fixes for every missed check
answerbeacon_visibility_snapshotGET /v1/visibilityreadnoInstant AI-visibility snapshot (same as the free homepage audit)
answerbeacon_explain_checkGET /v1/checks/{check_id}readnoExplain what one of the 20 checks looks for
answerbeacon_list_alertsGET /v1/alertsreadnoList scheduled snapshot alerts on this account
answerbeacon_create_alertPOST /v1/alertswriteyesSchedule a recurring snapshot email (requires confirm=true; paid plan)
answerbeacon_open_fix_prPOST /v1/fix-prswriteyesOpen a pull request with the fixes on the connected repository (requires confirm=true; Agency plan)
answerbeacon_get_usageGET /v1/usagereadnoUsage, quota and recent metering events for this account
answerbeacon_export_dataGET /v1/exportreadnoExport every object held for this account (JSON or CSV)
(REST only)GET /v1/keysbillingnoList API keys on this account
(REST only)POST /v1/keysbillingnoCreate an API key with a subset of your scopes
(REST only)DELETE /v1/keys/{key_id}billingnoRevoke an API key
(REST only)POST /v1/keys/{key_id}/rotatebillingnoReplace a key: returns a new key and revokes the old one
(REST only)DELETE /v1/accountbillingyesDelete all keys, usage records and alerts for this account (requires confirm=true)
(REST only)POST /v1/signuppublicnoGet a free read-only API key (no card)

Errors

Every error is {"error":{"code","message","request_id"}}. Codes: unauthorized 401, insufficient_scope 403, quota_exceeded and paid_plan_required 402, confirmation_required 409, page_unreadable and invalid_request 422, rate_limited 429. A page that cannot be read never returns a guessed score.

Rate limits

60 requests per minute per key. Every response carries X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset; a 429 adds Retry-After (seconds).

Writes, confirmation and idempotency

Actions that change state or send email require "confirm": true; without it the call is refused with 409 and describes what would happen. Send an Idempotency-Key header on POST to make retries safe.

Usage, export, deletion

GET /v1/usage shows your monthly usage and quota. GET /v1/export returns everything held for the account (?format=csv for the usage log). DELETE /v1/account?confirm=true deletes keys, usage and alerts.

Prices

See /pricing. Audit calls: 100 free per month without a paid plan; included in every paid plan.