CoW Swap Settle API

The Settle API from CoW Swap — 1 operation(s) for settle.

Business capability
DeFi Protocols AE-240.60

Operations 1

POST /settle Settle #

Specifications

Schemas & Data

📊
JSONSchema
https://artifacts.apis.io/cow-protocol/json-schema/cow-protocol-order-creation-schema.json
📊
JSONSchema
https://artifacts.apis.io/cow-protocol/json-schema/cow-protocol-trade-schema.json
📊
JSONSchema
https://artifacts.apis.io/cow-protocol/json-schema/cow-protocol-order-quote-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/cow-protocol/json-schema/cow-protocol-simulation-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/cow-protocol/json-schema/cow-protocol-solver-competition-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/cow-protocol/json-schema/cow-protocol-order-quote-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/cow-protocol/json-schema/cow-protocol-solve-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/cow-protocol/json-schema/cow-protocol-settle-fast-path-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/cow-protocol/json-schema/cow-protocol-solve-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/cow-protocol/json-schema/cow-protocol-settle-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/cow-protocol/json-schema/cow-protocol-reveal-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/cow-protocol/json-schema/cow-protocol-quote-response-kind-schema.json
📊
JSONSchema
https://artifacts.apis.io/cow-protocol/json-schema/cow-protocol-solution-schema.json
📊
JSONSchema
https://artifacts.apis.io/cow-protocol/json-schema/cow-protocol-auction-schema.json

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/cow-protocol:cow-protocol-settle-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

cow-protocol-settle-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Solver Settle API
  description: The API implemented by Solvers to be queried by Autopilot.
  version: 0.0.1
tags:
- name: Settle
paths:
  /settle:
    post:
      operationId: settle
      description: 'Execute the previously solved auction on chain.


        The auction that should be executed is identified through its id and was

        recently returned by this Solver''s solve endpoint.


        By accepting the execute request the Solver promises to execute the

        solution on chain immediately.'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SettleRequest'
      responses:
        '200':
          description: Execution accepted.
        '400':
          $ref: '#/components/responses/BadRequest'
        '500':
          $ref: '#/components/responses/InternalServerError'
      tags:
      - Settle
      summary: Settle
      x-summary-source: derived
components:
  responses:
    BadRequest:
      description: 'There is something wrong with the request.

        Body potentially contains extra information.'
      content:
        text/plain:
          schema:
            type: string
    InternalServerError:
      description: 'Something went wrong when handling the request.

        Body potentially contains extra information.'
      content:
        text/plain:
          schema:
            type: string
  schemas:
    SettleRequest:
      description: Request to the `/settle` endpoint.
      type: object
      required:
      - solutionId
      - submissionDeadlineLatestBlock
      - auctionId
      properties:
        solutionId:
          description: Id of the solution that should be executed.
          type: integer
          example: 123
        submissionDeadlineLatestBlock:
          description: The last block number in which the solution TX can be included.
          type: integer
          example: 12345
        auctionId:
          description: Auction ID in which the specified solution ID is competing.
          type: integer
          example: 123