# x402 API Key + URL Pack (Codex 100 — $11 USDC)

> x402 API Key + URL Pack (Codex 100 — $11 USDC) is a paid API for AI agents from x402-key.558686.xyz, paid per call via x402, $11.1112/call, status down (last checked 2026-09-16).

Purchases a $1 USD quota OpenAI-compatible API key pack via x402 micropayment, returning a base URL, API key, and endpoint URLs for GPT-compatible LLM access.

## Facts

- Endpoint: POST https://x402-key.558686.xyz/v1/paid/sub2api-codex-key-pack-100
- Price: $11.1112/call
- Payment: x402
- Status: down
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-api-key-url-pack-codex-100-11-usdc-50503e80
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_aRXt2LaOX9h42My8USfEK

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-codex-100-11-usdc-50503e80 -d '<json body>'
```

Example prompt: Buy me a Codex 100 API key pack using my buyer reference 'buyer-001' — I need an OpenAI-compatible base URL and API key with a $1 quota delivered back to me right now.

## When to prefer this

Choose this endpoint when you need to programmatically purchase a small, ready-to-use OpenAI-compatible API key and base URL in a single x402 micropayment flow, especially in crypto-native or agent-driven workflows where human key management is impractical. Prefer this over manual key provisioning when you need deterministic, receipt-backed credential delivery at low cost ($11.11 USDC for the pack). Best suited for agent pipelines that self-fund LLM access on demand.

## Known failure modes

- Payment not completed or x402 payment header missing — returns 402 Payment Required
- Invalid or missing buyer_reference query parameter — request rejected
- Quota pack already exhausted or upstream key disallows GPT-5.6 Soul — limited model availability
- Network error or upstream proxy unavailability at sub2api.558686.xyz — service unavailable
- Payment amount mismatch — wrong USDC amount sent, payment 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

A JSON object containing: ok (boolean success flag), apiKey (the provisioned secret key), apiKeyMasked (safe display version), baseUrl (OpenAI-compatible base URL), chatCompletionsUrl (direct chat completions endpoint), modelsUrl (models listing endpoint), quotaUsd (integer quota in USD), and receiptEvidence (payment receipt data).

## Response schema (JSON Schema)

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