Base URL https://topnamed.com/api/v1 · every request carries Authorization: Bearer tn_live_…
Prepaid credits are debited per request in units: a full scan 4, a light scan 1, a fixes preview 1. Scans run asynchronously: the POST returns a job id, poll it until status is done. Send an Idempotency-Key header to retry safely without a second charge. A failed scan refunds its units.
| Status | Meaning |
|---|---|
401 | Missing, invalid or revoked key |
402 | Not enough credits: top up at /account/api |
429 | Rate limited; retry after a moment |
/scansStart a scan (asynchronous)
| Parameter | In | Type | Notes |
|---|---|---|---|
Idempotency-Key | header | string |
| Body field | Type | Notes |
|---|---|---|
domain * | string | |
light | boolean | Light scan, 1 unit |
max_prompts | integer | min 3 · max 30 |
engines | claude | chatgpt | perplexity | gemini[] | |
custom_prompts | string[] | up to 10 |
brand_terms | string[] | up to 10 |
competitors | string[] | up to 10 |
Responses: 202 Job accepted · 400 Bad request · 401 Missing, invalid or revoked key · 402 Not enough credits · 429 Rate limited
curl -X POST https://topnamed.com/api/v1/scans \
-H "Authorization: Bearer tn_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"domain": "example.com"}'/scans/{id}Get a job and, when done, its result
| Parameter | In | Type | Notes |
|---|---|---|---|
id * | path | string |
Responses: 200 Job · 404 Not found
curl https://topnamed.com/api/v1/scans/JOB_ID \ -H "Authorization: Bearer tn_live_YOUR_KEY"
/scans/{id}/fixesPreview grounded fixes for up to 3 gaps of a finished scan (asynchronous, 1 unit, nothing published)
| Parameter | In | Type | Notes |
|---|---|---|---|
id * | path | string |
Responses: 202 Job accepted · 404 Scan not found · 409 Scan not finished
curl -X POST https://topnamed.com/api/v1/scans/JOB_ID/fixes \ -H "Authorization: Bearer tn_live_YOUR_KEY"
/deploy-checkBuilder deploy check: a light scan (1 unit) of a site that just went live
| Parameter | In | Type | Notes |
|---|---|---|---|
Idempotency-Key | header | string | e.g. the deployment id |
| Body field | Type | Notes |
|---|---|---|
url * | string | |
ref | string | pattern ^builder_[a-z0-9]{2,20}$ |
Responses: 202 Job accepted · 401 Missing or invalid key · 402 Not enough credits
curl -X POST https://topnamed.com/api/v1/deploy-check \
-H "Authorization: Bearer tn_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://example.com"}'/usageCredit balance and this month's usage
Responses: 200 Usage
curl https://topnamed.com/api/v1/usage \ -H "Authorization: Bearer tn_live_YOUR_KEY"
Keys and top-ups on your API page. MCP server for agents on the developers page.