jarvisclaw-ai Messages API
The Messages API from jarvisclaw-ai — 1 operation(s) for messages.
The Messages API from jarvisclaw-ai — 1 operation(s) for messages.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/jarvisclaw-ai:jarvisclaw-ai-messages-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
contact:
email: mkt@jarvisclaw.ai
name: JarvisClaw
url: https://jarvisclaw.ai
description: AI API Gateway with smart routing, pay per call via x402. OpenAI-compatible. Settled in USDC on Base & Solana.
title: JarvisClaw Messages API
version: 1.0.0
x-guidance: JarvisClaw is an OpenAI-compatible API gateway. Supports 80+ models including GPT-5, Claude, Gemini, DeepSeek. All endpoints accept x402 USDC payments — no API key needed for x402 callers. Beyond the model endpoints, thousands of individually priced third-party APIs (social and media, web search, code, documents, OCR, market and chain data, weather, DNS) are callable at POST /v1/marketplace/api/{resource_id}. This document lists the most commonly used of them; GET /api/marketplace/apis is free and returns the complete set with each resource_id and its exact price.
servers:
- description: Production
url: https://api.jarvisclaw.ai
security:
- x402: []
tags:
- name: Messages
paths:
/v1/messages:
post:
description: Anthropic-native Messages API. Drop-in endpoint for Claude SDKs, Claude Code, and Anthropic-compatible clients. Supports streaming, tool use, and vision.
operationId: messages
requestBody:
content:
application/json:
schema:
properties:
max_tokens:
description: Maximum tokens to generate (required by Anthropic API)
type: integer
messages:
items:
properties:
content:
type: string
role:
enum:
- system
- user
- assistant
type: string
required:
- role
- content
type: object
type: array
model:
description: Model ID (e.g. claude-sonnet-4-6, claude-opus-4-1)
type: string
stream:
description: Enable streaming responses
type: boolean
system:
description: System prompt
type: string
tools:
description: Tool definitions for tool use
type: array
required:
- model
- messages
- max_tokens
type: object
required: true
responses:
'200':
content:
application/json:
schema:
properties:
data:
type: object
type: object
description: Successful response
'402':
description: Payment Required
security:
- x402: []
summary: Messages (Anthropic-compatible)
x-bazaar:
schema:
properties:
input:
properties:
body:
properties:
max_tokens:
description: Maximum tokens to generate (required by Anthropic API)
type: integer
messages:
items:
properties:
content:
type: string
role:
enum:
- system
- user
- assistant
type: string
required:
- role
- content
type: object
type: array
model:
description: Model ID (e.g. claude-sonnet-4-6, claude-opus-4-1)
type: string
stream:
description: Enable streaming responses
type: boolean
system:
description: System prompt
type: string
tools:
description: Tool definitions for tool use
type: array
type: object
type: object
output:
properties:
example:
description: JSON response with requested data
type: object
type: object
x-payment-info:
price:
currency: USD
max: '0.50'
min: '0.0001'
mode: dynamic
protocols:
- x402: {}
tags:
- Messages
components:
securitySchemes:
apiKey:
description: 'JarvisClaw API key: Authorization: Bearer sk-...'
scheme: bearer
type: http
x402:
description: x402 USDC payment via PAYMENT-SIGNATURE header
scheme: X402
type: http
x-payment-defaults:
asset: USDC
facilitator: https://api.cdp.coinbase.com/platform/v2/x402
network: eip155:8453
payTo: '0xDC59fa7b64988B846e76eC9849bb68f889071506'