# Spraay Gateway Wallet Sign Message

> Spraay Gateway Wallet Sign Message is a paid API for AI agents from gateway.spraay.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Signs a message using an agent-controlled wallet, returning a cryptographic signature and wallet identifier.

## Facts

- Endpoint: GET https://gateway.spraay.app/api/v1/wallet/sign-message
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/spraay-gateway-wallet-sign-message-2f2cf030
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IyK7Zn87D6N8ZkPPwYK2s

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 spraay-gateway-wallet-sign-message-2f2cf030
```

Example prompt: Sign the message 'I authorize this action on behalf of my account' using my agent wallet so I can prove ownership.

## When to prefer this

Use this endpoint when an agent needs to cryptographically sign a message using its own managed wallet — for authentication challenges, ownership proofs, off-chain agreement signing, or generating verifiable authorization payloads. Prefer this over client-side signing when the signing must be performed server-side by the agent's wallet infrastructure.

## Known failure modes

- Missing or invalid message payload — returns 400 bad request
- Wallet not initialized or agent lacks wallet access — returns 401 or 403
- Payment not fulfilled (x402) — returns 402 Payment Required
- Signing service unavailable — returns 503
- Rate limit exceeded — returns 429

## How this service works

Sign a message with an agent wallet.

## Output

Returns a wallet ID and a cryptographic signature of the provided message, generated by the agent's controlled wallet private key. The signature can be used to prove wallet ownership or authorize actions off-chain or on-chain.

## 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"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "walletId": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/spraay-gateway-wallet-sign-message-2f2cf030/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from gateway.spraay.app](https://www.zero.xyz/host/gateway.spraay.app/llms.txt)
