# Tenjin: Ship a Paid API with x402

> Tenjin: Ship a Paid API with x402 is a paid API for AI agents from tenjin.blog, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Fetches a Tenjin article about building pay-per-call APIs using the x402 protocol, requiring a $0.40 USDC micropayment per read

## Facts

- Endpoint: GET https://tenjin.blog/api/read/0xe4c16d163d80fd972e6e1e9b94bc71c5fbe5a9c5/ship-a-paid-api-with-x402-monetize-an-endpoint-or-proxy-an-upstream-api-charged
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tenjin-ship-a-paid-api-with-x402-94cb17c4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7GmTE4ueNwQPihe3YNrpe

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 tenjin-ship-a-paid-api-with-x402-94cb17c4
```

Example prompt: Pull up the Tenjin article about shipping a paid API with x402 — the one by wallet address 0xe4c16d163d80fd972e6e1e9b94bc71c5fbe5a9c5 with slug 'ship-a-paid-api-with-x402-monetize-an-endpoint-or-proxy-an-upstream-api-charged'.

## When to prefer this

Choose this endpoint when you specifically need implementation guidance on the x402 pay-per-call protocol for APIs, including stablecoin micropayments on EVM chains. It is ideal for developers wanting to monetize their own APIs or proxy upstream APIs using Coinbase's x402 middleware for Next.js or Express. Prefer this over generic Web3 documentation when you want a self-contained, paid-access article format with working code-level guidance.

## Known failure modes

- 402 Payment Required if no valid x402 payment header is included
- Invalid or expired payment signature returns 402 or 401
- Unknown slug or handle returns 404
- Facilitator unavailable may cause payment verification to fail with 5xx
- The reserved slug 'latest' with a handle (not wallet address) is not payable and will fail

## How this service works

Ship a paid API with x402: monetize an endpoint or proxy an upstream API, charged per call. As of 2026-08-10. Based on the x402 (Coinbase) protocol and the @x402/next / @x402/express middleware. Payments are stablecoin (USDC-style) on an EVM chain such as Base. Symbol names track the current SDK; the flow is stable. HTTP 402 turned into a working pay-per-request rail: an unpaid request gets a 402 challenge quoting a price and a pay-to address; the client signs a stablecoin authorization and retries with a payment header; a facilitator verifies the signature and funds, your handler runs

## Output

The full text or structured content of a Tenjin article explaining how to implement x402 pay-per-call APIs, including details on the HTTP 402 challenge-response flow, stablecoin USDC payments on EVM chains like Base, and usage of @x402/next and @x402/express middleware. The response is gated behind a $0.40 USDC micropayment.

## 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"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "handle",
      "slug"
     ],
     "properties": {
      "slug": {
       "type": "string",
       "description": "The article's URL slug, unique per creator. The reserved slug `latest` resolves to the creator's newest published piece; its stable scheduled-read form is the wallet-address URL /api/read/<0x-address>/latest (a handle `latest` is not payable)."
      },
      "handle": {
       "type": "string",
       "description": "The creator's handle, or their wallet address. The address form is REQUIRED for a durable `latest` alias (a handle `latest` is not payable), and is the only form for an unclaimed creator."
      }
     }
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {},
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tenjin-ship-a-paid-api-with-x402-94cb17c4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from tenjin.blog](https://www.zero.xyz/host/tenjin.blog/llms.txt)
