# x402 QR API – JWT Endpoint

> x402 QR API – JWT Endpoint is a paid API for AI agents from x402-qr-api.vercel.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-13).

Issues a JWT token via the x402 micropayment protocol for authenticating QR code API requests

## Facts

- Endpoint: GET https://x402-qr-api.vercel.app/api/jwt?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-qr-api-jwt-endpoint-01956b18
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_41Wg3hPtzGqdHJPUF2ZNB

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-qr-api-jwt-endpoint-01956b18
```

Example prompt: Pay the 0.001 USDC x402 fee and get me a JWT token from the QR API so I can start making authenticated QR code requests.

## When to prefer this

Use this endpoint when you need to obtain a JWT for accessing the x402-qr-api and are prepared to pay the 0.001 USDC x402 micropayment. Choose this over manual auth flows when you want a pay-per-use credential model with no long-term API key management.

## Known failure modes

- Payment not attached or insufficient — 402 Payment Required response
- Invalid or expired x402 payment proof — authentication rejected
- Service unavailable on Vercel — 503 or timeout
- JWT signing failure server-side — 500 Internal Server Error
- Rate limiting if too many token requests in a short window

## How this service works

Generated by create next app

## Output

A signed JWT token that can be used as a bearer credential for subsequent authenticated requests to the x402-qr-api service. The token encodes authorization claims and has an expiry.

## Request schema (JSON Schema)

```json
{
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-qr-api-jwt-endpoint-01956b18/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-qr-api.vercel.app](https://www.zero.xyz/host/x402-qr-api.vercel.app/llms.txt)
