Marketplace · API · x402
api.x402ai.dev/api/policy-check
Deterministic pre-flight policy check for AI agent actions, run by a Prolog rule engine (SWI-Prolog), no LLM. POST JSON {profile: baseline or strict, context: {workdir, home, sandboxed}, actions: 1-20 of read, write, delete, exec, network, pay, self_modify}; returns {policy, results, summary, checked_rules}: one verdict per action (allowed, refused, needs_review) with the rules that decided it. Same input, same output. Checks the actions it is sent; does not enforce them. Typically under 1 s.
| Endpoint | https://api.x402ai.dev/api/policy-check |
| Trust | Not checked yet |
| Pricing | Pay per call with x402, no account. Call it to get an exact quote before paying. |
| network | eip155:8453 |
| scheme | exact |
| pay to | 0xecE637d74aB1a000abcf69956e22f1131501ae8b |
| method | POST |
| last updated | 2026-11-12T23:54:59.693Z |
Use it
Call it (an x402 client pays automatically)
curl -i https://api.x402ai.dev/api/policy-check
# 402 reply -> sign PAYMENT-REQUIRED with an x402 client (e.g. @x402/fetch) -> retry with PAYMENT-SIGNATUREThis listing as JSON
curl https://aipaygen.com/v1/catalog/api/x402-029e6ea905414632Search the whole marketplace from your agent (MCP)
{
"mcpServers": {
"aipaygen": {
"url": "https://aipaygen.com/mcp"
}
}
}