# x402 API Key + URL Pack (10-unit quota)

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

Purchases a small OpenAI-compatible API key + base URL quota pack (approx. $1 USD quota) via x402 micropayment, returning a usable 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-10
- Price: $1.11112/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-10-unit-quota-0fc65a20
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sDwwKaTdHdQNdeuguGjE0

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-10-unit-quota-0fc65a20 -d '<json body>'
```

Example prompt: Buy me an OpenAI-compatible API key and base URL quota pack — about $1 of quota — using my buyer reference 'buyer-001', so I can start making chat completion requests right away.

## When to prefer this

Use this endpoint when you need a quick, low-cost OpenAI-compatible API key + base URL provisioned via x402 micropayment, especially for agents that need to spin up LLM access on-demand without a pre-existing API account. Prefer this over direct OpenAI signup flows when you need instant programmatic key provisioning at small quota sizes ($1 USD range) within an x402-enabled payment pipeline.

## Known failure modes

- Payment not completed or x402 payment header missing — endpoint returns 402 Payment Required
- Invalid or missing buyer_reference query parameter — returns validation error
- Upstream quota pool exhausted — may return an error indicating no keys available
- Payment amount mismatch — x402 facilitator rejects the transaction
- Network timeout reaching sub2api.558686.xyz — key not delivered

## 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) API key (sk-proj-... format), the base URL (https://sub2api.558686.xyz/v1), a chat completions URL, a models URL, the quota amount in USD, and receipt evidence confirming the x402 payment. Deterministic flag and route metadata are also included.

## Response schema (JSON Schema)

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