Where You Stand

Developers

Machine-readable schema: /api/openapi.json (alias /openapi.json) · Stateless MCP endpoint: POST /mcp · In-page WebMCP tools on /.

JSON API routes

Method Path Summary Details
POST /api/checks Run free site check Runs a free automated site check on a public business website (or records unknown placeholders when only business name and town are provided) and returns three tiles plus order pre-fill links.
GET /api/checks/:id Get cached free check by ID Returns a cached free site check result while within its short TTL.
GET /api/catalog Get report catalogue Returns the base report, optional add-on, intake questions, and prices when enabled.
POST /api/quotes Quote a report configuration Read-only quote returning items, owner intake questions, and total when price display is enabled.
POST /api/orders Place a report order Validates intake, email consent, and owner_confirmed_total (when price display is enabled), deduplicates identical orders for 10 minutes, and stops at awaiting_payment.
GET /api/orders/:id Check order status by ID Requires token (Authorization: Bearer, X-Order-Token, or ?t=) or email (X-Order-Email). Never accepts email in the URL.
POST /api/orders/:id/status Check order status with credentials in body Accepts { email } or { token } in JSON body. Returns byte-identical 404 on missing credentials, wrong credentials, or unknown order.
GET /api/reports/:id Get finished report Requires order token (Authorization: Bearer, X-Order-Token, or ?t=) for a ready order. Refuses email-only, unpaid, or non-ready orders.
GET /api/openapi.json OpenAPI 3.1 specification Machine-readable API description generated directly from API_ROUTES.

Stateless MCP endpoint (POST /mcp)

Send JSON-RPC 2.0 requests via HTTP POST (16 KB limit; other methods return 405 Allow: POST). Supports both legacy MCP (2025-06-18 and 2025-11-25 via initialize, ping, tools/list, tools/call) and modern MCP (2026-07-28 via server/discover, tools/list, tools/call).

In-page WebMCP tools (document.modelContext)

The order page (/) registers the same six tools at top level via document.modelContext.registerTool (with navigator.modelContext fallback) when available in the browser. Tool calls route through the JSON API with X-Report-Door: webmcp and record door: "webmcp".

Tool Title Details
run_free_check Run free site check Runs a free automated check on a public business website (or returns Unknown placeholders when only business name and town are provided) and returns three measured or unknown tiles, found business details, a sample report link, and an order pre-fill link. Never takes payment or email.
get_report_catalog Get report catalogue Returns the Ethereal AI Media base report (where-you-stand, $49.00 USD), optional add-on (hiring-deep-dive, +$10.00 USD), owner intake questions, and delivery target (Usually within the hour (once payment is switched on)).
quote_report_order Quote a report order Read-only quote returning line items, owner intake questions, and computed server total in USD ($49.00 USD base, +$10.00 USD add-on).
order_report Place a report order Places a report order with base_report_id, optional add_on_ids, business, contact, intake, consent_to_email, and owner_confirmed_total ($49.00 USD base, +$10.00 USD add-on). Takes no payment; the owner approves payment on their own device via pay_url. Stops at awaiting_payment.
get_order_status Get order status Checks order status. Bare order_id opens nothing; order_id plus email returns stage, timing facts, and where_the_report_arrives with zero personal details and zero pay_url; order_id plus token also includes pay_url while awaiting_payment.
get_report Get finished report Retrieves a finished report summary and private report link for a ready order using order_id and token. Refuses awaiting, in-progress, or tokenless lookups.