# 21.cash Payment Link Fetch

> 21.cash Payment Link Fetch is a paid API for AI agents from api.21.cash, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Fetches a 21.cash payment link requiring an exact 10000-unit USDC (v2) payment on Base (eip155:8453) to a specific address with a 300-second timeout.

## Facts

- Endpoint: POST https://api.21.cash/api/links/0x7784486915fE4679d285cf253e08313532dDC0B0
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-21-cash-50b762a0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RssDm7Yn_ONIRDu0U9r_d

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 api-21-cash-50b762a0 -d '<json body>'
```

Example prompt: Fetch me a 21.cash payment link to collect exactly 10000 USDC v2 units on the Base network (eip155:8453) to wallet 0x7784486915fE4679d285cf253e08313532dDC0B0, with a 300-second expiry.

## When to prefer this

Use this endpoint when you need to generate a precise, time-limited USDC v2 payment link on the Base network (eip155:8453) directed to wallet 0x7784486915fE4679d285cf253e08313532dDC0B0. Prefer it over generic crypto payment processors when you require exact-amount enforcement, Base network specificity, and a short expiry window.

## Known failure modes

- Payment address unreachable or invalid — returns error on address validation
- Network mismatch if not targeting eip155:8453 — request rejected
- Timeout exceeded (300s) — payment link expires and must be re-fetched
- Insufficient USDC v2 balance on payer side — payment fails downstream
- API call cost not covered ($0.01 USDC) — 402 payment required error

## How this service works

Fetches a 21.cash payment link requiring an exact USD Coin (v2) payment of 10000 units on network eip155:8453 to 0x778... with a 300s timeout.

## Output

A 21.cash payment link or payment request object specifying the exact USDC (v2) amount (10000 units), the recipient wallet address on Base (eip155:8453), and a 300-second expiration window, enabling a payer to complete the transaction.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "content": {
       "type": "object",
       "properties": {
        "name": {
         "type": "string"
        },
        "amount": {
         "type": "string"
        },
        "chainId": {
         "type": "number"
        },
        "chainName": {
         "type": "string"
        },
        "description": {
         "type": "string"
        },
        "gatedContent": {},
        "routerAddress": {
         "type": "string"
        }
       }
      },
      "message": {
       "type": "string"
      },
      "receipt": {
       "type": "object",
       "properties": {
        "network": {
         "type": "string"
        },
        "transactionHash": {
         "type": "string"
        }
       }
      },
      "success": {
       "type": "boolean"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-21-cash-50b762a0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.21.cash](https://www.zero.xyz/host/api.21.cash/llms.txt)
