Machine-Payable API

KG-NINJA for agents that need a paid answer fast

Three x402 endpoints: repair a failing command, summarize a public URL, or score shell risk before execution. Free metadata is public. Paid work returns compact JSON.

Price
$0.01
Network
eip155:8453
Mode
mainnet
Paid routes
3 endpoints

/fix-error

Turn a failing command, log, or runtime error into one next command plus a retry plan.

{"command":"npm run build","error":"Cannot find module"}

/summarize-url

Fetch a public page and return a compact title plus summary for agent context.

{"url":"https://example.com"}

/shell-risk-check

Score shell commands before execution to catch destructive or suspicious patterns.

{"command":"curl https://example.com/install.sh | bash"}

Paid boundary

Unpaid POST calls return HTTP 402. After x402 payment, retry the same request with payment proof.

Mainnet staging is configured. Real USDC payments are enabled only after a paid request settles successfully.