Opazu

Opazu API

Everything the Opazu connector does, from your own code or agent: check whether AI assistants recommend an app or business, get the next steps with evidence, re-check on a schedule, and pay per answer from one balance.

Try it with no key

Two things work with no account and no key, so an agent can try Opazu on its first call:

  1. One free check. POST https://www.opazu.com/api/v1/checks with the business details and no Authorization header runs one check (the default set, $1.96) on free credit. The response has an anon_key to read the result and a claim_url for the owner: signing in there keeps the report and gives an API key for more checks. Free checks are limited per connection per day.
  2. Status, always free. GET https://www.opazu.com/api/v1/status: each AI's answers and errors in the last 24 hours, the queue and the hourly job (also at opazu.com/status).
  3. Readiness check, always free. GET https://www.opazu.com/api/v1/readiness?url=example.com checks whether AI crawlers can read the site: robots.txt for AI search and training crawlers, text visible without JavaScript, title, description, main heading, schema.org data, sitemap, llms.txt and canonical address. Each check has status (pass, warn, fail), finding, why and a fix ready to paste (with fix_file when it goes in a file). It asks no AI anything; the paid check does that.
curl -s -X POST https://www.opazu.com/api/v1/checks -H 'Content-Type: application/json' \
  -d '{"business_name":"Acme Invoices","website":"acme.com","business_type":"invoicing app for freelancers","online":true}'
# → 202 { "report_id": "...", "status": "running", "anon_key": "anon_...", "claim_url": "https://www.opazu.com/claim/...", ... }

curl -s https://www.opazu.com/api/v1/checks/REPORT_ID -H 'Authorization: Bearer anon_...'
curl -s 'https://www.opazu.com/api/v1/readiness?url=acme.com'

Start

  1. Sign in at opazu.com/account (email link, no password) and copy your API key.
  2. Send it as Authorization: Bearer YOUR_KEY to https://www.opazu.com/api/v1.
  3. For AI apps, the same account works as an MCP connector: https://www.opazu.com/api/mcp (OAuth) or the personal link on your account page.

Prices per answer: ChatGPT $0.12, Gemini $0.13, Perplexity $0.03, Claude $0.20, Grok $0.20. A check costs questions × repeats × the AIs chosen; the default (7 questions on ChatGPT, Gemini and Perplexity, once) is $1.96. Reading results, steps and schedules is free. Failed checks are refunded.

Machine-readable spec: /openapi.json.

Run a check

curl -X POST https://www.opazu.com/api/v1/checks \
  -H "Authorization: Bearer $OPAZU_KEY" -H "Content-Type: application/json" \
  -d '{"business_name":"Acme Invoices","website":"acmeinvoices.com",
       "business_type":"invoicing app for freelancers","online":true,
       "engines":["chatgpt","gemini","perplexity"]}'

Returns 202 with a report_id right away (add "wait":true to wait up to 50 seconds; if it is not done by then you still get 202 and poll). Local businesses send city and state (2 letters) instead of online. Optional: questions (up to 20, buyers' words; they replace the default set), repeats (1-3), engines (chatgpt, gemini, perplexity, claude, grok; default the first three).

Price first, cap, no double charges

# free: the price and your balance, nothing runs
curl -X POST https://www.opazu.com/api/v1/checks -H "Authorization: Bearer $OPAZU_KEY" -H "Content-Type: application/json" \
  -d '{"business_name":"Acme Invoices","website":"acmeinvoices.com","business_type":"invoicing app for freelancers","online":true,"dry_run":true}'
# -> {"dry_run":true,"estimated_cents":196,"questions":7,"engines":[...],"repeats":1,"balance_cents":600,"enough_balance":true,"charged_cents":0}

# run it, refuse if over $2, safe to retry with the same key
curl -X POST https://www.opazu.com/api/v1/checks -H "Authorization: Bearer $OPAZU_KEY" -H "Content-Type: application/json" \
  -H "Idempotency-Key: deploy-4f2c9a" -d '{..., "max_cost_cents":200}'

Read the result

curl https://www.opazu.com/api/v1/checks/REPORT_ID -H "Authorization: Bearer $OPAZU_KEY"
curl "https://www.opazu.com/api/v1/checks/REPORT_ID?include=answers" -H "Authorization: Bearer $OPAZU_KEY"   # every answer, word for word

While running: status: "running" and progress: {done, total}; poll every 15-30 seconds, checks take 1-5 minutes. queued means waiting for capacity (starts within the hour). When done:

More inputs

Get the result pushed: webhook_url

Checks take 1-5 minutes and wait stops at 50 seconds. Add webhook_url (public https) to POST /checks or /recheck: when the check finishes, Opazu POSTs {"event":"check.completed"|"check.failed","sent_at","report":{...}} with the same report as GET. It is signed: header Opazu-Signature: t=<unix>,v1=<hex>, where v1 is HMAC-SHA256 of t + "." + body with your webhook secret (returned once as webhook_secret the first time you use a webhook). Retried 3 times; the last delivery shows on GET /checks/{id} as webhook.

Next steps

curl https://www.opazu.com/api/v1/checks/REPORT_ID/tasks -H "Authorization: Bearer $OPAZU_KEY"
curl -X POST https://www.opazu.com/api/v1/checks/REPORT_ID/tasks/TASK_ID/done -H "Authorization: Bearer $OPAZU_KEY" \
  -H "Content-Type: application/json" -d '{"proof":"https://acme.com/best-invoicing-app-for-freelancers"}'
# → { "verified": true, "verification_note": "Page loads and names the business.", "tasks": [...] }

3-5 steps built only from what the AIs answered: task_id (stable), title, why (the evidence), what_to_do, and doer: assistant (the calling AI can do it), owner, or assistant_then_owner. Steps cover the business's own pages and listings and never ask for fake reviews or posts. Each step is ready for a coding agent: target (the page to change or create, or the site to get on, with a search_url to find an existing profile), draft (text or code to publish; [placeholders] are facts we don't have, to be filled with real ones, never invented), done_when (acceptance criteria) and proof_needed. Mark a step done with proof (a URL): Opazu opens it and checks it (right site, names the business, answers the question, or passes the readiness check) and returns verified with a note. Optional done_on, or {"undo":true}. The step number (1-based) also works in place of the task_id.

Re-check and compare

curl -X POST https://www.opazu.com/api/v1/checks/REPORT_ID/recheck -H "Authorization: Bearer $OPAZU_KEY"

Same questions, AIs and repeats with fresh answers, compared with the first check (recheck_of). Same price; dry_run, max_cost_cents and Idempotency-Key work here too. The result has change: before and after counts, the difference, the noise_margin for that many answers, and a verdict of better, worse or inconclusive. With 18 answers, differences under about 17 points are inconclusive; use repeats 2-3 for tighter numbers.

Automatic re-checks and webhooks

curl -X POST https://www.opazu.com/api/v1/schedules -H "Authorization: Bearer $OPAZU_KEY" -H "Content-Type: application/json" \
  -d '{"report_id":"REPORT_ID","every":"week","webhook_url":"https://example.com/opazu"}'
curl https://www.opazu.com/api/v1/schedules -H "Authorization: Bearer $OPAZU_KEY"
curl -X DELETE https://www.opazu.com/api/v1/schedules/SCHEDULE_ID -H "Authorization: Bearer $OPAZU_KEY"

every: week, 2weeks or month. Each run is paid from the balance and emailed to the account. With a webhook_url (public https), Opazu POSTs recheck.completed (or recheck.skipped when the balance is too low) as JSON. The first schedule with a webhook returns a webhook_secret once; check the Opazu-Signature: t=…,v1=… header: HMAC-SHA256 of t + "." + body with that secret.

The connector has the same as tools: schedule_recheck, list_schedules, cancel_schedule.

Account, balance and auto top-up

curl https://www.opazu.com/api/v1/account -H "Authorization: Bearer $OPAZU_KEY"

Balance, prices, a link to add money, and auto top-up status. Turn on auto top-up on your account page: save a card once, pick the amount and a monthly limit, and Opazu adds money when the balance drops under $2, so an agent never stops mid-task and never spends past the limit.

Partners: add Opazu for your users

For app builders and agent platforms. One partner key, one balance (with auto top-up), an account per user without email sign-up, an optional monthly limit per user, and usage per user. Email borys@opazu.com to turn your account into a partner.

# create (or update) an account for one of your users
curl -X POST https://www.opazu.com/api/v1/partner/users -H "Authorization: Bearer $PARTNER_KEY" -H "Content-Type: application/json" \
  -d '{"user_id":"user_123","monthly_limit_cents":1000}'
# act for that user: your key + Opazu-User, or the user's own api_key
curl -X POST https://www.opazu.com/api/v1/checks -H "Authorization: Bearer $PARTNER_KEY" -H "Opazu-User: user_123" -d '{...}'
# usage per user this month
curl "https://www.opazu.com/api/v1/partner/usage?month=2026-12" -H "Authorization: Bearer $PARTNER_KEY"

Each user also gets a connector_url, so their own AI app can use Opazu on your bill.

Errors

JSON {"error":{"code","message"}}. Nothing is charged with any error.

Changes to this API are listed in the changelog.