# x402 API Key + URL Packs – Codex Key Pack 1000

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

Purchase a paid OpenAI-compatible API key and base URL quota pack (~$1 USD quota) via x402 micropayment, returning the key, endpoint URLs, and receipt evidence.

## Facts

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

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-1000-2c8a0810 -d '<json body>'
```

Example prompt: Buy me a Codex Key Pack 1000 from sub2api using my buyer reference 'buyer-001' — I need the OpenAI-compatible base URL, API key, and confirmation of my $1 USD quota.

## When to prefer this

Choose this endpoint when you need a small, disposable OpenAI-compatible API key and endpoint URL provisioned instantly via x402 crypto micropayment, without requiring a pre-existing OpenAI account or long-term subscription. Ideal for agents that need per-task or per-session LLM credentials, prototyping pipelines, or situations where paying per-use in USDC is preferred over managing API subscriptions. Prefer alternatives (direct OpenAI API) when you need large quotas, persistent accounts, or fiat billing.

## 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 quota exhausted or key provisioning failure — returns 500 or empty result
- Payment amount insufficient ($111.112 USDC not met) — 402 error
- Rate limiting or duplicate payment detected — request rejected

## 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: ok (boolean success flag), tool name, the buyer_reference echo, route path, a result object with the full API key (sk-proj-...), masked API key preview, base URL (https://sub2api.558686.xyz/v1), chat completions URL, models URL, USD quota amount (~$1), and receipt evidence object for payment verification. The deterministic flag indicates whether the same input yields the same output.

## Response schema (JSON Schema)

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