# X402 Coffee Unit Status

> X402 Coffee Unit Status is a paid API for AI agents from tse-x-backend.onrender.com, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-15).

Returns real-time status of the X402-COFFEE-002 coffee unit, gated behind a $0.10 USDC micropayment via the x402 protocol.

## Facts

- Endpoint: POST https://tse-x-backend.onrender.com/x402/X402-COFFEE-002/status
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tse-x-backend-onrender-com-7ffb0644
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_dZsW8jsOY1_Ewk5J76hyp

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 tse-x-backend-onrender-com-7ffb0644 -d '<json body>'
```

Example prompt: What's the current status of the X402-COFFEE-002 coffee unit? I'm happy to pay the 10-cent USDC fee to get the live reading.

## When to prefer this

Use this endpoint when you need live, real-time status of the X402-COFFEE-002 coffee unit specifically and are willing to pay a small $0.10 USDC micropayment per query. Ideal for IoT monitoring agents that integrate with the x402 payment protocol on Solana or Base (EIP-155:8453).

## Known failure modes

- Payment not provided or insufficient USDC amount — 402 Payment Required response
- Invalid or expired payment token — authentication/payment rejection
- Unit ID not found — 404 Not Found
- Service temporarily unavailable on Render free tier — 503 timeout or cold start delay
- Unsupported payment chain — only Solana and EIP-155:8453 (Base) accepted

## How this service works

Returns real-time status of the X402 coffee unit; access requires a USDC payment (Solana or EIP‑155:8453) to retrieve the status.

## Output

Real-time operational status of the X402-COFFEE-002 coffee unit — e.g. whether it is active, idle, brewing, or offline — returned after a successful $0.10 USDC micropayment.

## Example request

```json
{}
```

## Request schema (JSON Schema)

```json
{
 "input": {
  "type": "object",
  "properties": {},
  "description": "GET request - no body required"
 },
 "output": {
  "type": "object",
  "required": [
   "status",
   "deviceId",
   "accessGranted"
  ],
  "properties": {
   "status": {
    "type": "string",
    "description": "access_granted or payment_required"
   },
   "session": {
    "type": "object",
    "properties": {
     "expiresAt": {
      "type": "string",
      "format": "date-time"
     },
     "challengeId": {
      "type": "string"
     },
     "remainingSeconds": {
      "type": "integer"
     }
    }
   },
   "deviceId": {
    "type": "string",
    "description": "Device identifier"
   },
   "accessToken": {
    "type": "string",
    "description": "JWT token for device access"
   },
   "accessGranted": {
    "type": "boolean",
    "description": "Whether access was granted"
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tse-x-backend-onrender-com-7ffb0644/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from tse-x-backend.onrender.com](https://www.zero.xyz/host/tse-x-backend.onrender.com/llms.txt)
