Api Endpoint

FortiSwap

Best swap route on X1 across XDEX and Degen pools for exact-in or exact-out, with live-verified reserves, price impact, dynamic slippage, fee disclosure (25 bps taken on-chain by the FortiBlox Router), route legs, alternatives and a quote expiry slot. Amounts are raw base units. Call before /api/tx/build.

Open interactive test console

Offering

Provider
app.fortiblox.com
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Blockchain And Crypto
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://app.fortiblox.com/api/quote
MIME type
Not provided
First seen
2026-10-16T01:50:06.715Z
Last seen
Tags
x1, DEX, Swap, Solana, DeFi

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.001 USDC
Atomic price: 1000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Payment option 2
0.001 USDC
Atomic price: 1000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "1000",
    "payTo": "FdQ2FmAydXBe87Nm7w4MjksRqTUjahPaqjj7mVshKvNa"
  },
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1000",
    "payTo": "0x581aB190DF2B2932175d987E787Acd28A85eAA1C"
  }
]

Observed health

Status
Healthy
Latest latency
92 ms
Average latency
74 ms
HTTP status
204
Last checked
Reachability
100% over 15 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "additionalProperties": false,
  "properties": {
    "body": {
      "properties": {
        "amountIn": {
          "description": "raw base units of inputMint (exactIn)",
          "type": "string"
        },
        "amountOut": {
          "description": "raw base units of outputMint (exactOut — GROSS target)",
          "type": "string"
        },
        "inputMint": {
          "description": "base58 X1 mint address",
          "pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$",
          "type": "string"
        },
        "maxHops": {
          "description": "default 4; clamped to 1-8 by the pathfinder. Keep ≤ 6 so /api/tx/build (on-chain router, max 6 legs) executes the same route.",
          "type": "number"
        },
        "mode": {
          "description": "default exactIn. exactOut is served as a reverse-quoted exact-in: amountIn = the required input (spent exactly; maxAmountIn echoes it), amountOut/amountOutNet/minimumAmountOut are the forward quote at that input, requestedAmountOut is your target",
          "enum": [
            "exactIn",
            "exactOut"
          ],
          "type": "string"
        },
        "outputMint": {
          "description": "base58 X1 mint address",
          "pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$",
          "type": "string"
        },
        "payer": {
          "description": "base58 payer for simulate:true",
          "type": "string"
        },
        "simulate": {
          "description": "simulate the build (needs payer)",
          "type": "boolean"
        },
        "slippageBps": {
          "description": "explicit slippage in bps (clamped); omitted = dynamic",
          "type": "number"
        }
      },
      "required": [
        "inputMint",
        "outputMint"
      ],
      "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 schema

{
  "properties": {
    "example": {
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}