Skip to main content
LLM prompt — copy and paste into your coding agent
This guide covers the key differences between the legacy Bungee API (/api/v1/bungee/quote) and the Socket Swap V3 API (/v3/swap/quote), and what you need to change in your integration.

Why migrate?

The Socket Swap V3 API (/v3/swap/quote) is the unified endpoint for Socket routes. It provides:
  • A cleaner, normalized route model for same-chain swaps and cross-chain bridges
  • Simpler execution flow — just get a quote, approve (if needed), and send txData.object
  • No submit step — transactions are submitted directly on-chain, not via a Bungee submit endpoint
  • Status tracking via /v3/swap/status using the quoteId

Endpoint changes

Response shape changes

The Swap V3 API returns a flat routes array instead of autoRoute / depositRoute / manualRoute sub-objects. Before (Bungee API):
After (Socket Swap V3 API):

Execution flow changes

Before (Bungee API — Auto Mode):
  1. GET /api/v1/bungee/quote → get autoRoute
  2. Approve approvalData.spenderAddress if needed
  3. Sign autoRoute.signTypedData with PermitWitnessTransferFrom
  4. POST /api/v1/bungee/submit with signature → get requestHash
  5. Poll GET /api/v1/bungee/status?requestHash=...
After (Socket Swap V3 API):
  1. GET /v3/swap/quote?userOps=tx → get routes[]
  2. Approve route.approval.spenderAddress if route.approval is present
  3. Submit route.txData.object as a transaction from userAddress
  4. Poll GET /v3/swap/status?quoteId=...
The biggest simplification is that you no longer need to sign EIP-712 typed data or call a submit endpoint. The Swap V3 API returns a ready-to-send transaction.

Status endpoint changes

Before:
After:
The v3 status endpoint looks up execution state by quoteId.

Status values

The Swap V3 status response uses string status codes instead of numeric codes:

Deposit addresses

The deposit flow is available via userOps=deposit on /v3/swap/quote. The response structure has changed — see the Deposit Addresses Guide for the updated flow.

What changes & stays the same

  • Base URL changes from https://dedicated-backend.bungee.exchange to https://backend.socket.tech
  • Auth headers change — use affiliate and x-api-key as issued for your integration
  • Native token address: 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE
  • Fee parameters: feeBps and feeTakerAddress stay same
  • Chain support remains same

API Reference

Full Socket Swap V3 API reference

Get API Access

Request production API credentials