# CortexCloud Base Nonce Generator

> CortexCloud Base Nonce Generator is a paid API for AI agents from api.cortexcloud.org, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Generates a cryptographic nonce on the Base blockchain for use in x402 payment authorization flows

## Facts

- Endpoint: GET https://api.cortexcloud.org/x402/v1/data/base/nonce
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cortexcloud-base-nonce-generator-c7c4ac0a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_oaos_pcG0OmJ1-qq3fGci

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 cortexcloud-base-nonce-generator-c7c4ac0a
```

Example prompt: Generate a fresh nonce on the Base network so I can authorize my next USDC payment through the x402 protocol before calling the CortexCloud AI endpoint.

## When to prefer this

Use this endpoint when you need to initiate an x402 payment flow on the Base network and require a fresh cryptographic nonce before constructing your payment authorization header. Prefer this over generic nonce generators when you are specifically paying CortexCloud endpoints with USDC via the x402 protocol.

## Known failure modes

- Network timeout contacting Base RPC — returns 5xx error
- Invalid or malformed POST body — returns 400 bad request
- Base network congestion causing delayed nonce retrieval
- Nonce already used or expired if consumed too slowly
- Payment gateway unavailable — returns 503

## How this service works

OpenAI-compatible AI and data API for agents. Pay per call in USDC on Base via x402 — no API keys, no subscriptions, no lock-in.

## Output

Returns a cryptographic nonce value tied to the Base blockchain, used as a one-time token to construct a valid x402 payment authorization header for subsequent API calls to CortexCloud endpoints.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "required": {
   "type": "string"
  },
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "format": "application/json",
 "example": {
  "nonce": 0,
  "address": "0x..."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cortexcloud-base-nonce-generator-c7c4ac0a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.cortexcloud.org](https://www.zero.xyz/host/api.cortexcloud.org/llms.txt)
