# x402 API Key + URL Packs (Codex Key Pack 10)

> x402 API Key + URL Packs (Codex Key Pack 10) is a paid API for AI agents from x402-key.558686.xyz, paid per call via x402, $1.11112/call, status unknown (last checked 2026-09-14).

Purchases a small OpenAI-compatible API key and base URL quota pack (~$1 USD quota) via x402 micropayment, returning an API key, base URL, and endpoint URLs for use with OpenAI-compatible clients.

## Facts

- Endpoint: POST https://x402-key.558686.xyz/v1/paid/sub2api-codex-key-pack-10
- Price: $1.11112/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-api-key-url-packs-codex-key-pack-10-db1d7003
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qiJIh8Z1P_fUdj4p3ndX-

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-api-key-url-packs-codex-key-pack-10-db1d7003 -d '<json body>'
```

Example prompt: I need a quick OpenAI-compatible API key with about $1 of quota — can you buy me a Codex Key Pack 10 using my buyer reference 'buyer-001' so I get the base URL and API key back right away?

## When to prefer this

Choose this endpoint when you need a disposable or short-lived OpenAI-compatible API key with a small prepaid quota (~$1 USD), paid for instantly via USDC micropayment using the x402 protocol, without needing a long-term subscription or account. Prefer it for ephemeral agent tasks, serverless functions, or testing OpenAI-compatible integrations on demand.

## Known failure modes

- Payment not completed or insufficient USDC — 402 response before key is issued
- Missing or invalid buyer_reference query parameter — request rejected or returns error
- Upstream quota exhausted on the proxy — key may be issued but immediately rate-limited
- Network timeout contacting x402-key.558686.xyz — no key returned
- GPT-5.6 Soul model not available if upstream key does not support it — limited model list returned

## How this service works

Buy a low-cost readiness check first, then buy a small OpenAI-compatible URL + API key quota pack through x402, including GPT-5.6 Soul access when your upstream key allows it. The readiness check returns URL, model, request-shape, and next-pack contract details without exposing a key.

## Output

A JSON object containing: a masked and unmasked API key (sk-proj-... format), a base URL pointing to an OpenAI-compatible proxy, the chat completions endpoint URL, a models listing URL, the quota in USD (integer, ~1), and receipt evidence for the x402 payment. Also includes metadata fields like the tool name, route, project name, and a deterministic flag.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "tool": "api-codex-key-pack-10",
  "input": {
   "buyer_reference": "buyer-001"
  },
  "route": "/v1/paid/sub2api-codex-key-pack-10",
  "result": {
   "apiKey": "sk-proj-...masked",
   "baseUrl": "https://sub2api.558686.xyz/v1",
   "quotaUsd": 1,
   "modelsUrl": "https://sub2api.558686.xyz/v1/models",
   "apiKeyMasked": "sk-proj-...masked",
   "receiptEvidence": {},
   "chatCompletionsUrl": "https://sub2api.558686.xyz/v1/chat/completions"
  },
  "project": "x402-key-url-tools",
  "deterministic": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-api-key-url-packs-codex-key-pack-10-db1d7003/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-key.558686.xyz](https://www.zero.xyz/host/x402-key.558686.xyz/llms.txt)
