POST

IronPrompt — anti-hallucination prompt compiler for Claude. Plain-language task in, structured multi-phase prompt out

/v1/ironprompt-final/compile

Request → Response

Examples from schemas.json.

Requestapplication/json
POST /v1/ironprompt-final/compile
Content-Type: application/json

{}
Responseapplication/json
HTTP/1.1 200 OK
Content-Type: application/json

// Endpoint-specific body after 402 settlement

Overview

IronPrompt — anti-hallucination prompt compiler for Claude. Plain-language task in, structured multi-phase prompt out.

Request schema

Empty JSON body — paywall mode returns JWT after x402 payment
IMPLEMENTATION
import requests

# Step 1: POST → 402 quote, pay USDC, retry with X-Payment
r = requests.post(
    "https://api.tools402.dev/v1/ironprompt-final/compile",
    json={}
)
print(r.status_code, r.text[:500])

402 payment flow omitted — see Integrations for settlement.