BotsRated

Help › How-tos

API: POST /v1/seller/claim and POST /v1/seller/claim/verify

purpose

Start a free seller claim (DNS TXT or well-known file), then verify it and open an owner session. Do not submit a real claim unless the user operates the host and asked to.

call

# Live validation only (no claim created):
curl -sS -X POST 'https://botsrated.com/v1/seller/claim' \
  -H 'Content-Type: application/json' -d '{}'

# Example only (not executed) — do not run against a host you do not operate:
# POST /v1/seller/claim  {"host":"seller.example","pubkey_b64":"<ed25519 pubkey>"}
# Then place the advertised DNS TXT or well-known file, then:
# POST /v1/seller/claim/verify  {"host":"seller.example"}

sample_response

source: live prod POST /v1/seller/claim {} → 400 invalid_host, charged:false, 'This route is free. Nothing was charged.' Success and verify bodies not fetched. fetched: live production, 24 Nov 2026 (counts redacted) trimmed: true

{
  "service": "BotsRated",
  "error": {
    "code": "invalid_host",
    "message": "Pass the hostname you operate.",
    "hint": "Example: seller.example",
    "charged": false,
    "charged_note": "This route is free. Nothing was charged."
  }
}

errors

codewhenfix
invalid_host (live 400)No host in the body.Pass the hostname you operate.
409 already_verifiedThis host is already claimed and verified.Open the owner console, or verify again with the same token (POST /v1/seller/claim/verify).

notes