# 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.0115/call, status unknown (last checked 2026-10-16).

Routes a query to an AI model via a marketplace endpoint, billed per-call in USDC using the x402 payment protocol

## Facts

- Endpoint: POST https://api.jarvisclaw.ai/v1/marketplace/api/821?utm_source=zero.xyz
- Price: $0.0115/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/jarvisclaw-ai-api-gateway-9adfa2a6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wsi2XZTPexIChQRl_PWnC

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-9adfa2a6 -d '<json body>'
```

Example prompt: Send this query through JarvisClaw's AI gateway and let it smart-route to the best available model: 'Summarize the key trends in renewable energy for 2024.'

## When to prefer this

Choose this endpoint when you need a pay-per-call AI completion without committing to a subscription, especially when your workflow requires crypto-native micropayments (USDC on Base or Solana) and OpenAI API compatibility. It is well-suited for AI agents that need to call language models on-demand while keeping costs proportional to actual usage.

## Known failure modes

- Insufficient USDC balance — x402 payment fails and request is rejected
- Invalid or missing query parameter — returns 400 bad request
- Gateway routing failure — no available model matched for the query
- Rate limit exceeded — too many calls in a short window
- Payment settlement error on Base or Solana chain — transaction not confirmed

## How this service works

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

## Output

An AI-generated text response (completion or chat output) routed by JarvisClaw's gateway to the optimal underlying model, returned in an OpenAI-compatible response format. The call is billed at $0.0115 USDC per request 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-9adfa2a6/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)
