jarvisclaw-ai Chat Completions API

The Chat Completions API from jarvisclaw-ai — 1 operation(s) for chat completions.

Operations 1

POST /v1/chat/completions Chat Completions #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/jarvisclaw-ai:jarvisclaw-ai-chat-completions-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API 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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

jarvisclaw-ai-chat-completions-api-openapi.yml Raw ↑
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 Chat 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: Chat Completions
paths:
  /v1/chat/completions:
    post:
      description: Generate chat completions with 80+ AI models (GPT, Claude, Gemini, DeepSeek). OpenAI-compatible.
      operationId: chatCompletions
      requestBody:
        content:
          application/json:
            schema:
              properties:
                max_tokens:
                  description: Maximum tokens to generate
                  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. gpt-4.1-nano, claude-sonnet-4-6, deepseek-chat)
                  type: string
                stream:
                  description: Enable streaming responses
                  type: boolean
                temperature:
                  description: Sampling temperature (0-2)
                  type: number
              required:
              - model
              - messages
              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: Chat Completions
      x-bazaar:
        schema:
          properties:
            input:
              properties:
                body:
                  properties:
                    max_tokens:
                      description: Maximum tokens to generate
                      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. gpt-4.1-nano, claude-sonnet-4-6, deepseek-chat)
                      type: string
                    stream:
                      description: Enable streaming responses
                      type: boolean
                    temperature:
                      description: Sampling temperature (0-2)
                      type: number
                  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:
      - Chat Completions
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'