API Reference
Base URL: https://api.jarvisclaw.ai/v1
Authentication: Authorization: Bearer sk-your-api-key or PAYMENT-SIGNATURE (x402)
AI Models
| API | Endpoint | Billing |
|---|---|---|
| Responses API | POST /v1/responses | Per token |
| Anthropic Messages | POST /v1/messages | Per token |
| Chat Completions | POST /v1/chat/completions | Per token |
| Embeddings | POST /v1/embeddings | Per token |
| Rerank | POST /v1/rerank | Per call |
| Image Generation | POST /v1/images/generations | Per image |
| Video Generation | POST /v1/videos/generations | Per video |
| Music Generation | POST /v1/audio/generations | Per track |
| Audio & TTS | POST /v1/audio/speech | Per token |
| Web Search | POST /v1/search | Per call |
| Prompt Coach | POST /v1/prompt-coach/optimize | Per call |
Marketplace Services
| API | Endpoint | Billing |
|---|---|---|
| Prediction Markets | /v1/marketplace/prediction/* | Per call |
| DEX Trading (0x) | /v1/marketplace/dex/* | Per call ($0.001) |
| Compute (Sandbox) | /v1/marketplace/compute/* | Per call |
| Crypto Data (Surf) | /v1/marketplace/surf/* | Per call |
| Phone & Voice | /v1/marketplace/phone/* | Per call |
| Trading Markets | /v1/marketplace/markets/* | Per call |
| RealFace & Portrait | /v1/marketplace/realface/* | Per call |
Agent Intent Protocol (AIP)
| API | Endpoint | Billing |
|---|---|---|
| AIP Protocol | POST /v1/intent/resolve | Per call |
| AIP Execute | POST /v1/intent/execute | Per intent |
| AIP Network | /v1/network/* | Free (execute is paid) |
| Agent Economy | overview | — |
| Wallet | /v1/wallet/* | Free |
Discovery & Protocols
| API | Endpoint | Description |
|---|---|---|
| Discovery | /.well-known/x402 | x402 service discovery |
| AIP Discovery | /.well-known/agent-intent-protocol.json | AIP agent discovery |
| A2A Discovery | /.well-known/agent-card.json | A2A agent card |
| MCP | /mcp | Model Context Protocol server |
Reference
| Page | Description |
|---|---|
| Errors | Error codes and handling |
| Models | Available models list |
| Security | Auth, encryption, rate limiting |