---
name: igneos-base-dex-spread
description: "Base cross-DEX spread + arbitrage net of pool fees (Uniswap v3, PancakeSwap v3, Aerodrome, Uniswap v2). Costs 0.03 USDC per call via x402."
---

# Igneos Base Dex Spread

Base cross-DEX spread + arbitrage net of pool fees (Uniswap v3, PancakeSwap v3, Aerodrome, Uniswap v2). Costs 0.03 USDC per call via x402.

## Data source and freshness

Base chain data. See returned block, timestamp and observation fields where supplied.

## Request

GET https://igneos.systems/api/v1/base/dex-spread.php

MCP tool: base_dex_spread

Price: 0.03 USDC (30000 atomic units).

Example quote request:

```bash
curl -si "https://igneos.systems/api/v1/base/dex-spread.php?token_in=0x4200000000000000000000000000000000000006&token_out=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913&amount_in=1"
```

Input schema:

```json
{"type":"object","required":["token_in","token_out","amount_in"],"additionalProperties":false,"properties":{"token_in":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"token_out":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"amount_in":{"type":"string","pattern":"^(0|[1-9][0-9]{0,17})(\\.[0-9]{1,18})?$"}}}
```

Output schema:

```json
{"type":"object","additionalProperties":false,"required":["chainId","blockNumber","blockHash","observedAt","methodVersion","tokenIn","tokenOut","amountIn","amountInRaw","pools","best","worst","executionSpreadBps","arbitrage","excludes","warnings"],"properties":{"chainId":{"type":"integer","enum":[8453]},"blockNumber":{"type":"integer","minimum":0},"blockHash":{"type":"string","pattern":"^0x[0-9a-f]{64}$"},"observedAt":{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$"},"methodVersion":{"type":"string"},"tokenIn":{"type":"object","additionalProperties":false,"required":["address","symbol","decimals"],"properties":{"address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"symbol":{"type":["string","null"]},"decimals":{"type":"integer","minimum":0,"maximum":36}}},"tokenOut":{"type":"object","additionalProperties":false,"required":["address","symbol","decimals"],"properties":{"address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"symbol":{"type":["string","null"]},"decimals":{"type":"integer","minimum":0,"maximum":36}}},"amountIn":{"type":"string"},"amountInRaw":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"pools":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["venue","pool","feeBps","amountOutRaw","amountOut","effectivePrice","vsBestBps"],"properties":{"venue":{"type":"string","enum":["uniswap-v3","pancakeswap-v3","aerodrome-volatile","aerodrome-stable","uniswap-v2"]},"pool":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"feeBps":{"type":["number","null"]},"amountOutRaw":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"amountOut":{"type":"string"},"effectivePrice":{"type":"string"},"vsBestBps":{"type":"number","minimum":0}}}},"best":{"type":["object","null"]},"worst":{"type":["object","null"]},"executionSpreadBps":{"type":["number","null"]},"arbitrage":{"type":"object","additionalProperties":false,"required":["buyPool","buyVenue","sellPool","sellVenue","roundTripOutRaw","netBps","profitable"],"properties":{"buyPool":{"type":["string","null"]},"buyVenue":{"type":["string","null"]},"sellPool":{"type":["string","null"]},"sellVenue":{"type":["string","null"]},"roundTripOutRaw":{"type":["string","null"]},"netBps":{"type":["number","null"]},"profitable":{"type":"boolean"}}},"excludes":{"type":"array","items":{"type":"string"}},"warnings":{"type":"array","items":{"type":"string"}}}}
```

Illustrative example output (not a live observation):

```json
{"chainId":8453,"blockNumber":23000000,"blockHash":"0xabababababababababababababababababababababababababababababababab","observedAt":"2026-11-28T06:00:00Z","methodVersion":"base-dex-spread/1","tokenIn":{"address":"0x4200000000000000000000000000000000000006","symbol":"WETH","decimals":18},"tokenOut":{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","symbol":"USDC","decimals":6},"amountIn":"1","amountInRaw":"1000000000000000000","pools":[{"venue":"uniswap-v3","pool":"0xa1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1","feeBps":5,"amountOutRaw":"2998500000","amountOut":"2998.5","effectivePrice":"2998.5","vsBestBps":0}],"best":{"venue":"uniswap-v3","pool":"0xa1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1"},"worst":{"venue":"uniswap-v3","pool":"0xa1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1"},"executionSpreadBps":null,"arbitrage":{"buyPool":null,"buyVenue":null,"sellPool":null,"sellVenue":null,"roundTripOutRaw":null,"netBps":null,"profitable":false},"excludes":["gas","mev","transfer taxes"],"warnings":["single quotable pool"]}
```

## x402 onboarding

If you have not used x402 before:

1. Connect an x402 V2-capable client to a wallet authorized by your operator. See https://www.x402.org/ and https://docs.cdp.coinbase.com/x402/welcome.
2. Fund the wallet with native USDC on a network offered in the current PAYMENT-REQUIRED header, and configure spending limits. A Base wallet is a supported starting point. Keep wallet signing credentials in your wallet.
3. Make the documented request without payment to obtain HTTP 402. Decode PAYMENT-REQUIRED and check the resource, network, asset, recipient, exact amount, expiry and operator-approved budget.
4. Use the payment client to construct and sign the authorization; repeat the same request with PAYMENT-SIGNATURE. A successful answer is HTTP 200 with PAYMENT-RESPONSE. Save the receipt. Do not make a new payment when a prior outcome is uncertain.
5. Alternatively connect the Streamable HTTP MCP server at https://igneos.systems/mcp. On a payment-required tool result, use an x402-aware MCP client to pay the structured terms and retry with params._meta["x402/payment"]. Save result._meta["x402/payment-response"].

### AWS Bedrock AgentCore

For agents using Amazon Bedrock AgentCore Payments, configure an approved Coinbase wallet/payment instrument and spending limits; discover the API through Coinbase Bazaar or use the documented HTTP endpoint. Follow https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/payments-getting-started.html. Direct AWS Billing for AWS Marketplace sellers is a separate payment integration; this API offers native USDC through x402, not an AWS Billing offer.

### Solana and Polygon

Use the matching native USDC token and a wallet/client that supports the exact network in the live quote. Check the live terms before paying; the data network of a tool is independent of its payment network.

Reference: https://igneos.systems/openapi.json
