{"uid":"cap_onj2Q-lhiTYKtghugxNT4","slug":"jarvisclaw-ai-api-gateway-messages-endpoint-d5b1521e","name":"JarvisClaw AI API Gateway – Messages Endpoint","description":"AI API Gateway with smart routing, pay per call via x402. OpenAI-compatible. Settled in USDC on Base & Solana.","url":"https://api.jarvisclaw.ai/v1/messages","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"string","description":"Request input"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_DG4Xkenlc-uzv3epchnrF","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"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.","exampleAgentPrompt":"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.'","exampleUseCases":[{"title":"AI chatbot with per-call USDC billing","prompt":"I'm building a chatbot and want to call an LLM API that charges per message in USDC — send the prompt 'What are the benefits of decentralized finance?' through JarvisClaw and give me the response."},{"title":"Smart model routing for production app","prompt":"I need to route this user query to the best available AI model without managing multiple API keys — use JarvisClaw to process: 'Draft a short product description for a noise-cancelling headphone targeting remote workers.'"},{"title":"Agent inference with stablecoin payments","prompt":"My autonomous agent needs to call an LLM to decide its next action — submit this reasoning prompt to JarvisClaw: 'Given the user wants to buy ETH and prices are rising, what is the safest next step?'"}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:43:44.315Z","isFirstParty":false}