# Beggar Bot SIWE Verification

> Beggar Bot SIWE Verification is a paid API for AI agents from beggar-bot-demand.beggarbot.workers.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-11-23).

Verifies a Sign-In With Ethereum (EIP-4361) message and signature to authenticate a wallet address

## Facts

- Endpoint: POST https://beggar-bot-demand.beggarbot.workers.dev/v1/siwe?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/beggar-bot-siwe-verification-2363ed9f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_e0emLi9AGhnJxiq79eJxa

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 beggar-bot-siwe-verification-2363ed9f -d '<json body>'
```

Example prompt: Can you verify this SIWE sign-in attempt for my domain app.example.com — the nonce is abc123, the chain is base mainnet, here's the EIP-4361 message text and the 0x signature the user provided?

## When to prefer this

Use this endpoint when you need a lightweight, pay-per-call SIWE verification service on Base mainnet without running your own Ethereum node or SIWE library. Ideal for AI agents or backend services that need to authenticate wallet users on demand. The x402 micropayment model ($0.02 USDC per call) makes it suitable for low-volume or occasional use cases. Prefer dedicated auth infrastructure for high-throughput login flows.

## Known failure modes

- Invalid or malformed EIP-4361 message returns a failure status
- Signature mismatch or invalid 0x hex format returns verification failure
- Nonce or domain mismatch signals potential replay attack or phishing
- Missing required fields (message, signature, nonce, domain) returns a 400-level error
- Incorrect chain_id may cause signature recovery to fail
- Payment failure via x402 returns HTTP 402 if USDC balance is insufficient

## How this service works

Paid: /v1/verify, /v1/risk, /v1/receipt cost $0.01 USDC per call on Base mainnet via x402 (payTo 0x719227f384b66BFEF00093D6d8d32fA9dC2B40e7); utilities analyze Base mainnet (USDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913) by default, network=base-sepolia optional; /v1/receipt/verify and discovery files are free. Operator: Beggar Bot.

## Output

A JSON response indicating whether the SIWE signature is valid, the recovered wallet address, and details about nonce/domain/chain match — allowing the caller to accept or reject the authentication attempt.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "nonce": {
   "type": "string",
   "description": "expected nonce"
  },
  "domain": {
   "type": "string",
   "description": "expected domain"
  },
  "message": {
   "type": "string",
   "description": "EIP-4361 message text"
  },
  "chain_id": {
   "type": "string"
  },
  "signature": {
   "type": "string",
   "description": "0x signature"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/beggar-bot-siwe-verification-2363ed9f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from beggar-bot-demand.beggarbot.workers.dev](https://www.zero.xyz/host/beggar-bot-demand.beggarbot.workers.dev/llms.txt)
