{
  "x402Version": 2,
  "id": 6457,
  "slug": "6457",
  "resource": "https://api.x402agentic.ai/spend-guard",
  "description": "Per-agent budget enforcement — track an agent's cumulative spend against a cap and block overspend. Part of x402 Agentic, the payment-trust suite for AI agents on Base USDC.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xc23C4aFA42cbaBbc03D04Bc87ecB769Fc82F1f43",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "agentId": "agent-123",
            "amountUsd": 0.25,
            "budgetUsd": 10
          },
          "type": "http"
        },
        "output": {
          "example": {
            "agentId": "agent-123",
            "allowed": true,
            "amountUsd": 0.25,
            "budgetUsd": 10,
            "recorded": true,
            "remainingUsd": 9.75,
            "spentUsd": 0.25,
            "verdict": "allow"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "agentId": {
                    "description": "Stable identifier for the spending agent",
                    "type": "string"
                  },
                  "amountUsd": {
                    "description": "Amount about to be spent (USD)",
                    "type": "number"
                  },
                  "budgetUsd": {
                    "description": "Optional: set/raise this agent's budget (USD)",
                    "type": "number"
                  }
                },
                "required": [
                  "agentId"
                ],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "api.x402agentic.ai",
  "lastUpdated": "2026-09-17T03:57:54.808Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 4,
    "lastCalledAt": "2026-09-17T03:57:54.415Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.x402agentic.ai",
    "manifest_name": "api.x402agentic.ai",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}