{
  "x402Version": 2,
  "id": 34942,
  "slug": "34942",
  "resource": "https://ioswarm.io/api/v1/x402/chat",
  "description": "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.",
  "type": "http",
  "resourceType": "Blockchain Data",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xe4b6e29305B5EEF77aA296dC87D8683E9750eD8F",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "20000",
      "amountUsd": 0.02,
      "maxTimeoutSeconds": 120
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "max_tokens": 200,
            "messages": [
              {
                "content": "Summarise this in one sentence: …",
                "role": "user"
              }
            ]
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "content": "…",
            "finish_reason": "stop",
            "model": "deepseek-flash",
            "paid": {
              "transaction": "0x…",
              "usd": 0.02
            },
            "usage": {
              "completion_tokens": 48,
              "prompt_tokens": 62
            }
          },
          "type": "json"
        }
      },
      "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"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "ioswarm.io",
  "lastUpdated": "2026-10-08T05:35:44.935Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-08T05:35:44.731Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "max_tokens": 200,
              "messages": [
                {
                  "content": "Summarise this in one sentence: …",
                  "role": "user"
                }
              ]
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "content": "…",
              "finish_reason": "stop",
              "model": "deepseek-flash",
              "paid": {
                "transaction": "0x…",
                "usd": 0.02
              },
              "usage": {
                "completion_tokens": 48,
                "prompt_tokens": 62
              }
            },
            "type": "json"
          }
        },
        "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"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "ioswarm.io",
    "manifest_name": "ioswarm.io",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}