# x402 API Key + URL Pack (50-unit Codex Pack)

> x402 API Key + URL Pack (50-unit Codex Pack) is a paid API for AI agents from x402-key.558686.xyz, paid per call via x402, $5.5556/call, status down (last checked 2026-09-15).

Purchases a small OpenAI-compatible API key and base URL quota pack (~$1 USD quota) via x402 micropayment, returning a ready-to-use API key, base URL, and endpoint URLs for chat completions and models.

## Facts

- Endpoint: POST https://x402-key.558686.xyz/v1/paid/api-codex-key-pack-50
- Price: $5.5556/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-api-key-url-pack-50-unit-codex-pack-a7347ba3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ANOENMRmI8PJ7K5P7LdPg

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-pack-50-unit-codex-pack-a7347ba3 -d '<json body>'
```

Example prompt: Buy me a Codex key pack with my buyer reference 'buyer-001' so I can get an OpenAI-compatible API key and base URL with about $1 of quota to use for chat completions.

## When to prefer this

Use this endpoint when an agent or user needs to programmatically purchase a fresh OpenAI-compatible API key + base URL pack via x402 micropayment in USDC, especially for short-lived or quota-bounded LLM inference sessions. Prefer this over manual API key provisioning when automated, pay-per-pack access is desired without a subscription.

## Known failure modes

- Payment not completed or x402 payment header missing — returns 402 Payment Required
- Invalid or missing buyer_reference query parameter — returns 400 Bad Request
- Upstream API key quota exhausted — returns 503 or similar error
- Payment amount mismatch (not $5.5556 USDC) — payment rejected
- Upstream GPT-5.6 Soul access not enabled on buyer's tier — key returned but model may be unavailable

## 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 a masked and full API key (sk-proj-... format), a base URL (https://sub2api.558686.xyz/v1), direct URLs for chat completions and models endpoints, the quota in USD, and receipt evidence. The pack label is 'api-codex-key-pack-50' and quotaUsd is 1.

## Response schema (JSON Schema)

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