# JarvisClaw AI API Gateway – Messages Endpoint

> JarvisClaw AI API Gateway – Messages Endpoint is a paid API for AI agents from api.jarvisclaw.ai, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-14).

Routes natural language or structured AI chat messages to smart-selected LLM models via an OpenAI-compatible interface, billed per call in USDC over x402.

## Facts

- Endpoint: GET https://api.jarvisclaw.ai/v1/messages
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/jarvisclaw-ai-api-gateway-messages-endpoint-d5b1521e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_onj2Q-lhiTYKtghugxNT4

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 jarvisclaw-ai-api-gateway-messages-endpoint-d5b1521e
```

Example prompt: Send this message to JarvisClaw's AI gateway and get a response: 'Summarize the key differences between Base and Solana for a developer new to crypto.'

## When to prefer this

Choose this endpoint when you need OpenAI-compatible LLM completions with per-call USDC billing settled on Base or Solana — ideal for AI agents operating autonomously with crypto wallets, developers who want to avoid subscription-based LLM pricing, or apps that need smart model routing without managing multiple provider keys.

## Known failure modes

- Insufficient USDC balance results in 402 Payment Required before the request is processed
- Malformed or missing 'input' field returns a 400 Bad Request
- Model backend unavailability may cause 503 or timeout errors
- Invalid x402 payment headers result in authentication/payment failure
- Rate limiting may apply per wallet or API key

## How this service works

AI API Gateway with smart routing, pay per call via x402. OpenAI-compatible. Settled in USDC on Base & Solana.

## Output

Returns an AI-generated text completion based on the input prompt, routed to the optimal available model by JarvisClaw's smart routing layer. The response follows OpenAI-compatible message structure.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "string",
   "description": "Request input"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/jarvisclaw-ai-api-gateway-messages-endpoint-d5b1521e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.jarvisclaw.ai](https://www.zero.xyz/host/api.jarvisclaw.ai/llms.txt)
