# x402 Integration Pack Documentation

> x402 Integration Pack Documentation is a paid API for AI agents from call402.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-12-02).

Returns the x402 protocol integration pack documentation (markdown guide and reference ID) for building USDC pay-per-call AI agent services on Base mainnet.

## Facts

- Endpoint: POST https://call402.com/api/x402-integration-pack?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-integration-pack-documentation-85c15ec7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MzBofni7DQdNAvVQ6aUgQ

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 x402-integration-pack-documentation-85c15ec7 -d '<json body>'
```

Example prompt: Can you fetch me the x402 integration pack documentation so I can learn how to implement USDC pay-per-call payments using the x402 protocol on Base mainnet?

## When to prefer this

Choose this endpoint when you need authoritative x402 protocol integration documentation specific to call402.com's implementation on Base mainnet with USDC. Prefer this over generic x402 GitHub docs when you want a curated, versioned integration pack (pack_markdown) with a stable reference ID, especially when building AI agent workflows that need to pay for APIs programmatically.

## Known failure modes

- Payment not sent or invalid PAYMENT-SIGNATURE header causes continued 402 responses
- Insufficient USDC balance on Base mainnet prevents payment processing
- Malformed POST body causes 400 error
- Network issues with Base mainnet facilitator delay or block payment settlement
- Stale or expired payment token causes rejection on retry

## How this service works

USDC pay-per-call APIs for AI agents via the x402 protocol (v2, exact, Base mainnet). Send a request, receive HTTP 402 with payment requirements, pay with @x402/fetch or any x402 client, retry with the PAYMENT-SIGNATURE header.

## Output

Returns a JSON object containing a document reference ID (e.g. 'C402-PACK-2510') and a full markdown integration guide covering the x402 protocol v2 flow, including how to handle HTTP 402 responses, pay with @x402/fetch or compatible clients, and retry requests with the PAYMENT-SIGNATURE header on Base mainnet.

## 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",
    "bodyType",
    "body",
    "example"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [],
     "properties": {}
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [],
     "properties": {}
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example",
    "schema"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "schema": {
     "type": "object"
    },
    "example": {
     "type": "object",
     "required": [
      "doc_ref",
      "pack_markdown"
     ],
     "properties": {
      "doc_ref": {
       "type": "string"
      },
      "pack_markdown": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "schema": {
  "type": "object",
  "required": [
   "doc_ref",
   "pack_markdown"
  ],
  "properties": {
   "doc_ref": {
    "type": "string"
   },
   "pack_markdown": {
    "type": "string"
   }
  }
 },
 "example": {
  "doc_ref": "C402-PACK-2510",
  "pack_markdown": "# x402 Integration Pack"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-integration-pack-documentation-85c15ec7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from call402.com](https://www.zero.xyz/host/call402.com/llms.txt)
