# JarvisClaw AI API Gateway

> JarvisClaw AI API Gateway is a paid API for AI agents from api.jarvisclaw.ai, paid per call via x402, $0.046/call, status unknown (last checked 2026-10-20).

Routes AI inference requests to multiple models via an OpenAI-compatible gateway, with per-call payments settled in USDC on Base or Solana

## Facts

- Endpoint: POST https://api.jarvisclaw.ai/v1/marketplace/api/271?utm_source=zero.xyz
- Price: $0.046/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/jarvisclaw-ai-api-gateway-11b3495c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ppN2zwG0v0kZvcnecM32B

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-11b3495c -d '<json body>'
```

Example prompt: Use the JarvisClaw smart-routing AI gateway to answer this question: 'What are the main differences between transformer and diffusion models?' — route it through the best available model and charge my USDC wallet on Base.

## When to prefer this

Prefer this endpoint when you need OpenAI-compatible AI inference with pay-per-call crypto billing in USDC, especially in Web3-native agent pipelines that already handle x402 payments. It is ideal when you want smart model routing without managing multiple upstream API keys, or when your agent requires stablecoin-based micropayments on Base or Solana rather than traditional subscription billing.

## Known failure modes

- Insufficient USDC balance causes 402 Payment Required with no inference result
- Invalid or malformed query parameter returns 400 Bad Request
- Upstream model unavailability may cause routing failure or timeout
- Unknown marketplace endpoint ID (271) returns 404 Not Found
- Network congestion on Base or Solana may delay payment settlement causing request stall

## 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 OpenAI-compatible response object containing the AI model's completion or answer, routed through JarvisClaw's smart-routing layer. The response includes the generated text, model metadata, and usage details, with the per-call fee of $0.046 USDC automatically deducted and settled on Base or Solana.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/jarvisclaw-ai-api-gateway-11b3495c/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)
