← Back to marketplace

Agent Security Policy API

Returns a machine-usable permission matrix, spend and egress guard, secret rules, audit schema, blocked-action tests, and Codex implementation prompt before AI/MCP agents receive tools, files, browser state, or wallet spend.

ai
by weirenhei14 endpoints100% uptime338ms avg

Endpoints

GET/v1/agent/payment-mandate-pack
$0.0100/req

Agent payment mandate pack: buyer org, agent scope, approved resources, spend window, approval thresholds, receipt evidence policy, dispute evidence pack, MCP procurement policy, TypeScript guard, simulations, install steps, verification, and repeat trigger.

GET/v1/agent/payment-policy-compiler
$0.0100/req

Agent payment policy compiler: executable x402 spend policy, MCP client config, spend caps, pay-to allowlist, receipt gate, audit schema, TypeScript guard, simulations, install steps, verification, and repeat trigger.

GET/v1/agent/recurring-spend-guard
$0.0100/req

Agent recurring spend guard: subscriptionless repeat x402 purchase controls with approved resource, budget window, receipt gate, payTo mismatch stop, payment-count and period-budget limits, TypeScript guard, MCP client policy, ledger schema, simulations, install steps, verification, and repeat trigger.

GET/v1/agent/security-policy-pack
$0.0100/req

Returns an agent security policy pack with permission matrix, spend and egress guard, secret-handling rules, audit log schema, blocked-action tests, and Codex implementation prompt.

GET/v1/agent/spend-firewall-pack
$0.0100/req

Agent spend firewall pack: buyer risk score, policy, deny decision table, guard function, MCP and server wallet policy, receipt verification, audit log, install steps, daily runbook, and simulations.

GET/v1/ai/crawler-monetization-kit
$0.0100/req

AI crawler monetization kit: crawler policy, robots.txt and llms.txt patches, x402 route matrix, Cloudflare Worker enforcement snippet, pricing block, audit log schema, crawler rules, verification plan, repeat trigger.

GET/v1/growth/zero-revenue-rescue-pack
$0.0100/req

Zero revenue rescue pack: diagnosis, rescue output, channel plan, one-day experiment, verification checklist, and repeat trigger for shipped AI/API/MCP/x402 products with attention but no verified payment.

GET/v1/mcp/directory-introspection-audit
$0.0100/req

MCP directory introspection audit: repairs Glama/Awesome MCP scoring, stdio introspection, glama.json, .mcp.json, Dockerfile, LICENSE, README, tool definition quality, score repair plan, submission retry checklist, and repeat trigger.

GET/v1/mcp/paid-launch-pack
$0.0100/req

Paid MCP launch pack: server.json patch, tool contract, pricing block, directory copy, launch checklist, and repeat trigger for paid MCP builders.

GET/v1/x402/directory-audition-recovery-pack
$0.0100/req

Directory audition recovery pack: diagnoses x402gle, OpenDexter, APIHub, and MCP cases where a service is visible or registered but audition, paid score, shareUrl, fixInstructions, or settlement test remains incomplete.

Response schema

auditionStatusDiagnosisobject
directoryRetryChecklistarray
submissionRetryCopyobject
evidenceBundleobject
GET/v1/x402/facilitator-settlement-reconcile
$0.0100/req

x402 facilitator settlement reconcile: settled/retry verdict, duplicate risk, amount/recipient/network delta, receipt validity, ledger row, evidence, minimal retry or fix, and repeat trigger.

GET/v1/x402/payment-failure-doctor
$0.0100/req

x402 payment failure doctor: failure-stage diagnosis, retry decision, minimal replay command, receipt and revenue evidence checklist, client patch suggestions, settlement timeout plan, and repeat trigger.

GET/v1/x402/receipt-dispute-evidence-pack
$0.0100/req

x402 receipt dispute evidence pack: Payment-Response, txHash, paid body hash, refund/retry decision, support copy, receipt verifier, and ledger rows for paid support disputes.

GET/v1/x402/seller/checkout-repair-pack
$0.0100/req

Seller checkout repair pack: conversion blockers, first purchase path, directory patch, repair plan, verification, and repeat trigger for x402 sellers with traffic but failed checkout.

Quick start

Easiest way: the APIHub CLI. Credits cover x402, no wallet needed.

# install and set up once
npx @apihubio/cli register
npx @apihubio/cli topup 10

# call this service
npx @apihubio/cli call -X GET "https://proxy.apihub.io/400860-agent-security-policy/v1/agent/payment-mandate-pack"

Or call the proxy directly (curl / any HTTP client):

curl https://proxy.apihub.io/400860-agent-security-policy/v1/agent/payment-mandate-pack \
  -H "Authorization: Bearer ahk_your_key"

# If credits available: charged automatically, returns 200
# Otherwise: returns 402 (pay via @x402/fetch or top up credits)

Pricing calculator

Estimate your monthly cost for Agent Security Policy API.

GET /v1/agent/payment-mandate-pack$0.0100/req
-
GET /v1/agent/payment-policy-compiler$0.0100/req
-
GET /v1/agent/recurring-spend-guard$0.0100/req
-
GET /v1/agent/security-policy-pack$0.0100/req
-
GET /v1/agent/spend-firewall-pack$0.0100/req
-
GET /v1/ai/crawler-monetization-kit$0.0100/req
-
GET /v1/growth/zero-revenue-rescue-pack$0.0100/req
-
GET /v1/mcp/directory-introspection-audit$0.0100/req
-
GET /v1/mcp/paid-launch-pack$0.0100/req
-
GET /v1/x402/directory-audition-recovery-pack$0.0100/req
-
GET /v1/x402/facilitator-settlement-reconcile$0.0100/req
-
GET /v1/x402/payment-failure-doctor$0.0100/req
-
GET /v1/x402/receipt-dispute-evidence-pack$0.0100/req
-
GET /v1/x402/seller/checkout-repair-pack$0.0100/req
-