# x402 API Key + URL Packs (api-codex-key-pack-100)

> x402 API Key + URL Packs (api-codex-key-pack-100) is a paid API for AI agents from x402-key.558686.xyz, paid per call via x402, $11.1112/call, status unknown (last checked 2026-09-13).

Purchases an OpenAI-compatible API key and base URL quota pack (~$1 USD quota) via x402 micropayment, returning the key, base URL, and endpoints for chat completions and model listing.

## Facts

- Endpoint: POST https://x402-key.558686.xyz/v1/paid/api-codex-key-pack-100
- Price: $11.1112/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-api-key-url-packs-api-codex-key-pack-100-1ff3aacd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_W4NiUqjh4oWVdYuw7GeRz

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-api-codex-key-pack-100-1ff3aacd -d '<json body>'
```

Example prompt: I need to buy an OpenAI-compatible API key pack via x402 for buyer reference 'buyer-001' — give me the API key, base URL, and chat completions URL with $1 quota.

## When to prefer this

Use this endpoint when you need a ready-to-use OpenAI-compatible API key and base URL provisioned on-demand via x402 micropayment, especially for agents that need LLM access without managing long-term API credentials or subscriptions. Prefer over alternatives when operating in x402-enabled payment flows and needing a small prepaid quota pack quickly.

## Known failure modes

- Payment not received or x402 payment invalid — no key returned
- buyer_reference missing — 400 or validation error
- Upstream quota exhausted — key issued but with zero usable quota
- x402 facilitator not reachable — payment cannot be processed
- Key provisioning backend (sub2api) unavailable — 503 error

## 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

Returns a JSON object containing the provisioned API key (masked and full), the base URL, chat completions URL, models URL, quota in USD, and receipt evidence confirming the x402 payment was processed.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "tool": "api-codex-key-pack-100",
  "input": {
   "buyer_reference": "buyer-001"
  },
  "route": "/v1/paid/api-codex-key-pack-100",
  "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-api-codex-key-pack-100-1ff3aacd/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)
