{
  "generated_at": "2026-04-24T15:01:35.625676+00:00",
  "slug": "x402-sushi-up-railway-app-quote",
  "title": "x402 Sushi \u00b7 Aggregated DEX Swap Quote",
  "url": "https://x402-sushi.up.railway.app/quote",
  "category": "finance",
  "summary": "Fetch aggregated swap quotes with optimal routing, price impact calculation, and expected output amounts.",
  "seo": {
    "title": "SushiSwap Quote API | Aggregated DEX Routing | x402",
    "description": "Get optimal swap quotes across SushiSwap liquidity pools. Price impact, route optimization, and expected output. 0.005 USDC per call on Base."
  },
  "use_cases": [
    "Find optimal swap routes with minimal price impact",
    "Compare expected output across different input amounts",
    "Integrate DEX aggregation into trading bot workflows"
  ],
  "ideal_buyer": "DEX traders and arbitrage bots requiring optimal swap routing and price impact analysis.",
  "example_prompt": "Get a quote for swapping 1 ETH to USDC with optimal routing",
  "example_request_body": {
    "tokenIn": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
    "amountIn": "1000000000000000000",
    "tokenOut": "0xA0b86a33E6441E6C7D3D4B4f6b8E2F5c7D9A1B2"
  },
  "risk_notes": [],
  "pricing_sanity": {
    "flag": "cheap",
    "ratio": 0.167,
    "median_category_atomic": 30000
  },
  "pricing_review_required": false,
  "pricing_decimal_suspect": false,
  "trust_tier": "indexed_external",
  "accepts": [
    {
      "scheme": "exact",
      "network": "base",
      "pay_to": "0x5005412d9adf28ae1ddf347db5e3c4d5ec9bf58a",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "max_amount_required_atomic": "5000",
      "max_timeout_seconds": 300,
      "mime_type": "application/json",
      "description": "Aggregated swap quote",
      "verified": false,
      "hints": {
        "input": {
          "type": "http",
          "method": "POST",
          "bodyType": "json",
          "bodyFields": {
            "fee": {
              "type": "number",
              "description": "Fee fraction (0\u20130.5)"
            },
            "debug": {
              "type": "boolean",
              "description": "Enable debugging mode"
            },
            "feeBy": {
              "enum": [
                "input",
                "output"
              ],
              "type": "string",
              "description": "Indicates which side the fee applies to"
            },
            "amount": {
              "type": "string",
              "required": true,
              "description": "Amount in base units (wei, etc.)"
            },
            "chainId": {
              "type": "number",
              "required": true,
              "description": "Supported EVM chain id"
            },
            "onlyDEX": {
              "type": "string",
              "description": "Comma-separated list of DEXes to include"
            },
            "tokenIn": {
              "type": "string",
              "required": true,
              "description": "Input token address (EVM address)"
            },
            "referrer": {
              "type": "string",
              "description": "Referrer identifier"
            },
            "tokenOut": {
              "type": "string",
              "required": true,
              "description": "Output token address (EVM address)"
            },
            "onlyPools": {
              "type": "string",
              "description": "Comma-separated list of pool addresses to include"
            },
            "visualize": {
              "type": "boolean",
              "description": "Whether to visualize the route"
            },
            "excludeDEX": {
              "type": "string",
              "description": "Comma-separated list of DEXes to exclude"
            },
            "includeRfq": {
              "type": "boolean",
              "description": "Whether to include RFQ quotes"
            },
            "maxSlippage": {
              "type": "number",
              "description": "Maximum slippage allowed (0\u20131)"
            },
            "excludePools": {
              "type": "string",
              "description": "Comma-separated list of pool addresses to exclude"
            },
            "excludeTokens": {
              "type": "string",
              "description": "Comma-separated list of token addresses to exclude"
            },
            "maxPriceImpact": {
              "type": "number",
              "description": "Maximum allowed price impact (0\u20131)"
            }
          },
          "headerFields": {
            "content-type": {
              "type": "string",
              "description": "MIME type of the request body"
            }
          }
        },
        "output": {
          "type": "object",
          "example": {
            "status": "Success",
            "tokens": [
              {
                "name": "Ether",
                "symbol": "ETH",
                "address": "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",
                "decimals": 18
              },
              {
                "name": "Wrapped Ether",
                "symbol": "WETH",
                "address": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
                "decimals": 18
              },
              {
                "name": "SushiToken",
                "symbol": "SUSHI",
                "address": "0x6B3595068778DD592e39A122f4f5a5cF09C90fE2",
                "decimals": 18
              }
            ],
            "tokenTo": 2,
            "amountIn": "10000000000000000",
            "swapPrice": 2837.670924657253,
            "tokenFrom": 0,
            "priceImpact": -0.002204113661183449,
            "assumedAmountOut": "28376709246572527616"
          },
          "examples": [
            {
              "status": "Success",
              "tokens": [
                {
                  "name": "Ether",
                  "symbol": "ETH",
                  "address": "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",
                  "decimals": 18
                },
                {
                  "name": "Wrapped Ether",
                  "symbol": "WETH",
                  "address": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
                  "decimals": 18
                },
                {
                  "name": "SushiToken",
                  "symbol": "SUSHI",
                  "address": "0x6B3595068778DD592e39A122f4f5a5cF09C90fE2",
                  "decimals": 18
                }
              ],
              "tokenTo": 2,
              "amountIn": "10000000000000000",
              "swapPrice": 2837.670924657253,
              "tokenFrom": 0,
              "priceImpact": -0.002204113661183449,
              "assumedAmountOut": "28376709246572527616"
            }
          ],
          "required": [
            "status",
            "tokens",
            "tokenFrom",
            "tokenTo",
            "swapPrice",
            "priceImpact",
            "amountIn",
            "assumedAmountOut"
          ],
          "properties": {
            "status": {
              "type": "string",
              "description": "Request status"
            },
            "tokens": {
              "type": "array",
              "items": {
                "type": "object",
                "required": [
                  "address",
                  "symbol",
                  "name",
                  "decimals"
                ],
                "properties": {
                  "name": {
                    "type": "string"
                  },
                  "symbol": {
                    "type": "string"
                  },
                  "address": {
                    "type": "string",
                    "pattern": "^0x[a-fA-F0-9]{40}$|^0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE$",
                    "description": "Token contract address (0x\u2026 or native placeholder)"
                  },
                  "decimals": {
                    "type": "integer",
                    "minimum": 0
                  }
                },
                "additionalProperties": false
              },
              "minItems": 1
            },
            "tokenTo": {
              "type": "integer",
              "minimum": 0
            },
            "amountIn": {
              "type": "string",
              "pattern": "^[0-9]+$",
              "description": "Base units (wei, etc.)"
            },
            "swapPrice": {
              "type": "number"
            },
            "tokenFrom": {
              "type": "integer",
              "minimum": 0
            },
            "priceImpact": {
              "type": "number"
            },
            "assumedAmountOut": {
              "type": "string",
              "pattern": "^[0-9]+$",
              "description": "Base units (wei, etc.)"
            }
          },
          "additionalProperties": false
        }
      }
    }
  ],
  "duplicate_cluster_id": "finance-cl-ba0c906406cf",
  "origin": {
    "slug": "x402-sushi-up-railway-app",
    "host": "x402-sushi.up.railway.app",
    "title": "x402-sushi (Railway)",
    "description": "An x402-payable API endpoint hosted on Railway. The application is currently unavailable or misconfigured. Check back later for service status.",
    "url": "https://x402-sushi.up.railway.app",
    "favicon": "https://x402-sushi.up.railway.app/favicon.ico"
  },
  "json_ld": {
    "@id": "https://x402all.com/resource/x402-sushi-up-railway-app-quote",
    "url": "https://x402all.com/resource/x402-sushi-up-railway-app-quote",
    "name": "x402 Sushi \u00b7 Aggregated DEX Swap Quote",
    "@type": "WebAPI",
    "offers": {
      "url": "https://x402all.com/resource/x402-sushi-up-railway-app-quote",
      "@type": "Offer",
      "price": "0.005",
      "availability": "https://schema.org/InStock",
      "priceCurrency": "USDC",
      "priceSpecification": {
        "@type": "UnitPriceSpecification",
        "price": "0.005000",
        "unitText": "call",
        "priceCurrency": "USDC"
      },
      "eligibleCustomerType": "Agent",
      "additionalProperty": [
        {
          "@type": "PropertyValue",
          "name": "paymentNetwork",
          "value": "base"
        },
        {
          "@type": "PropertyValue",
          "name": "paymentAsset",
          "value": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
        }
      ]
    },
    "sameAs": "https://x402-sushi.up.railway.app/quote",
    "@context": "https://schema.org",
    "provider": {
      "@id": "https://x402all.com/server/x402-sushi-up-railway-app",
      "url": "https://x402-sushi.up.railway.app",
      "name": "x402-sushi (Railway)",
      "@type": "Organization"
    },
    "identifier": "x402-sushi-up-railway-app-quote",
    "description": "Get optimal swap quotes across SushiSwap liquidity pools. Price impact, route optimization, and expected output. 0.005 USDC per call on Base.",
    "potentialAction": {
      "@type": "BuyAction",
      "target": "https://axon402.com/test-buy?resource=x402-sushi-up-railway-app-quote",
      "description": "Test-buy this endpoint on AXON"
    },
    "applicationCategory": "finance"
  },
  "axon_deep_link": "https://axon402.com/test-buy?resource=x402-sushi-up-railway-app-quote"
}
