{
  "generated_at": "2026-04-24T15:01:35.625676+00:00",
  "slug": "api-actiongate-xyz-v1-policy-gate",
  "title": "ActionGate \u00b7 Policy Enforcement Check",
  "url": "https://api.actiongate.xyz/v1/policy-gate",
  "category": "tools",
  "summary": "Evaluate policy rules against an action and actor to return allow or deny decisions.",
  "seo": {
    "title": "Policy Gate API - x402 Access Control",
    "description": "Run policy checks to determine allow or deny decisions for actions and actors. x402 micropayment on Base network."
  },
  "use_cases": [
    "Enforce access control for agent actions",
    "Validate transaction permissions",
    "Gate operations based on actor reputation"
  ],
  "ideal_buyer": "Agent orchestration platforms and security systems needing policy-based access control.",
  "example_prompt": "Check if wallet 0x123 can execute a swap on Base",
  "example_request_body": {
    "actor": {
      "actor_id": "user-123",
      "wallet_address": "0xabc123"
    },
    "action": {
      "target": "uniswap",
      "network": "base",
      "action_type": "swap"
    }
  },
  "risk_notes": [],
  "pricing_sanity": {
    "flag": "normal",
    "ratio": 1.5,
    "median_category_atomic": 20000
  },
  "pricing_review_required": false,
  "pricing_decimal_suspect": false,
  "trust_tier": "indexed_external",
  "accepts": [
    {
      "scheme": "exact",
      "network": "base",
      "pay_to": "0xca2bedad2272a4cba334be11e833bf8b8efb5a60",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "max_amount_required_atomic": "30000",
      "max_timeout_seconds": 60,
      "mime_type": "application/json",
      "description": "Run policy checks and determine allow or deny.",
      "verified": false,
      "hints": {
        "input": {
          "body": {
            "type": "object",
            "required": [
              "actor",
              "action",
              "policy"
            ],
            "properties": {
              "actor": {
                "type": "object",
                "required": [
                  "actor_id"
                ],
                "properties": {
                  "actor_id": {
                    "type": "string"
                  },
                  "wallet_address": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "action": {
                "type": "object",
                "required": [
                  "action_type"
                ],
                "properties": {
                  "target": {
                    "type": "string"
                  },
                  "network": {
                    "type": "string"
                  },
                  "action_type": {
                    "type": "string"
                  }
                },
                "additionalProperties": true
              },
              "policy": {
                "type": "object",
                "properties": {
                  "overrides": {
                    "type": "object",
                    "additionalProperties": true
                  },
                  "policy_id": {
                    "type": "string"
                  }
                },
                "additionalProperties": true
              },
              "context": {
                "type": "object",
                "additionalProperties": true
              },
              "request_id": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "type": "http",
          "method": "POST",
          "bodyType": "json"
        },
        "output": {
          "type": "json",
          "example": {
            "decision": "allow_with_limits",
            "latency_ms": 40,
            "request_id": "rq_demo_policy",
            "usage_receipt": {
              "currency": "USD",
              "signature": "receipt_signature_redacted",
              "request_id": "rq_demo_policy",
              "units_billed": 1,
              "payment_reference": "pay_rq_demo_policy",
              "price_per_unit_usd": "0.03"
            },
            "violated_rules": [
              {
                "rule_id": "MAX_SINGLE_TRANSFER_USD",
                "severity": "warning",
                "description": "Action amount 150000 exceeds max 100000."
              }
            ],
            "safe_alternative": {
              "action": {
                "amount": "100000",
                "target": "0x1111111111111111111111111111111111111111",
                "network": "base",
                "action_type": "transfer",
                "asset_symbol": "USDC"
              },
              "rationale": "Reduce amount to match configured policy limit."
            }
          }
        }
      }
    }
  ],
  "origin": {
    "slug": "api-actiongate-xyz",
    "host": "api.actiongate.xyz",
    "title": "ActionGate: Paid API and MCP Proxy for Machine Decisions",
    "description": "x402 and Stripe billing proxy for APIs and MCP servers. Offers risk scoring, simulation, and policy gate tools with per-call pricing. Exposes paid tools via HTTP API or remote MCP for AI agents.",
    "url": "https://api.actiongate.xyz",
    "favicon": "https://api.actiongate.xyz/logos/actiongate.svg"
  },
  "json_ld": {
    "@id": "https://x402all.com/resource/api-actiongate-xyz-v1-policy-gate",
    "url": "https://x402all.com/resource/api-actiongate-xyz-v1-policy-gate",
    "name": "ActionGate \u00b7 Policy Enforcement Check",
    "@type": "WebAPI",
    "offers": {
      "url": "https://x402all.com/resource/api-actiongate-xyz-v1-policy-gate",
      "@type": "Offer",
      "price": "0.03",
      "availability": "https://schema.org/InStock",
      "priceCurrency": "USDC",
      "priceSpecification": {
        "@type": "UnitPriceSpecification",
        "price": "0.030000",
        "unitText": "call",
        "priceCurrency": "USDC"
      },
      "eligibleCustomerType": "Agent",
      "additionalProperty": [
        {
          "@type": "PropertyValue",
          "name": "paymentNetwork",
          "value": "base"
        },
        {
          "@type": "PropertyValue",
          "name": "paymentAsset",
          "value": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
        }
      ]
    },
    "sameAs": "https://api.actiongate.xyz/v1/policy-gate",
    "@context": "https://schema.org",
    "provider": {
      "@id": "https://x402all.com/server/api-actiongate-xyz",
      "url": "https://api.actiongate.xyz",
      "name": "ActionGate: Paid API and MCP Proxy for Machine Decisions",
      "@type": "Organization"
    },
    "identifier": "api-actiongate-xyz-v1-policy-gate",
    "description": "Run policy checks to determine allow or deny decisions for actions and actors. x402 micropayment on Base network.",
    "potentialAction": {
      "@type": "BuyAction",
      "target": "https://axon402.com/test-buy?resource=api-actiongate-xyz-v1-policy-gate",
      "description": "Test-buy this endpoint on AXON"
    },
    "applicationCategory": "tools"
  },
  "axon_deep_link": "https://axon402.com/test-buy?resource=api-actiongate-xyz-v1-policy-gate"
}
