Turn an OpenAPI 3.x / Swagger 2.0 spec (JSON or YAML, URL or inline) into a ready-to-mount x402 V2 paywall: per-operation accepts[] (exact, CAIP-2 network, atomic USDC amount, payTo, EIP-712 extra), @x402/core route config, Bazaar discovery input/output schemas, a /.well-known/x402 document and a sample PAYMENT-REQUIRED payload.
$0.003 USDC / callGET · POSTx402 V2 · eip155:8453x402 developer tools
https://forge-tools.dentreprise.workers.dev/api/x402-manifest-from-openapi?url=https%3A%2F%2Fpetstore3.swagger.io%2Fapi%2Fv3%2Fopenapi.json&payTo=0x7B8bf45ac6AcbA6D4CFB626b57D3f5fF3C9C89F7&price=0.001
url — OpenAPI URL
spec — Inline spec (POST)
payTo required — Receiving address
price — Default USD price per call
prices — JSON map {"GET /path": 0.002}
network — CAIP-2, default eip155:8453
base_url — Override server URL
{
"url": "https://petstore3.swagger.io/api/v3/openapi.json",
"payTo": "0x7B8bf45ac6AcbA6D4CFB626b57D3f5fF3C9C89F7",
"price": "0.001"
}{
"operations": 19,
"routes": [
{
"method": "GET",
"path": "/pet/{petId}",
"accepts": [
{
"scheme": "exact",
"amount": "1000"
}
]
}
],
"well_known_x402": {
"version": 1,
"resources": []
},
"related_tools": [
{
"route": "/api/x402-compliance",
"url": "https://forge-tools.dentreprise.workers.dev/api/x402-compliance",
"price": "$0.002",
"what": "x402 V2 compliance tester"
},
{
"route": "/api/openapi-lint",
"url": "https://forge-tools.dentreprise.workers.dev/api/openapi-lint",
"price": "$0.002",
"what": "OpenAPI linter for agent readiness"
}
],
"catalog": "https://agent-hub.dentreprise.workers.dev/catalog.json"
}