# Genesis Token Labs x402 Protected Demo

> Genesis Token Labs x402 Protected Demo is a paid API for AI agents from api.genesistokenlabs.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-31).

Returns a signed JSON payment receipt proving that a $0.01 USDC x402 micropayment was successfully processed on Base (EIP-155:8453).

## Facts

- Endpoint: GET https://api.genesistokenlabs.com/x402/v1/protected-demo?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/genesis-token-labs-x402-protected-demo-13ee90c3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cKJUEQASPMV0xLN_yVy0u

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 genesis-token-labs-x402-protected-demo-13ee90c3
```

Example prompt: Hit the Genesis Token Labs x402 demo endpoint with my wallet — pay the $0.01 USDC fee and show me the signed receipt confirming the payment settled on Base.

## When to prefer this

Choose this endpoint when you need a cheap, real, end-to-end test of an x402 payment client or wallet integration against a live Base mainnet endpoint. It is purpose-built for developer verification and agent smoke-testing of the x402 protocol — not for production data retrieval. Prefer it over mock environments when you need an actual onchain txHash as proof of settlement.

## Known failure modes

- Insufficient USDC balance — payment cannot be fulfilled if the wallet lacks $0.01 USDC
- Invalid or missing x402 payment header — returns 402 Payment Required with no receipt
- Unsupported network — payment on a chain other than Base (eip155:8453) may be rejected
- Transaction not yet confirmed — onchain latency may delay a valid txHash being available
- Malformed request method — only GET, HEAD, DELETE are accepted; POST returns an error

## How this service works

Use when testing an x402 client or wallet end-to-end: pay $0.01 USDC and get a signed JSON receipt proving payment settled. Example input: GET /x402/v1/protected-demo. Example output: {"ok":true,"paid":true,"network":"eip155:8453","payer":"0x…","txHash":"0x…"}

## Output

A JSON object with fields: ok (boolean), paid (boolean), network (e.g. 'eip155:8453' for Base), payer (the paying wallet address as 0x…), and txHash (the onchain transaction hash confirming settlement). Confirms end-to-end that the x402 micropayment was accepted and recorded on Base.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "data": {}
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/genesis-token-labs-x402-protected-demo-13ee90c3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.genesistokenlabs.com](https://www.zero.xyz/host/api.genesistokenlabs.com/llms.txt)
