# Agent Buyer Identity Preflight | x402 Purchase Governance

> Agent Buyer Identity Preflight | x402 Purchase Governance is a paid API for AI agents from base-agent-preflight.bytoken2023.workers.dev, paid per call via x402, $49/call, status unknown (last checked 2026-09-14).

Performs a pre-purchase policy check to verify whether an AI agent's buyer role, segment, and context meet the approval criteria for a given x402-gated API, dataset, or tool.

## Facts

- Endpoint: GET https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/agent/buyer-policy-kit
- Price: $49/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-buyer-identity-preflight-x402-purchase-governance-42104874
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ypQUiMyM3oxNc8v06tu03

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agent-buyer-identity-preflight-x402-purchase-governance-42104874
```

Example prompt: Before you spend any USDC on that x402 API, run a preflight policy check for our enterprise buyer segment and get the full manifest so we know the risk level and any flags before committing.

## When to prefer this

Use this endpoint when an AI agent needs to perform a pre-purchase governance check before spending USDC on an x402-gated resource. It is specifically designed for the x402 protocol ecosystem on Base network and provides structured risk assessment, buyer segment filtering, and policy manifests — making it the right choice over generic identity checks when the purchase involves x402 payment gating and autonomous agent buyers.

## Known failure modes

- Missing or invalid buyer_type enum value results in a validation error
- Unsupported format parameter returns an error or empty response
- High-risk agent identity or policy mismatch may return elevated risk_level with disqualifying flags
- Network or worker availability issues on Cloudflare may cause timeouts
- Payment of $49 USDC required per call — unpaid requests return HTTP 402

## How this service works

Machine-payable service intelligence for discovering, verifying, and monitoring identity, risk, authorization, execution-preflight, and evidence APIs before autonomous agents spend.

## Output

Returns a JSON object containing the network (e.g. eip155:8453 for Base), product identifier, and a full assessment block with risk_score, risk_level, and flags array. May also include identity, activity, and provenance sub-objects depending on the format requested (manifest, policy, or quickstart).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "format": {
       "enum": [
        "manifest",
        "policy",
        "quickstart"
       ],
       "type": "string",
       "description": "Delivery format. manifest returns the full kit manifest."
      },
      "buyer_type": {
       "enum": [
        "developer",
        "startup",
        "enterprise"
       ],
       "type": "string",
       "description": "Buyer segment for install and integration guidance."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "network": {
       "type": "string"
      },
      "product": {
       "type": "string"
      },
      "activity": {
       "type": "object"
      },
      "identity": {
       "type": "object"
      },
      "assessment": {
       "type": "object"
      },
      "provenance": {
       "type": "object"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "network": "eip155:8453",
  "product": "agent-buyer-policy-kit",
  "assessment": {
   "flags": [],
   "risk_level": "low",
   "risk_score": 0
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-buyer-identity-preflight-x402-purchase-governance-42104874/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from base-agent-preflight.bytoken2023.workers.dev](https://www.zero.xyz/host/base-agent-preflight.bytoken2023.workers.dev/llms.txt)
