{
  "x402Version": 2,
  "id": 32510,
  "slug": "32510",
  "resource": "https://api.getplexa.com/v1/quote",
  "description": "Plexa /v1/quote — executable swap quote: the realizable fill price at your trade size, not a mid/spot price feed. Returns price impact (bps), worst-case slippage, depth and the per-leg route across Base/Polygon/Arbitrum liquidity, from canonical on-chain quoters. Call it before a swap to see what the fill actually costs. Informational data, not financial advice.",
  "type": "http",
  "resourceType": "Tax",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xd993eAfBA87cFfa2ca2CFF5A56EF89034575A7ef",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "20000",
      "amountUsd": 0.02,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:137",
      "payTo": "0xd993eAfBA87cFfa2ca2CFF5A56EF89034575A7ef",
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "amount": "20000",
      "amountUsd": 0.02,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:42161",
      "payTo": "0xd993eAfBA87cFfa2ca2CFF5A56EF89034575A7ef",
      "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
      "amount": "20000",
      "amountUsd": 0.02,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "D6FqEyoFvkgGy4PpJjckHc3xRXhzL6mWQ25gz4rkVLor",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "20000",
      "amountUsd": 0.02,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "confidence": {
            "description": "Engine confidence: high | medium | low",
            "type": "string"
          },
          "depthAtSize": {
            "description": "Realizable output at the requested size, in human units of tokenOut (NOT USD)",
            "type": "number"
          },
          "executablePrice": {
            "description": "REALIZABLE fill price for the full requested size — the price the swap actually executes at after price impact, NOT a mid/spot price feed. This is Plexa's core difference from a price oracle. Units: tokenOut PER tokenIn — for USDC→WETH a small number (WETH per 1 USDC), for the USDC→SOGNI example here a large one (SOGNI per 1 USDC); never the reciprocal.",
            "type": "number"
          },
          "priceImpactBps": {
            "description": "Price impact at this size, in basis points. Null when no defensible mid exists (P16) — impact is derived from the mid.",
            "type": [
              "number",
              "null"
            ]
          },
          "route": {
            "description": "Per-leg execution route (dex / pool / fee tier)",
            "type": "object"
          },
          "worstCaseSlippageBps": {
            "description": "Worst-case slippage, in basis points. Null when no defensible mid exists (P16).",
            "type": [
              "number",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "chain": "base",
            "sizeUSD": "5000",
            "tokenIn": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
            "tokenOut": "0xE014d2A4da6E450f21b5050120D291e63c8940FD"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "confidence": "low",
            "depthAtSize": 8527353.400367068,
            "executablePrice": 1705.4706800734136,
            "priceImpactBps": 441.2840739321799,
            "route": {
              "dex": "split",
              "legs": [
                {
                  "dex": "slipstream",
                  "feePips": 1,
                  "pool": "0xa41Bc0AFfbA7Fd420d186b84899d7ab2aC57fcD1",
                  "venue": "aerodrome-cl-1"
                },
                {
                  "dex": "aerodrome",
                  "pool": "0xCc68Cb8B514A2216D2eECe3A0e8597Ce483610eb",
                  "stable": false,
                  "venue": "aerodrome"
                }
              ]
            },
            "ts": 1790247318433,
            "validUntil": 1790247321433,
            "worstCaseSlippageBps": 441.2840739321799
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "anyOf": [
                  {
                    "required": [
                      "sizeIn"
                    ]
                  },
                  {
                    "required": [
                      "sizeUSD"
                    ]
                  }
                ],
                "examples": [
                  {
                    "chain": "base",
                    "sizeUSD": "5000",
                    "tokenIn": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
                    "tokenOut": "0xE014d2A4da6E450f21b5050120D291e63c8940FD"
                  }
                ],
                "properties": {
                  "chain": {
                    "description": "Optional, default \"base\". One of: base | polygon | matic | arbitrum | arbitrum-one | arb | eip155:8453 | eip155:137 | eip155:42161 — case-sensitive (see `enum`). This is the chain the QUOTE is computed on; the networks you may PAY on (including Solana) are a separate list in `accepts[]`.",
                    "enum": [
                      "base",
                      "polygon",
                      "matic",
                      "arbitrum",
                      "arbitrum-one",
                      "arb",
                      "eip155:8453",
                      "eip155:137",
                      "eip155:42161"
                    ],
                    "type": "string"
                  },
                  "sizeIn": {
                    "description": "Trade size as a human amount of tokenIn, e.g. \"1.5\" for 1.5 WETH. A STRING, not a number. At least one of sizeIn / sizeUSD is required; if BOTH are sent, sizeUSD wins and sizeIn is ignored.",
                    "maxLength": 78,
                    "pattern": "^(?:0\\.\\d*[1-9]\\d*|[1-9]\\d*(?:\\.\\d+)?)$",
                    "type": "string"
                  },
                  "sizeUSD": {
                    "description": "Trade size as a USD notional, e.g. \"5000\". A STRING, not a number; positive, no thousands separator (\"5,000\" is rejected) and no exponent (\"5e3\" is rejected) — see `pattern`. At least one of sizeIn / sizeUSD is required; if BOTH are sent, sizeUSD wins.",
                    "maxLength": 78,
                    "pattern": "^(?:0\\.\\d*[1-9]\\d*|[1-9]\\d*(?:\\.\\d+)?)$",
                    "type": "string"
                  },
                  "tokenIn": {
                    "description": "ERC-20 being SOLD. 0x + 40 hex (see `pattern`) — a symbol like \"USDC\" is rejected with 400.",
                    "pattern": "^0x[0-9a-fA-F]{40}$",
                    "type": "string"
                  },
                  "tokenOut": {
                    "description": "ERC-20 being BOUGHT. 0x + 40 hex (see `pattern`) — a symbol like \"WETH\" is rejected with 400.",
                    "pattern": "^0x[0-9a-fA-F]{40}$",
                    "type": "string"
                  }
                },
                "required": [
                  "tokenIn",
                  "tokenOut"
                ],
                "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": {
                "properties": {
                  "confidence": {
                    "description": "Engine confidence: high | medium | low",
                    "type": "string"
                  },
                  "depthAtSize": {
                    "description": "Realizable output at the requested size, in human units of tokenOut (NOT USD)",
                    "type": "number"
                  },
                  "executablePrice": {
                    "description": "REALIZABLE fill price for the full requested size — the price the swap actually executes at after price impact, NOT a mid/spot price feed. This is Plexa's core difference from a price oracle. Units: tokenOut PER tokenIn — for USDC→WETH a small number (WETH per 1 USDC), for the USDC→SOGNI example here a large one (SOGNI per 1 USDC); never the reciprocal.",
                    "type": "number"
                  },
                  "priceImpactBps": {
                    "description": "Price impact at this size, in basis points. Null when no defensible mid exists (P16) — impact is derived from the mid.",
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "route": {
                    "description": "Per-leg execution route (dex / pool / fee tier)",
                    "type": "object"
                  },
                  "worstCaseSlippageBps": {
                    "description": "Worst-case slippage, in basis points. Null when no defensible mid exists (P16).",
                    "type": [
                      "number",
                      "null"
                    ]
                  }
                },
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "builder-code": {
      "info": {
        "a": "bc_g9x4yzn7"
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "a": {
            "description": "App builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          },
          "s": {
            "description": "Service builder codes",
            "items": {
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            },
            "type": "array"
          },
          "w": {
            "description": "Wallet builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          }
        },
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar",
    "builder-code"
  ],
  "sourceHost": "api.getplexa.com",
  "lastUpdated": "2026-09-30T13:37:00.472Z",
  "quality": {
    "calls30d": 29,
    "uniquePayers30d": 4,
    "lastCalledAt": "2026-09-30T13:36:59.959Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "chain": "base",
              "sizeUSD": "5000",
              "tokenIn": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
              "tokenOut": "0xE014d2A4da6E450f21b5050120D291e63c8940FD"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "confidence": "low",
              "depthAtSize": 8527353.400367068,
              "executablePrice": 1705.4706800734136,
              "priceImpactBps": 441.2840739321799,
              "route": {
                "dex": "split",
                "legs": [
                  {
                    "dex": "slipstream",
                    "feePips": 1,
                    "pool": "0xa41Bc0AFfbA7Fd420d186b84899d7ab2aC57fcD1",
                    "venue": "aerodrome-cl-1"
                  },
                  {
                    "dex": "aerodrome",
                    "pool": "0xCc68Cb8B514A2216D2eECe3A0e8597Ce483610eb",
                    "stable": false,
                    "venue": "aerodrome"
                  }
                ]
              },
              "ts": 1790247318433,
              "validUntil": 1790247321433,
              "worstCaseSlippageBps": 441.2840739321799
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "anyOf": [
                    {
                      "required": [
                        "sizeIn"
                      ]
                    },
                    {
                      "required": [
                        "sizeUSD"
                      ]
                    }
                  ],
                  "examples": [
                    {
                      "chain": "base",
                      "sizeUSD": "5000",
                      "tokenIn": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
                      "tokenOut": "0xE014d2A4da6E450f21b5050120D291e63c8940FD"
                    }
                  ],
                  "properties": {
                    "chain": {
                      "description": "Optional, default \"base\". One of: base | polygon | matic | arbitrum | arbitrum-one | arb | eip155:8453 | eip155:137 | eip155:42161 — case-sensitive (see `enum`). This is the chain the QUOTE is computed on; the networks you may PAY on (including Solana) are a separate list in `accepts[]`.",
                      "enum": [
                        "base",
                        "polygon",
                        "matic",
                        "arbitrum",
                        "arbitrum-one",
                        "arb",
                        "eip155:8453",
                        "eip155:137",
                        "eip155:42161"
                      ],
                      "type": "string"
                    },
                    "sizeIn": {
                      "description": "Trade size as a human amount of tokenIn, e.g. \"1.5\" for 1.5 WETH. A STRING, not a number. At least one of sizeIn / sizeUSD is required; if BOTH are sent, sizeUSD wins and sizeIn is ignored.",
                      "maxLength": 78,
                      "pattern": "^(?:0\\.\\d*[1-9]\\d*|[1-9]\\d*(?:\\.\\d+)?)$",
                      "type": "string"
                    },
                    "sizeUSD": {
                      "description": "Trade size as a USD notional, e.g. \"5000\". A STRING, not a number; positive, no thousands separator (\"5,000\" is rejected) and no exponent (\"5e3\" is rejected) — see `pattern`. At least one of sizeIn / sizeUSD is required; if BOTH are sent, sizeUSD wins.",
                      "maxLength": 78,
                      "pattern": "^(?:0\\.\\d*[1-9]\\d*|[1-9]\\d*(?:\\.\\d+)?)$",
                      "type": "string"
                    },
                    "tokenIn": {
                      "description": "ERC-20 being SOLD. 0x + 40 hex (see `pattern`) — a symbol like \"USDC\" is rejected with 400.",
                      "pattern": "^0x[0-9a-fA-F]{40}$",
                      "type": "string"
                    },
                    "tokenOut": {
                      "description": "ERC-20 being BOUGHT. 0x + 40 hex (see `pattern`) — a symbol like \"WETH\" is rejected with 400.",
                      "pattern": "^0x[0-9a-fA-F]{40}$",
                      "type": "string"
                    }
                  },
                  "required": [
                    "tokenIn",
                    "tokenOut"
                  ],
                  "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": {
                  "properties": {
                    "confidence": {
                      "description": "Engine confidence: high | medium | low",
                      "type": "string"
                    },
                    "depthAtSize": {
                      "description": "Realizable output at the requested size, in human units of tokenOut (NOT USD)",
                      "type": "number"
                    },
                    "executablePrice": {
                      "description": "REALIZABLE fill price for the full requested size — the price the swap actually executes at after price impact, NOT a mid/spot price feed. This is Plexa's core difference from a price oracle. Units: tokenOut PER tokenIn — for USDC→WETH a small number (WETH per 1 USDC), for the USDC→SOGNI example here a large one (SOGNI per 1 USDC); never the reciprocal.",
                      "type": "number"
                    },
                    "priceImpactBps": {
                      "description": "Price impact at this size, in basis points. Null when no defensible mid exists (P16) — impact is derived from the mid.",
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "route": {
                      "description": "Per-leg execution route (dex / pool / fee tier)",
                      "type": "object"
                    },
                    "worstCaseSlippageBps": {
                      "description": "Worst-case slippage, in basis points. Null when no defensible mid exists (P16).",
                      "type": [
                        "number",
                        "null"
                      ]
                    }
                  },
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      },
      "builder-code": {
        "info": {
          "a": "bc_g9x4yzn7"
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "additionalProperties": false,
          "properties": {
            "a": {
              "description": "App builder code",
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            },
            "s": {
              "description": "Service builder codes",
              "items": {
                "pattern": "^[a-z0-9_]{1,32}$",
                "type": "string"
              },
              "type": "array"
            },
            "w": {
              "description": "Wallet builder code",
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            }
          },
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.getplexa.com",
    "manifest_name": "api.getplexa.com",
    "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": {
      "confidence": "string",
      "depthAtSize": 0,
      "executablePrice": 0,
      "priceImpactBps": 0,
      "route": {},
      "worstCaseSlippageBps": 0
    },
    "type": "string"
  }
}