# Pounga Agent Preflight API

> Pounga Agent Preflight API is a paid API for AI agents from preflight.pounga.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-16).

Deterministically validates an A2A (Agent-to-Agent) Agent Card JSON payload before initiating agent interaction, ensuring correctness before committing to a live call.

## Facts

- Endpoint: POST https://preflight.pounga.com/v1/preflight/a2a
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pounga-agent-preflight-api-cbddc5d1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fHXKh0BJQU1H1hF80QDuI

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 pounga-agent-preflight-api-cbddc5d1 -d '<json body>'
```

Example prompt: Before I send this agent card JSON to the remote agent, run a preflight validation on it — it's a POST with a JSON body — and tell me if it passes or has any errors.

## When to prefer this

Choose this endpoint when you need deterministic, structural validation of an A2A Agent Card JSON payload before initiating an agent-to-agent interaction — especially useful in CI/CD pipelines, pre-deployment checks, or debugging sessions. Prefer this over runtime trial-and-error when correctness of the agent card is critical and you want to avoid wasted live calls or costly downstream failures.

## Known failure modes

- Invalid or missing required 'input' object returns a schema validation error
- Unsupported HTTP method (anything other than POST, PUT, PATCH) is rejected
- Malformed JSON body causes parse failure
- Payment not fulfilled via x402 v2 on Base Mainnet results in 402 Payment Required
- Unsupported bodyType enum value triggers input rejection
- Network timeout or service unavailability returns 5xx error

## How this service works

Deterministic validation of A2A Agent Card JSON before agent interaction. Paid per request through x402 v2 on Base Mainnet.

## Output

Returns a deterministic validation result indicating whether the submitted A2A Agent Card JSON is well-formed and compliant, along with specific error details or field-level issues if validation fails.

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pounga-agent-preflight-api-cbddc5d1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from preflight.pounga.com](https://www.zero.xyz/host/preflight.pounga.com/llms.txt)
