BotsRated

Help › How-tos

API: POST /v1/seller/announce

purpose

Verified owner posts a signed planned price or payTo set. Free, owner session required.

call

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

# Example only (not executed) (creates a public statement — do not run without a real owner session):
# POST /v1/seller/announce
# {"host":"seller.example","effective_at":"2026-12-01T00:00:00Z","sig_b64":"<sig>","planned_price_usd":0.01,"payto":["0x…"]}
# plus owner session auth as documented (OpenAPI security sellerSession).

sample_response

source: live prod 400 invalid_host on empty JSON; MCP fake session returned owner_required. Nothing was posted. fetched: live production, 24 Nov 2026 (counts redacted) trimmed: true

{
  "http_empty": {
    "service": "BotsRated",
    "error": {
      "code": "invalid_host",
      "message": "Pass host.",
      "hint": "The host you claimed.",
      "charged": false,
      "charged_note": "This route is free. Nothing was charged."
    }
  },
  "mcp_fake_session": {
    "error": {
      "code": "owner_required",
      "message": "Posting a statement requires a verified owner session for this host.",
      "hint": "Verify the claim, then sign with the key registered at claim.",
      "charged": false
    },
    "next": {
      "step": "Next: watch a host free, or check again later.",
      "receipt_url": null,
      "watch_free": null,
      "check_again": true
    }
  }
}

errors

codewhenfix
invalid_host (live HTTP 400)Empty body.Pass the claimed host.
owner_required (live MCP)No verified session.Claim and verify, then sign with the registered key.