{
  "x402Version": 2,
  "id": 32809,
  "slug": "32809",
  "resource": "https://flow-kg4x.vercel.app/api/fill",
  "description": "Flow fill instruction on Base: the executable route package (venue, router, calldata params, min output, expiry block) for a swap whose best quote beats the Uniswap V3 baseline. Priced dynamically at 25% of the measured improvement, capped at 10 bps of output; $0 when there is no improvement.",
  "type": "http",
  "serviceName": "Flow",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xcF8A8350cb42a6680005ca7FF9E485Bb55fa74FA",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "81170",
      "amountUsd": 0.08117,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "amountIn": "100000000",
            "tokenIn": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
            "tokenOut": "0x0b3e328455c4059EEb9e3f84b5543F74E24e7E1b"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "expectedOut": "138852000000000000000",
            "fee": {
              "capApplied": false,
              "feeUsd": 0.0917,
              "rule": "25% of price improvement over Uniswap baseline, capped at 10 bps of output"
            },
            "minOutput": "138157000000000000000",
            "router": "0xBE6D8f0d05cC4be24d5167a3eF062215bE6D18a5",
            "venue": "aerodrome",
            "venueKey": 100
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "headers": {
                "additionalProperties": {
                  "type": "string"
                },
                "type": "object"
              },
              "method": {
                "enum": [
                  "GET",
                  "POST",
                  "PUT",
                  "PATCH"
                ],
                "type": "string"
              },
              "queryParams": {
                "additionalProperties": {
                  "type": "string"
                },
                "type": "object"
              },
              "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": [
    "trading",
    "defi",
    "base",
    "dex",
    "quotes",
    "bazaar"
  ],
  "sourceHost": "flow-kg4x.vercel.app",
  "lastUpdated": "2026-10-13T06:21:17.824Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-13T06:21:17.389Z"
  },
  "metadata": {
    "serviceName": "Flow",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "amountIn": "100000000",
              "tokenIn": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
              "tokenOut": "0x0b3e328455c4059EEb9e3f84b5543F74E24e7E1b"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "expectedOut": "138852000000000000000",
              "fee": {
                "capApplied": false,
                "feeUsd": 0.0917,
                "rule": "25% of price improvement over Uniswap baseline, capped at 10 bps of output"
              },
              "minOutput": "138157000000000000000",
              "router": "0xBE6D8f0d05cC4be24d5167a3eF062215bE6D18a5",
              "venue": "aerodrome",
              "venueKey": 100
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "headers": {
                  "additionalProperties": {
                    "type": "string"
                  },
                  "type": "object"
                },
                "method": {
                  "enum": [
                    "GET",
                    "POST",
                    "PUT",
                    "PATCH"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "additionalProperties": {
                    "type": "string"
                  },
                  "type": "object"
                },
                "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": "flow-kg4x.vercel.app",
    "manifest_name": "flow-kg4x.vercel.app",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-13T15:56:53.641Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}