Api Endpoint

ioswarm.io

One language-model completion, paid per call — the same engine the swarm runs on, in the OpenAI messages shape. Up to 24 messages in and 1024 tokens out. USD 0.02 per call, no account, no key.

Open interactive test console

Offering

Provider
ioswarm.io
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Api
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://ioswarm.io/api/v1/x402/chat
MIME type
application/json
First seen
2026-10-16T01:51:20.002Z
Last seen
Tags
None supplied

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.02 USDC
Atomic price: 20000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "20000",
    "payTo": "0xe4b6e29305B5EEF77aA296dC87D8683E9750eD8F"
  }
]

Observed health

Status
Healthy
Latest latency
21 ms
Average latency
23 ms
HTTP status
200
Last checked
Reachability
100% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "additionalProperties": false,
  "properties": {
    "body": {
      "properties": {
        "max_tokens": {
          "description": "Output cap; default 512.",
          "maximum": 1024,
          "type": "integer"
        },
        "messages": {
          "description": "OpenAI-shaped conversation; the whole thing is sent as one call.",
          "items": {
            "properties": {
              "content": {
                "type": "string"
              },
              "role": {
                "enum": [
                  "system",
                  "user",
                  "assistant"
                ],
                "type": "string"
              }
            },
            "required": [
              "role",
              "content"
            ],
            "type": "object"
          },
          "maxItems": 24,
          "type": "array"
        },
        "temperature": {
          "maximum": 2,
          "minimum": 0,
          "type": "number"
        }
      },
      "required": [
        "messages"
      ],
      "type": "object"
    },
    "bodyType": {
      "enum": [
        "json",
        "form-data",
        "text"
      ],
      "type": "string"
    },
    "method": {
      "enum": [
        "POST"
      ],
      "type": "string"
    },
    "type": {
      "const": "http",
      "type": "string"
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "type": "object"
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "properties": {
            "max_tokens": {
              "description": "Output cap; default 512.",
              "maximum": 1024,
              "type": "integer"
            },
            "messages": {
              "description": "OpenAI-shaped conversation; the whole thing is sent as one call.",
              "items": {
                "properties": {
                  "content": {
                    "type": "string"
                  },
                  "role": {
                    "enum": [
                      "system",
                      "user",
                      "assistant"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "role",
                  "content"
                ],
                "type": "object"
              },
              "maxItems": 24,
              "type": "array"
            },
            "temperature": {
              "maximum": 2,
              "minimum": 0,
              "type": "number"
            }
          },
          "required": [
            "messages"
          ],
          "type": "object"
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "method": {
          "enum": [
            "POST"
          ],
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}