← Back to directory

Runnable example calls (curl, Python requests, JavaScript fetch) from an OpenAPI...

https://denk.halowerk.com/v1/api-docs-examples

Overview

Runnable example calls (curl, Python requests, JavaScript fetch) from an OpenAPI 3 document or from curl/HTTP examples found in Markdown or HTML docs, with placeholders listed.

Protocol x402 (POST)
Price $0.0030
Payment Asset USD Coin
Payment Network eip155:8453
Category uncategorized
Provider denk
Source bazaar
Indexed 2026-11-24 12:33:44

Health

Status unknown
Latency (p50) —
Uptime (30d) —
Reliability Score —
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —

Input Schema

{ "body": { "markdown": "```bash\ncurl -X POST https://api.halowerk.com/v1/items \\\n -H \"Authorization: Bearer $API_KEY\" \\\n -d '{\"name\":\"x\"}'\n```" }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "limitations": [ "Generated values are placeholders where the document has no example; replace them before running.", "Only local $ref targets are resolved." ], "result": { "examples": [ { "placeholders": [ "$API_KEY" ], "request": { "body": "{\"name\":\"x\"}", "headers": { "Authorization": "Bearer $API_KEY" }, "method": "POST", "url": "https://api.halowerk.com/v1/items" }, "snippets": { "curl": "curl -X POST 'https://api.halowerk.com/v1/items' \\\n -H \"Authorization: Bearer $API_KEY\" \\\n -d '{\"name\":\"x\"}'", "javascript": "const res = await fetch(\"https://api.halowerk.com/v1/items\", {\n method: \"POST\",\n headers: { \"Authorization\": `Bearer ${process.env.API_KEY}` },\n body: \"{\\\"name\\\":\\\"x\\\"}\",\n});\nif (!res.ok) throw new Error(`HTTP ${res.status}`);", "python": "import os\nimport requests\n\nresp = requests.request(\"POST\", \"https://api.halowerk.com/v1/items\",\n headers={\n \"Authorization\": f'Bearer {os.environ[\"API_KEY\"]}',\n },\n data=\"{\\\"name\\\":\\\"x\\\"}\",\n timeout=30)\nresp.raise_for_status()" }, "source": { "kind": "curl", "line": 1 }, "warnings": [] } ], "mode": "docs" }, "service": "api-docs-examples", "status": "success" }, "type": "json" }