Try examples
Static, clearly labelled examples only. This page does not call paid endpoints and must not be wired to a wallet. For unpaid discovery, POST an empty JSON body to a catalog path and read the 402. Live prices stay on /api and /api/v1/catalog.
Unpaid 402 probe
Static example only. This curl must not be run as a paid call from the Try page.
curl -sS -D - -o /tmp/brainiac-402.json \
-X POST "https://www.brainiac.software/api/v1/license/requirements" \
-H "content-type: application/json" \
-d '{}'HTTP client snippet
Structure-only body. Fill fields from OpenAPI before paying.
import { wrapFetch } from "@x402/fetch"
const fetchWithPayment = wrapFetch(fetch, { … })
await fetchWithPayment("https://www.brainiac.software/api/v1/license/requirements", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({ "…": "…" }),
})MCP tools/call shape
Structure-only. Attach payment in _meta only after an unpaid challenge.
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"…","arguments":{"…":"…"},"_meta":{"x402/payment":"…"}}}Client docs
LangGraph, Claude / Cursor MCP, x402, example path /api/v1/license/requirements.