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.

Endpointhttps://api.x402ai.dev/api/policy-check
TrustNot checked yet
PricingPay per call with x402, no account. Call it to get an exact quote before paying.
networkeip155:8453
schemeexact
pay to0xecE637d74aB1a000abcf69956e22f1131501ae8b
methodPOST
last updated2026-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-SIGNATURE

This listing as JSON

curl https://aipaygen.com/v1/catalog/api/x402-029e6ea905414632

Search the whole marketplace from your agent (MCP)

{
  "mcpServers": {
    "aipaygen": {
      "url": "https://aipaygen.com/mcp"
    }
  }
}