# x402.shizu.me Session Open

> x402.shizu.me Session Open is a paid API for AI agents from x402.shizu.me, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-10).

Mints a bearer session token bound to a wallet, enabling high-frequency off-chain credit spending without per-call blockchain settlement

## Facts

- Endpoint: POST https://x402.shizu.me/session/open?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-shizu-me-session-open-f385a721
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_dfF6_eLELeK-ETjW9jJTw

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-shizu-me-session-open-f385a721 -d '<json body>'
```

Example prompt: Open a new session on x402.shizu.me so I can make high-frequency calls to the /m/ routes using my prepaid credits without per-call settlement — I already bought credits and need the bearer token.

## When to prefer this

Choose this endpoint when your agent needs to make many calls to x402.shizu.me /m/ routes at high frequency without incurring per-call blockchain settlement costs. It is the necessary first step after buying credits via /credits/buy — you must open a session here before any toll-gated route calls. Prefer this over per-call payment when your workflow involves loops, polling, or burst usage where latency and gas costs of individual settlements would be prohibitive.

## Known failure modes

- Insufficient prepaid credits — session open rejected if wallet has no credit balance
- Wallet not recognized — token minting fails if no prior credit purchase recorded
- Session token expiry — token becomes invalid after expires_at, requiring a new session open
- Duplicate session conflict — opening multiple sessions may invalidate earlier ones
- Network error or service unavailability returns 5xx with no token issued

## How this service works

Mint a bearer session token bound to your wallet. Prepay credits via /credits/buy, open a session here (once), then call /m/<route> with the token to spend credits per call OFF-CHAIN at high frequency — no per-call settlement. The rail for looping agents. Token expires; treat it as a password. Returns {session_token, ns, balance, expires_at}.

## Output

Returns a JSON object containing: session_token (bearer token to pass as auth on /m/<route> calls), ns (namespace identifier), balance (remaining credit balance), and expires_at (ISO timestamp when the session expires). The token must be treated as a password and is single-use for opening but multi-use for spending credits.

## Request schema (JSON Schema)

```json
{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "method"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [],
     "properties": {}
    },
    "method": {
     "const": "POST"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-shizu-me-session-open-f385a721/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.shizu.me](https://www.zero.xyz/host/x402.shizu.me/llms.txt)
