resources/3route/GET /api/v6.1/:chainId/swap
GETorigin + 2 sourcesdiscovery only

https://3route.agents.bakingbad.dev/api/v6.1/:chainId/swapGET /api/v6.1/:chainId/swap · x402 API by 3route

Build an unsigned swap transaction for the best route. Builds an unsigned transaction for the selected route. Compare it with a fresh quote, validate every returned transaction field, obtain explicit signing approval, and broadcast it through the selected chain's RPC. The compatibility parameters permit and usePermit2 are ignored. For an ERC-20 source, approve the router in tx.to for at least srcAmount before executing the returned transaction.

https://3route.agents.bakingbad.dev/api/v6.1/:chainId/swap

What does this x402 API do?

https://3route.agents.bakingbad.dev/api/v6.1/:chainId/swap. This is an x402-gated GET API resource from 3route. TOLL·402 did not invoke this route automatically because doing so was not considered safe. No normalized USD price is recorded; the listing names eip155:42793 and Base and Solana. No settled paid call has been verified.

Published price
No normalized USD price is recorded
Networks
eip155:42793 · Base · Solana
Latest evidence
TOLL·402 did not invoke this route automatically because doing so was not considered safe
Resource ID
9deebb2246032c6fbfd6bd52
USE THIS RESOURCE

Start with a quote-only recipe. Payment signing stays in your project.

CODE
AI CODING TOOLS
quote-check.ts
const response = await fetch("https://3route.agents.bakingbad.dev/api/v6.1/:chainId/swap", {
  method: "GET",
});

console.log(response.status);
console.log(Object.fromEntries(response.headers));
console.log((await response.text()).slice(0, 1000));

// A valid 402 is a quote, not a completed paid call.

This sends no payment. Inspect the 402 response before adding a wallet-enabled client.

STATUS HISTORY

  1. Exact route checked

    not safely testable · unresolved-url-template

  2. Origin reachable

    HEAD https://3route.agents.bakingbad.dev/ returned 200.

  3. Observed in cdp-bazaar

    The registry record was observed and retained with provenance.

  4. Observed in 402-index

    Discovered through bazaar.

  5. Registry record checked

    Registry health: degraded.

What evidence supports this listing?

cdp-bazaarobserved 2026-08-11 · open source record ↗
402-indexobserved 2026-08-11 · open source record ↗
origin checkHEAD https://3route.agents.bakingbad.dev/ → 200 on 2026-08-15
route quotenot invoked automatically · unresolved-url-template · 2026-08-15

Each record has an exact-route quote outcome. Unresolved templates and potentially mutating methods are labeled instead of being invoked without provider-specific test input. A quote is still separate from a settled paid call. Read the discovery and verification methodology →

Which networks and payment options does it accept?

The normalized listing price is No normalized USD price is recorded. Raw protocol requirements remain visible below for implementation and audit use.

Solanaexact5000 atomic · EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
Baseexact5000 atomic · 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
eip155:42793exact5000 atomic · 0x796Ea11Fa2dD751eD01b53C372fFDB4AAa8f00F9
3route GET /api/v6.1/:chainId/swap · 9deebb x402 API · TOLL·402