Relay
SupportGet in TouchTry Relay
Relay PlatformAPI ReferenceRelayKitRelay ProtocolChangelog

Getting Started

What is Relay?How Relay Works

Solutions

Payment Service ProvidersWallets & Wallet ProvidersMultichain AppsChainsCommerce & Payments

Use Cases

Bridging & OnboardingSwapsCall Execution

Features

App FeesFee SponsorshipDeposit AddressesGas Top-UpGasless ExecutionFast FillGasless SwapsPrice StabilizationRouting Integration Models

Security

Transaction ScreeningUnsupported ExchangesBug Bounty ProgramMEV protectionCommunity SupportContract Audits

Resources

Supported ChainsIntegrating using AISupportBrand Assets

API Reference

API OverviewQuickstartApps, API keys, and Rate LimitsAccess TokensUnderstanding Step ExecutionWallet DetectionCost & Fee StructureRefundsInput ValidationTrade TypesSurplus & ShortageHandling Quote ErrorsHandling Rate LimitsHandling Execution ErrorsContract CompatibilityBridging Integration GuideCall Execution Integration GuideTransaction IndexingBase Builder CodesSmart Accounts in RelayTestnet SupportSolana SupportBitcoin SupportHyperliquid SupportLighter SupportDeep LinkingWebsocketsWebhooksMigrating to Requests v3Migrating to Currencies v2Migrating to Token Price v2Supported ChainsContract AddressesSupported Tokens & RoutesTroubleshootingGet QuoteSubmit PermitGet StatusGet RequestsGet Published RequestsGet ChainsGet Chains LiquidityGet CurrenciesGet Currency ClassificationsGet Token PriceTransactions IndexTransactions SingleDeposit Address ReindexGet App Fee BalancesGet Balance EventsClaim App FeesGet UsageFast FillGet Swap SourcesCreate Access TokenExecute Gasless TxsAttest DepositGet Recovery BalancesRequest WithdrawalGet Withdrawal StatusGet Requests (v2)Get PriceGet ConfigGet Execution StatusGet Currencies (v1)Get Token Price (v1)Get Quote

RelayKit

OverviewInstallationcreateClientgetQuoteexecutegetAppFeesclaimAppFeesfastFillexecuteGaslessBatchAdaptersTypescript API TypingsChain UtilsInstallationuseQuoteuseRelayChainsuseRequestsuseTokenListuseTokenPriceuseExecutionStatusInstallationRelayKitProviderSwapWidgetThemingTroubleshooting

Protocol

Relay ProtocolHow It WorksThe Relay ChainDepositoryDeposit AddressesOracleHubAllocatorSecurity CouncilSecurity & AuditsFor AppsProgrammatic WithdrawalsWithdrawing with a SafeOperate a Third-Party Relay OracleAddressesEVM Depository ReferenceSVM Depository ReferenceOverviewArchitectureSecurityRelay Vaults BackendBridgingInteracting with Relay VaultsWithdrawing from Relay VaultsRelayPoolFactoryRelayPoolRelayPoolNativeGatewayRelayBridgeFactoryRelayBridge

Changelog

Changelog
## Documentation Index Fetch the complete documentation index at: https://docs.relay.link/llms.txt Use this file to discover all available pages before exploring further.
## Agent Instructions To quote bridges and swaps, look up chains and tokens, or track Relay transactions from an agent, use the Relay MCP server: npx -y @relayprotocol/relay-mcp. It is read-only and does not sign or broadcast transactions. Setup: https://docs.relay.link/resources/developing-with-ai.md For Relay Protocol's trust model, security architecture, and audits, see https://docs.relay.link/references/protocol/security.md. For address screening, see https://docs.relay.link/security/transaction-screening.md.

Migrating to Requests v3

What changed in GET /requests/v3 and how to upgrade from v2.

GET /requests/v3 is the latest version of the Requests API. It gives you a richer query surface with advanced filtering across status, chains, amounts, addresses, time, and more, plus a cleaner and more consistent response. This guide covers every change and how to upgrade. GET /requests/v2 remains available during a deprecation window (see the sunset timeline below) — migrate before it's retired.

This migration changes the platform API response and query surface. The v3 endpoint suffix does not mean a request uses a particular version of Relay Protocol.

[!WARNING] x-api-key is now required. Every v3 request authenticates against an active API key. See API Keys for details.

Sunset timeline

GET /requests/v2 is deprecated as of July 22, 2026. It keeps working, but migrate to GET /requests/v3 before it's fully retired on November 24, 2026.

DateWhat changes
Jul 22, 2026v2 is deprecated; v3 is the recommended version. v2 keeps working.
Sep 1, 2026 onwardv2's rate limit is progressively reduced each month; requests over the limit receive 429.
Nov 24, 2026v2 is fully retired — all traffic must be on v3.

Detecting deprecation programmatically

Every response from GET /requests/v2 carries in-band deprecation signals so clients can surface or log the sunset timeline without hard-coding dates.

  • `Deprecation` header — RFC 8594 structured-field Date, e.g. @1784678400.
  • `Sunset` header — RFC 7231 HTTP-date, e.g. Tue, 24 Nov 2026 00:00:00 GMT.
  • `Link` header — three lines with rel="deprecation", rel="sunset", and rel="successor-version" pointing to this guide and to GET /requests/v3.

These headers are attached to every v2 response (2xx, 4xx, and 5xx) and are listed in Access-Control-Expose-Headers, so browser clients using fetch or XMLHttpRequest can read them cross-origin:

const res = await fetch("https://api.relay.link/requests/v2?...");
const sunset = res.headers.get("sunset");
const deprecation = res.headers.get("deprecation");

Successful (200) responses additionally include a top-level deprecation object:

"deprecation": {
  "message": "GET /requests/v2 is deprecated. Migrate to GET /requests/v3. Relay reduces the v2 rate limit in stages from September 1, 2026. Relay retires v2 on November 24, 2026.",
  "deprecatedAt": "2026-07-22T00:00:00Z",
  "throttledFrom": "2026-09-01T00:00:00Z",
  "sunsetAt": "2026-11-24T00:00:00Z",
  "successor": "https://api.relay.link/requests/v3",
  "migrationGuide": "https://docs.relay.link/references/api/api_guides/migrating-to-requests-v3"
}

When v2 rate-limits your traffic, 429 responses return a route-specific body that also points at v3:

{
  "message": "You reached the rate limit for GET /requests/v2. Relay reduces this limit in stages. Relay retires v2 on November 24, 2026. Migrate to GET /requests/v3.",
  "successor": "https://api.relay.link/requests/v3",
  "migrationGuide": "https://docs.relay.link/references/api/api_guides/migrating-to-requests-v3"
}

No Retry-After is emitted on 429 from GET /requests/v2. For guidance on reducing your request volume, see Handling Rate Limits.

Response shape

The same request shown in full for v2 and v3, plus a focused diff of what moved.

[tab] v2 ``json expandable theme={null} { "id": "0x0000348634...", "status": "success", "user": "0xe7a2052a...", "recipient": "0x07082933...", "depositAddress": null, "moonpayId": null, "referrer": "my-app|user-123", "data": { "slippageTolerance": "0", "failReason": "N/A", "refundFailReason": "N/A", "subsidizedRequest": true, "price": "10000000000", "currency": "usdc", "currencyObject": { "chainId": 8453, "address": "0x833589...", "symbol": "USDC", "name": "USD Coin", "decimals": 6, "metadata": { "logoURI": "https://...", "verified": true } }, "feeCurrency": "usdc.e", "feeCurrencyObject": { "chainId": 137, "address": "0x2791bc...", "symbol": "USDC.e", "name": "USDCoin (bridged)", "decimals": 6, "metadata": { "logoURI": "https://...", "verified": true } }, "appFeeCurrencyObject": { "chainId": 137, "address": "0x2791bc...", "symbol": "USDC.e", "name": "USDCoin (bridged)", "decimals": 6 }, "fees": { "gas": "1160", "fixed": "0", "price": "1999930" }, "feesUsd": { "gas": "0.001159", "fixed": "0.000000", "price": "1.999162" }, "appFees": [ { "recipient": "0xdfd877...", "bps": "5", "amount": "5000000", "amountUsd": "4.997980", "amountUsdCurrent": "4.998080" } ], "paidAppFees": [ { "recipient": "0xdfd877...", "bps": "5", "amount": "5000000", "amountUsd": "4.997980", "amountUsdCurrent": "4.998080" } ], "subsidizedFee": { "origin": { "amount": "7001090", "address": "0x2791bc...", "chainId": 137 }, "sponsor": { "amount": "7000949", "address": "0x833589...", "chainId": 8453 }, "amountUsd": "6.998261", "amountUsdCurrent": "6.998401" }, "expandedPriceImpact": { "quoted": { "swap": { "usd": "-1.999380" }, "execution": { "usd": "-0.001160" }, "relay": { "usd": "0.000000" }, "app": { "usd": "-4.998625" }, "sponsored": { "usd": "6.999165" } }, "actual": { "swap": { "usd": "-1.999380" }, "execution": { "usd": "-0.001160" }, "relay": { "usd": "0.000000" }, "app": { "usd": "-4.998625" }, "sponsored": { "usd": "6.999165" } } }, "feeSponsorship": { "quoted": { "selectedComponents": ["execution", "swap", "relay", "app"], "capHit": false, "components": { "execution": { "selected": true, "total": { "currency": { "chainId": 137, "symbol": "USDC.e", "decimals": 6 }, "amount": "1160", "amountFormatted": "0.00116", "amountUsd": "0.001160", "minimumAmount": "1160" }, "sponsored": { "currency": { "chainId": 137, "symbol": "USDC.e", "decimals": 6 }, "amount": "1160", "amountUsd": "0.001160" }, "userPays": { "currency": { "chainId": 137, "symbol": "USDC.e", "decimals": 6 }, "amount": "0", "amountUsd": "0" } }, "swap": { "selected": true, "total": { "currency": { "chainId": 137, "symbol": "USDC.e", "decimals": 6 }, "amount": "1999380", "amountUsd": "1.999380" }, "sponsored": { "amount": "1999380", "amountUsd": "1.999380" }, "userPays": { "amount": "0", "amountUsd": "0" } }, "relay": { "selected": true, "total": { "amount": "0", "amountUsd": "0.000000" }, "sponsored": { "amount": "0", "amountUsd": "0" }, "userPays": { "amount": "0", "amountUsd": "0" } }, "app": { "selected": true, "total": { "amount": "5000000", "amountUsd": "4.998625" }, "sponsored": { "amount": "5000000", "amountUsd": "4.998625" }, "userPays": { "amount": "0", "amountUsd": "0" } } }, "sponsoredTotal": { "currency": { "chainId": 137, "symbol": "USDC.e", "decimals": 6 }, "amount": "7001090", "amountFormatted": "7.00109", "amountUsd": "6.999165" }, "userPaysTotal": { "currency": { "chainId": 137, "symbol": "USDC.e", "decimals": 6 }, "amount": "0", "amountUsd": "0" } }, "actual": { "selectedComponents": ["execution", "swap", "relay", "app"], "capHit": false, "components": { "execution": "…", "swap": "…", "relay": "…", "app": "…" }, "sponsoredTotal": { "amount": "7001090", "amountUsd": "6.999165" }, "userPaysTotal": { "amount": "0", "amountUsd": "0" } } }, "inTxs": [ { "hash": "0xcd4d70...", "fee": "139725000000000", "block": 87433122, "type": "onchain", "chainId": 137, "timestamp": 1779747672, "status": "success", "data": {}, "stateChanges": [] } ], "outTxs": [ { "hash": "0x1c0089...", "fee": "433800000000", "block": 46479163, "type": "onchain", "chainId": 8453, "timestamp": 1779747673, "status": "success", "data": {}, "stateChanges": [] } ], "usesExternalLiquidity": false, "timeEstimate": 4, "metadata": { "sender": "0xE7a205...", "recipient": "0x070829...", "currencyIn": { "currency": { "chainId": 137, "address": "0x2791bc...", "symbol": "USDC.e", "name": "USDCoin (bridged)", "decimals": 6, "metadata": { "logoURI": "https://...", "verified": true } }, "amount": "10000000000", "amountFormatted": "10000.0", "amountUsd": "9997.600000", "amountUsdCurrent": "9996.000000", "minimumAmount": "10000000000" }, "currencyOut": { "currency": { "chainId": 8453, "address": "0x833589...", "symbol": "USDC", "name": "USD Coin", "decimals": 6, "metadata": { "logoURI": "https://...", "verified": true } }, "amount": "10000000000", "amountFormatted": "10000.0", "amountUsd": "9997.600000", "amountUsdCurrent": "9996.000000", "minimumAmount": "10000000000" }, "rate": "1", "route": { "origin": { "inputCurrency": { "currency": { "chainId": 137, "symbol": "USDC.e", "decimals": 6 }, "amount": "10000000000" }, "outputCurrency": { "currency": { "chainId": 137, "symbol": "USDC.e", "decimals": 6 }, "amount": "10000000000" }, "router": "relay" }, "destination": { "inputCurrency": { "currency": { "chainId": 8453, "symbol": "USDC", "decimals": 6 }, "amount": "10000000000" }, "outputCurrency": { "currency": { "chainId": 8453, "symbol": "USDC", "decimals": 6 }, "amount": "10000000000" }, "router": "relay" } } } }, "protocol": { "orderId": "0x...", "hubType": "onchain", "isWithdrawable": false, "solver": { "address": "0x...", "protocolChainId": "8453", "chainId": 8453 }, "deposit": { "origin": { "amount": "10000000000", "chainId": 137, "currency": "0x2791bc...", "depositor": "0xe7a205...", "depository": "0x...", "onchainId": "0x...", "transactionId": "0xcd4d70..." } }, "settlement": { "destination": { "fills": [ { "chainId": 8453, "transactionId": "0x1c0089..." } ], "refunds": [] } } }, "createdAt": "2026-05-25T22:21:11.161Z", "updatedAt": "2026-05-25T22:21:51.291Z" }
[tab] v3 ``json expandable theme={null} { "id": "0x0000348634...", "status": "success", "user": "0xe7a2052a...", "sender": "0xE7a205...", "recipient": "0x07082933...", "refundTo": null, "depositAddress": null, "requestType": "Bridge", "data": { "slippageTolerance": "0", "failReason": null, "refundFailReason": null, "failedTxHash": null, "failedTxBlockNumber": null, "failedCallData": null, "usesExternalLiquidity": false, "timeEstimate": 4, "triggeredByFastFill": null, "inTxs": [ { "txHash": "0xcd4d70...", "fee": "139725000000000", "block": 87433122, "type": "onchain", "chainId": 137, "timestamp": 1779747672, "status": "success", "data": {}, "stateChanges": [] } ], "outTxs": [ { "txHash": "0x1c0089...", "fee": "433800000000", "block": 46479163, "type": "onchain", "chainId": 8453, "timestamp": 1779747673, "status": "success", "data": {}, "stateChanges": [] } ], "appFees": { "quoted": [ { "recipient": "0xdfd877...", "bps": "5", "amount": "5000000", "amountFormatted": "5.0" } ], "actual": [ { "recipient": "0xdfd877...", "bps": "5", "amount": "5000000", "amountFormatted": "5.0", "amountUsd": "4.997980" } ], "currency": { "chainId": 137, "address": "0x2791bc...", "symbol": "USDC.e", "name": "USDCoin (bridged)", "decimals": 6, "metadata": { "logoURI": "https://...", "verified": true } } }, "fees": { "quoted": { "swap": { "usd": "-1.999380", "amount": "1999380", "amountFormatted": "1.99938" }, "execution": { "usd": "-0.001160", "amount": "1160", "amountFormatted": "0.00116" }, "platform": { "usd": "0.000000", "amount": "0", "amountFormatted": "0" }, "app": { "usd": "-4.998625", "amount": "5000000", "amountFormatted": "5.0" }, "sponsored": { "usd": "6.999165", "amount": "7001090", "amountFormatted": "7.00109" } }, "actual": { "swap": { "usd": "-1.999380" }, "execution": { "usd": "-0.001160" }, "platform": { "usd": "0.000000" }, "app": { "usd": "-4.998625" }, "sponsored": { "usd": "6.999165" } }, "currency": { "chainId": 137, "address": "0x2791bc...", "symbol": "USDC.e", "name": "USDCoin (bridged)", "decimals": 6, "metadata": { "logoURI": "https://...", "verified": true } } }, "feeSponsorship": { "quoted": { "selectedComponents": ["execution", "swap", "platform", "app"], "maxSubsidizationAmount": null, "capHit": false, "components": { "execution": { "selected": true, "total": { "amount": "1160", "amountFormatted": "0.00116", "amountUsd": "0.001160", "minimumAmount": "1160" }, "sponsored": { "amount": "1160", "amountUsd": "0.001160" }, "userPays": { "amount": "0", "amountUsd": "0" } }, "swap": { "selected": true, "total": { "amount": "1999380", "amountUsd": "1.999380" }, "sponsored": { "amount": "1999380", "amountUsd": "1.999380" }, "userPays": { "amount": "0", "amountUsd": "0" } }, "platform": { "selected": true, "total": { "amount": "0", "amountUsd": "0" }, "sponsored": { "amount": "0", "amountUsd": "0" }, "userPays": { "amount": "0", "amountUsd": "0" } }, "app": { "selected": true, "total": { "amount": "5000000", "amountUsd": "4.998625" }, "sponsored": { "amount": "5000000", "amountUsd": "4.998625" }, "userPays": { "amount": "0", "amountUsd": "0" } } }, "sponsoredTotal": { "amount": "7001090", "amountFormatted": "7.00109", "amountUsd": "6.999165" }, "userPaysTotal": { "amount": "0", "amountFormatted": "0", "amountUsd": "0" } }, "actual": { "selectedComponents": ["execution", "swap", "platform", "app"], "capHit": false, "components": { "execution": "…", "swap": "…", "platform": "…", "app": "…" }, "sponsoredTotal": { "amount": "7001090", "amountUsd": "6.999165" }, "userPaysTotal": { "amount": "0", "amountUsd": "0" }, "sponsorPayment": { "amount": "7000949", "address": "0x833589...", "chainId": 8453 } }, "currency": { "chainId": 137, "address": "0x2791bc...", "symbol": "USDC.e", "decimals": 6 } }, "route": { "includedSwapSources": [], "includedOriginSwapSources": [], "includedDestinationSwapSources": [], "quoted": { "origin": { "inputCurrency": { "currency": { "chainId": 137, "symbol": "USDC.e", "decimals": 6 }, "amount": "10000000000" }, "outputCurrency": { "currency": { "chainId": 137, "symbol": "USDC.e", "decimals": 6 }, "amount": "10000000000" }, "router": "relay" }, "destination": { "inputCurrency": { "currency": { "chainId": 8453, "symbol": "USDC", "decimals": 6 }, "amount": "10000000000" }, "outputCurrency": { "currency": { "chainId": 8453, "symbol": "USDC", "decimals": 6 }, "amount": "10000000000" }, "router": "relay" } }, "actual": { "rate": "1", "origin": { "inputCurrency": { "currency": { "chainId": 137, "symbol": "USDC.e", "decimals": 6 }, "amount": "10000000000" }, "outputCurrency": { "currency": { "chainId": 137, "symbol": "USDC.e", "decimals": 6 }, "amount": "10000000000" }, "router": "relay" }, "destination": { "inputCurrency": { "currency": { "chainId": 8453, "symbol": "USDC", "decimals": 6 }, "amount": "10000000000" }, "outputCurrency": { "currency": { "chainId": 8453, "address": "0x833589...", "symbol": "USDC", "name": "USD Coin", "decimals": 6, "metadata": { "logoURI": "https://...", "verified": true } }, "amount": "10000000000", "amountFormatted": "10000.0", "amountUsd": "9997.600000" }, "router": "relay" } } }, "platformFee": null, "quoteOraclePrice": null, "referrer": "my-app|user-123", "refundCurrencyData": null, "externalMetadata": { "moonpayId": null } }, "protocol": { "orderId": "0x...", "hubType": "onchain", "isWithdrawable": false, "solver": { "address": "0x...", "protocolChainId": "8453", "chainId": 8453 }, "deposit": { "origin": { "amount": "10000000000", "chainId": 137, "currency": "0x2791bc...", "depositor": "0xe7a205...", "depository": "0x...", "onchainId": "0x...", "transactionId": "0xcd4d70..." } }, "settlement": { "destination": { "fills": [ { "chainId": 8453, "transactionId": "0x1c0089..." } ], "refunds": [] } } }, "features": ["app_fees"], "createdAt": "2026-05-25T22:21:11.161Z", "updatedAt": "2026-05-25T22:21:51.291Z" }
[tab] Difference ``jsonc expandable theme={null} { "id": "0x0000348634...", "status": "success", "moonpayId": null, // [!code --] "sender": "0xE7a205...", // [!code ++] promoted from data.metadata.sender "refundTo": null, // [!code ++] "requestType": "Bridge", // [!code ++] "depositAddress": null, // now an object: { address, type, depositor, depositTxHash, recoveryAddress } "referrer": "my-app|user-123", // [!code --] moved to data.referrer (authenticated) "features": ["app_fees"], // [!code ++] "data": { "failReason": "N/A", // [!code --] "refundFailReason": "N/A", // [!code --] "failReason": null, // [!code ++] "refundFailReason": null, // [!code ++] "subsidizedRequest": true, // [!code --] "price": "10000000000", // [!code --] removed; read data.route.actual.destination.inputCurrency "fees": { "gas": "1160", "fixed": "0", "price": "1999930" }, // [!code --] "feesUsd": { "gas": "0.001159" }, // [!code --] "currency": "usdc", // [!code --] "currencyObject": { }, // [!code --] "feeCurrency": "usdc.e", // [!code --] "feeCurrencyObject": { }, // [!code --] "appFees": [ { "bps": "5", "amount": "5000000", "amountUsd": "4.99" } ], // [!code --] "paidAppFees": [ { "bps": "5", "amount": "5000000", "amountUsd": "4.99" } ], // [!code --] "appFees": { // [!code ++] "quoted": [ { "bps": "5", "amount": "5000000" } ], // [!code ++] "actual": [ { "bps": "5", "amount": "5000000", "amountUsd": "4.99" } ], // [!code ++] "currency": { "symbol": "USDC.e", "decimals": 6 } // [!code ++] }, // [!code ++] "subsidizedFee": { "amountUsd": "6.99" }, // [!code --] "expandedPriceImpact": { "quoted": { "relay": { "usd": "0" } } }, // [!code --] "fees": { // [!code ++] "quoted": { "swap": {}, "execution": {}, "platform": {}, "app": {}, "sponsored": {} }, // [!code ++] "actual": { }, // [!code ++] "currency": { "symbol": "USDC.e", "decimals": 6 } // [!code ++] }, // [!code ++] "feeSponsorship": { "quoted": { "selectedComponents": ["execution","swap","relay","app"], "components": { "relay": {} } } // [!code --] "quoted": { "selectedComponents": ["execution","swap","platform","app"], "components": { "platform": {} } }, // [!code ++] "actual": { "sponsorPayment": { "amount": "...", "chainId": 8453 } }, // [!code ++] "currency": { "symbol": "USDC.e", "decimals": 6 } // [!code ++] }, "inTxs": [ { "hash": "0xcd4d70..." } ], // [!code --] "outTxs": [ { "hash": "0x1c0089..." } ], // [!code --] "inTxs": [ { "txHash": "0xcd4d70..." } ], // [!code ++] "outTxs": [ { "txHash": "0x1c0089..." } ], // [!code ++] "metadata": { "sender": "…", "currencyIn": {}, "currencyOut": {}, "rate": "1", "route": {} }, // [!code --] "route": { // [!code ++] "includedSwapSources": [], // [!code ++] "quoted": { "origin": {}, "destination": {} }, // [!code ++] "actual": { "rate": "1", "origin": {}, "destination": {} } // [!code ++] }, // [!code ++] "referrer": "my-app|user-123", // [!code ++] authenticated; moved from root "externalMetadata": { "moonpayId": null } // [!code ++] } }
[!NOTE] The full OpenAPI schema lives at api.relay.link/documentation/json.
[!WARNING] `data.fees` has changed meaning. The key fees is reused for a different shape. In v2, data.fees was raw wei (gas/fixed/price/gateway). In v3 that object is removed, and data.fees now holds the per-component USD breakdown that v2 called expandedPriceImpact. Code reading data.fees.gas will break — read data.fees.quoted / data.fees.actual instead.

What changed

Every individual change, grouped by request side and response side.

Request & querying

[accordion] Authentication ``bash theme={null} GET /requests/v3 Headers: x-api-key: <your-api-key> # now required [!code ++] The x-api-key` request header is now required. Every request authenticates against an active API key. See API Keys for details. Access scope. v3 returns requests owned by your integrator, plus requests that were created without an API key. Any of your API keys can access all v3 data for your other keys — if you use more than one key, you do not have to change your integration.
[accordion] Filtering, search & sorting v3 exposes a broad filter surface. All parameters are optional and combine with AND semantics unless noted. | Category | Parameters | | - | - | | Search | term (request id, wallet, deposit address, every tx hash), id, orderId, depositTxHash, fillTxHash, refundTxHash | | Chain | originChainId, destinationChainId, chainId (either direction), privateChainsToInclude | | Address | user, depositAddress, recipient | | Status / routing | status, failReason, refundFailReason, apiKeyId, appId, requestType, referrer | | Currency | currencyInChainId, currencyOutChainId, currencyInAddress, currencyOutAddress, currencyInSymbol, currencyOutSymbol | | Ranges | startTimestamp, endTimestamp, startBlock, endBlock, amountUsdMin/Max, appFeesAmountUsdMin/Max, fillTimeMin/Max | | Other | features, includeChildRequests, filters (AND/OR), sortBy, sortDirection, includeAuthenticatedData, includePendingRequests, includeTotal | > [!TIP] > > term is a single unified search across request id, wallet, deposit address, and every transaction hash (deposit, fill, refund, failed, chain-entry). It replaces the v2 pattern of running separate user / hash / id lookups and merging the results. Sorting. sortBy accepts createdAt (default), updatedAt, or amountUsd. sortDirection is asc or desc (defaults to desc for time fields, asc for amountUsd). Advanced filtering (AND / OR / negation / null-checks). The filters parameter takes a JSON-encoded array of groups. Fields within a group are AND'd; the groups themselves are OR'd. Any key can be negated with a not: prefix, a field's value may be an array (OR within that field), and a value of null is a null-check ("is empty" / "is not empty") instead of an equality test. Top-level parameters still apply. ``bash theme={null} # "(depositAddress=0xabc AND originChainId=8453) OR (depositAddress=0x123 AND originChainId=1)" GET /requests/v3?filters=[{"depositAddress":"0xabc","originChainId":8453},{"depositAddress":"0x123","originChainId":1}] # negation + array value: everything except failures and refunds GET /requests/v3?filters=[{"not:status":["failure","refund"]}] # null-checks: requests with no deposit address, or with any deposit address GET /requests/v3?filters=[{"depositAddress":null}] GET /requests/v3?filters=[{"not:depositAddress":null}] > [!NOTE] > > OR groups support identity, address, chain, currency, and status-style fields. Range filters and features are top-level only. Null-checks work on any recognised filters key, including the composite user field and the case-insensitive currencyInSymbol / currencyOutSymbol fields. null cannot be combined with real values in an array for the same key — that returns 400. **API key filtering.** To limit results to specific API keys, use the top-level apiKeyId parameter with a maximum of 50 comma-separated IDs that your integrator owns. Each entry may be a bare UUID or the prefixed form key_id_<uuid> — both forms resolve to the same key, deduplicate against each other, and count once toward the 50-value cap. Responses continue to return the bare UUID form. It does not give access to more requests. We no longer recommend the apiKey filter, because it puts your API key in the URL. **App filtering (owner-scoped).** An **App** is the durable identity for an integration — one App can own many API keys over its lifetime, and rotating or revoking a key does not change the App that owns the historical requests created under it. Use the top-level appId query parameter to narrow results to one or more Apps you own, with up to **50** comma-separated app_id_<uuid> values (whitespace trimmed, canonicalized to lowercase, deduplicated). Multiple values OR-match. Every supplied ID must belong to the authenticating integrator — unknown, foreign, or partially owned lists return 403; malformed IDs, empty entries, or more than 50 values return 400; transient resolution failures return 500 rather than silently dropping the filter. appId cannot appear inside a filters group — it is top-level only. It is ANDed with any apiKeyId / apiKey filter, so it narrows the result set rather than expanding access. Matching uses the indexed App attribution written at request time, so an appId filter includes requests created under keys that have since been revoked. bash theme={null} # requests for one App you own GET /requests/v3?appId=app_id_aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa # multiple Apps, OR-matched GET /requests/v3?appId=app_id_aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa,app_id_bbbbbbbb-bbbb-4bbb-8bbb-bbbbbbbbbbbb > [!NOTE] > > Requests indexed before App attribution was recorded do not match any appId filter and are omitted from appId-filtered results until the attribution is populated for them. They remain visible under the existing visibility rules when queried without an appId filter. **Referrer filtering.** The referrer filter — as a top-level query parameter or as a referrer / not:referrer key inside any filters group — matches the exact value supplied at quote time. Empty referrer values are rejected. * **With apiKeyId (or apiKey)**: results include matching requests for the selected keys **plus** matching public keyless requests (requests created without an API key), regardless of their age. Every supplied ID must belong to the authenticating integrator — unowned IDs (or callers that cannot resolve to an integrator identity) return 403. * **Without apiKeyId / apiKey**: results include only matching public keyless requests, regardless of age. No pairing is required and no 400 is returned for an unpaired referrer filter. Scope inside filters groups: * A **top-level** referrer applies the referrer scope (selected keys + public keyless, or public keyless only) to every OR branch. * Without a top-level referrer, a referrer / not:referrer key inside a group scopes **that group only** to the selected keys plus public keyless requests; other groups retain their existing scope. Existing visibility restrictions still apply — public keyless requests are not reassigned to your integrator. bash theme={null} # matches requests for the given key AND public keyless requests GET /requests/v3?referrer=my-app|user-123&apiKeyId=YOUR_API_KEY_ID # no apiKeyId: matches only public keyless requests GET /requests/v3?referrer=my-app|user-123 # per-group scope: the referrer branch adds public keyless rows, # the other branch keeps its existing scope GET /requests/v3?filters=[{"referrer":"my-app|user-123"},{"originChainId":8453}]&apiKeyId=YOUR_API_KEY_ID # negation also works inside filters, with or without apiKeyId GET /requests/v3?filters=[{"not:referrer":"other-app"}] **Removed & changed parameters.** * hash is removed; use term, or the targeted depositTxHash / fillTxHash / refundTxHash. **Total match count.** Pass includeTotal=true to receive the exact total count of matching requests as total on the response (independent of limit and continuation). Omit it — or set includeTotal=false — when you only need the current page; computing the total adds meaningful query latency, so it is opt-in. **Pending request opt-in.** Pass includePendingRequests=true to include pending requests permitted by your access scope. When omitted — or set to false — the response is limited to terminal requests (success, failure, refund), and the opt-in total count is computed on that filtered set. For your own requests, the opt-in additionally returns pending outbound transaction entries (data.outTxs) that are otherwise redacted while pending. The flag is independent of includeAuthenticatedData — it does not enable authenticated fields and does not widen access permissions. Opt-in responses are returned with cache-control: private, no-store`, so clients and shared caches do not retain pending-state snapshots.

Response fields

[accordion] Currencies — unified to a single object The currency (string) + currencyObject (object) duality is removed everywhere, along with feeCurrency/feeCurrencyObject and appFeeCurrencyObject. Every currency is a single object: { chainId, address, symbol, name, decimals, metadata }. Amount objects carry that currency plus amount, amountFormatted, amountUsd, and where relevant amountUsdCurrent, minimumAmount. ``jsonc theme={null} "currency": "usdc", // [!code --] "currencyObject": { "chainId": 137, "symbol": "USDC", "decimals": 6 } // [!code --] // read the currency object directly off the amount, [!code ++] // e.g. data.route.actual.origin.inputCurrency.currency [!code ++]
[accordion] Fees — expandedPriceImpact → data.fees, relay → platform data.expandedPriceImpact is renamed to `data.fees` (and the old wei data.fees / data.feesUsd are removed). Each phase (quoted, actual) breaks fees into swap, execution, platform, app, and sponsored, with the shared currency hoisted to data.fees.currency. The relay component is renamed to `platform`, and per-component values now include amount and amountFormatted in addition to usd. ``jsonc theme={null} "expandedPriceImpact": { "quoted": { "swap": { "usd": "-1.99" }, "relay": { "usd": "0" } } } // [!code --] "fees": { // [!code ++] "quoted": { "swap": { "usd": "-1.99", "amount": "...", "amountFormatted": "..." }, "platform": { "usd": "0" } }, // [!code ++] "actual": { "...": "..." }, // [!code ++] "currency": { "symbol": "USDC.e" } // [!code ++] } // [!code ++]
[accordion] Fee sponsorship — single source of truth data.subsidizedRequest and data.subsidizedFee are removed. data.feeSponsorship is now the only sponsorship source — determine whether a request was sponsored from feeSponsorship.{quoted,actual}.sponsoredTotal.amountUsd. The relay bucket is renamed to `platform`, the shared currency is hoisted to feeSponsorship.currency, and the actual phase gains a sponsorPayment object. ``jsonc theme={null} "subsidizedRequest": true, // [!code --] "subsidizedFee": { "amountUsd": "6.99" }, // [!code --] "feeSponsorship": { "quoted": { "selectedComponents": ["execution","swap","relay","app"], "components": { "relay": {} } } // [!code --] "quoted": { "selectedComponents": ["execution","swap","platform","app"], "components": { "platform": {} } }, // [!code ++] "actual": { "sponsorPayment": { "amount": "...", "chainId": 8453 } }, // [!code ++] "currency": { "symbol": "USDC.e" } // [!code ++] }
[accordion] App fees — consolidated into one object The parallel appFees (quoted) and paidAppFees (actual) arrays are consolidated into one object with explicit quoted / actual keys and a hoisted currency. ``jsonc theme={null} "appFees": [ { "bps": "5", "amount": "5000000" } ], // [!code --] "paidAppFees": [ { "bps": "5", "amount": "5000000", "amountUsd": "4.99" } ], // [!code --] "appFees": { // [!code ++] "quoted": [ { "bps": "5", "amount": "5000000" } ], // [!code ++] "actual": [ { "bps": "5", "amount": "5000000", "amountUsd": "4.99" } ], // [!code ++] "currency": { "symbol": "USDC.e" } // [!code ++] } // [!code ++]
[accordion] Swap & route — metadata folds into data.route The data.metadata catch-all is removed. sender is promoted to the root (next to recipient), and everything else moves into `data.route`, which now has two phases: * data.route.quoted — the route as quoted at request time. * data.route.actual — what actually executed. Carries rate, and actual falls back to quoted when there's no execution data yet (e.g. same-chain swaps). Each phase has origin and destination sides, and each side has inputCurrency / outputCurrency (each a full amount object) plus router (on the actual route, router reflects the provider that actually filled the leg, not always "relay"). includedSwapSources / includedOriginSwapSources / includedDestinationSwapSources are hoisted to the top of data.route. There is no `data.swap` and no `data.quotedOutputAmount` — read amounts from the route instead: * Amount deposited: data.route.actual.origin.inputCurrency (→ quoted). * Amount received: data.route.actual.destination.outputCurrency (→ quoted). For same-chain swaps there is no destination side, so fall back to origin.outputCurrency. ``jsonc theme={null} "metadata": { "sender": "…", "currencyIn": {}, "currencyOut": {}, "rate": "1", "route": {} } // [!code --] // sender → promoted to the root [!code ++] "route": { // [!code ++] "includedSwapSources": [], // [!code ++] "quoted": { "origin": {}, "destination": {} }, // [!code ++] "actual": { "rate": "1", "origin": {}, "destination": {} } // [!code ++] } // [!code ++]
[accordion] Transaction hashes — hash → txHash Inside inTxs[] and outTxs[], the hash field is renamed to txHash. The array names themselves are unchanged. ``jsonc theme={null} "inTxs": [ { "hash": "0xcd4d70..." } ], // [!code --] "outTxs": [ { "hash": "0x1c0089..." } ] // [!code --] "inTxs": [ { "txHash": "0xcd4d70..." } ], // [!code ++] "outTxs": [ { "txHash": "0x1c0089..." } ] // [!code ++]
[accordion] Statuses — new values The response status enum is now pending, waiting, depositing, submitted, success, failure, refund. depositing and submitted are new; the v2 delayed value is gone. The status filter accepts success, failure, refund, pending, depositing. ``jsonc theme={null} status ∈ { pending, waiting, delayed, success, failure, refund } // [!code --] status ∈ { pending, waiting, depositing, submitted, success, failure, refund } // [!code ++]
[accordion] Moved, added & nulled fields * moonpayId moves from the root to `data.externalMetadata.moonpayId`. * sender is promoted to the root (next to recipient); it previously lived in data.metadata.sender. * referrer moves into `data.referrer` and is returned only when `includeAuthenticatedData=true`. It remains a supported query filter (see Filtering, search & sorting); when paired with apiKeyId (or apiKey), the IDs must belong to the authenticating integrator, and results include matching requests for those keys plus matching public keyless requests. Without apiKeyId / apiKey, referrer filters return only matching public keyless requests. * `refundTo` (refund target for deposit-address transactions) is added at the root. * `requestType` (Bridge, Crosschain Swap, Same-chain Swap, Send, Wrap, Unwrap, Call) is added at the root. * `features` (e.g. gasless_execution, fast_fill, gas_top_up, app_fees, deposit_address) is added at the root. * `depositAddress` is now a structured object: { address, type: "strict" | "open", depositor, depositTxHash, recoveryAddress }. recoveryAddress is the origin-chain address that can recover deposit-address funds if the recipient wallet is later blocked (null when not set). * `supersededByRequestId` is promoted to the root; it previously lived at data.supersededByRequestId in v2. When a deposit-address request is regenerated (currently Bitcoin/BVM only), the original request's supersededByRequestId points to the most recent regenerated requestId that owns the sweep and fill. null otherwise, including on regenerations from every other chain — track those by depositAddress (see Handling Quote Regeneration). * `data.quoteOraclePrice` is added — the oracle price snapshot at quote time ({ rate, observedAt, inputCurrency, outputCurrency }), returned only for fixed-BPS oracle integrators; null otherwise. * `data.apiKeyName` is added — the display name of the API key that created the request. Returned only when `includeAuthenticatedData=true` and the caller authenticates as the request's owning integrator (same gate as data.referrer and data.platformFee); null when the API key has no name set. * `data.appId` is added — the durable App identifier (app_id_<uuid>) for the App that owned the API key the request was created with. Returned only when `includeAuthenticatedData=true` and the caller authenticates as the request's owning integrator (same gate as data.referrer, data.platformFee, data.apiKeyName, and data.blockedAddresses). null for owned records that have no indexed App attribution. The field is never populated by guessing from the request's name, referrer, caller, or organization. * `data.blockedAddresses` is added — an array of the wallet address(es) that failed screening and caused a BLOCKED_WALLET failure. Returned only when `includeAuthenticatedData=true` and the caller authenticates as the request's owning integrator (same gate as data.referrer, data.platformFee, and data.apiKeyName); null on non-BLOCKED_WALLET failures and when no addresses were recorded. Screening-provider scores and reasons are never returned. * data.price is removed — read the quoted output amount from data.route.actual.destination.inputCurrency (distinct from the actual received amount in data.route.actual.destination.outputCurrency). * failReason / refundFailReason use `null` instead of the string "N/A".

Field migration reference

[accordion] Renamed & restructured | v2 | v3 | | - | - | | data.expandedPriceImpact | data.fees (component relay → platform) | | data.metadata.sender | sender (root) | | data.metadata.recipient | recipient (root) | | data.metadata.{currencyIn,currencyOut,rate,currencyGasTopup} | data.route.{quoted,actual}.* | | data.metadata.route | data.route.{quoted,actual} | | data.appFees (quoted) + data.paidAppFees (actual) | data.appFees.{quoted,actual,currency} | | inTxs[].hash / outTxs[].hash | inTxs[].txHash / outTxs[].txHash | | feeSponsorship…components.relay | feeSponsorship…components.platform | | moonpayId (root) | data.externalMetadata.moonpayId | | depositAddress (nullable) | depositAddress object {address,type,depositor,depositTxHash} | | data.supersededByRequestId | supersededByRequestId (root) |
[accordion] Removed | Removed in v3 | Replacement | | - | - | | data.fees (wei gas/fixed/price/gateway) | data.fees (now USD price-impact) | | data.feesUsd | data.fees | | data.currency / data.currencyObject | currency object on each amount | | data.feeCurrency / data.feeCurrencyObject | currency hoisted into fee objects | | data.appFeeCurrencyObject | data.appFees.currency | | data.subsidizedRequest / data.subsidizedFee | data.feeSponsorship | | data.metadata (catch-all) | data.route.{quoted,actual} (sender promoted to root) | | data.price | read data.route.actual.destination.inputCurrency | | referrer (query parameter, cross-integrator) | supported as a filter. With apiKeyId (or apiKey) owned by the authenticating integrator, matches those keys plus public keyless requests; without a key filter, matches only public keyless requests. Still returned in the response body only when includeAuthenticatedData=true | | ?hash | term / depositTxHash / fillTxHash / refundTxHash | | status delayed | depositing / submitted |
[accordion] Added | Added in v3 | Notes | | - | - | | requestType | request type (Bridge, Crosschain Swap, Same-chain Swap, Send, Wrap, Unwrap, Call) | | sender (root) | promoted from data.metadata.sender | | features (root) | request feature flags (gasless_execution, fast_fill, app_fees, …) | | refundTo | refund target for deposit-address flows | | depositAddress.recoveryAddress | origin-chain address that can recover deposit-address funds if the recipient is later blocked | | data.quoteOraclePrice | oracle price snapshot at quote time (rate, observedAt, inputCurrency, outputCurrency); fixed-BPS oracle integrators only | | data.apiKeyName | display name of the API key that created the request; returned only with includeAuthenticatedData=true for the owning integrator | | data.appId | durable App identifier (app_id_<uuid>) that owned the request's API key, including after that key is revoked; returned only with includeAuthenticatedData=true for the owning integrator | | data.blockedAddresses | address(es) that failed screening on BLOCKED_WALLET failures; returned only with includeAuthenticatedData=true for the owning integrator | | data.route.actual | executed route (with rate); falls back to quoted | | data.externalMetadata | partner correlation IDs (e.g. moonpayId) | | feeSponsorship.actual.sponsorPayment | what the sponsor actually paid | | total (response, opt-in) | total count of requests matching the filters; returned only when includeTotal=true | | broad filter/sort surface | see Filtering, search & sorting |

Migration checklist

1. Switch the endpoint and headers

Point requests at GET /requests/v3 and send x-api-key (now required). Results include only requests that your integrator owns, from all of your API keys. referrer filtering is still supported — pair it with apiKeyId (owned by your integrator) to also match requests for those keys, or omit the key filter to match only public keyless requests. Set includeAuthenticatedData=true only from a trusted server context to receive authenticated fields (see the note at the end).

2. Update fee reads

Stop reading data.fees.gas / feesUsd. Read the per-component USD breakdown from data.fees.quoted / data.fees.actual, and rename the relay component to platform.

3. Repoint currency & route reads

Replace data.metadata.* reads: sender is now at the root, and currencies/rate come from data.route.{quoted,actual} (prefer actual, fall back to quoted). Read the deposited amount from route.actual.origin.inputCurrency and the received amount from route.actual.destination.outputCurrency (fall back to origin.outputCurrency for same-chain swaps). Drop currency/currencyObject string handling — read the single currency object.

4. Consolidate app fees & sponsorship

Read data.appFees.quoted / data.appFees.actual. Replace subsidizedRequest/subsidizedFee with data.feeSponsorship, and rename its relay bucket to platform.

5. Fix tx hashes, statuses & nulls

Rename inTxs[].hash / outTxs[].hash to txHash. Handle the new depositing / submitted statuses (and remove delayed). Treat failReason / refundFailReason as null rather than "N/A".

6. Adopt the new querying surface

Replace separate user/hash/id lookups with a single term search where it fits, and take advantage of the new filter/sort parameters. If you filter by apiKey, replace it with apiKeyId. Pagination is unchanged — keep passing continuation back for the next page (limit max 50).

[!TIP] Authenticated data is only returned when you pass includeAuthenticatedData=true and authenticate with an API key from the integrator that owns those requests.

This documentation is built and hosted on Mintlify, a developer documentation platform.

PreviousWebhooksNextMigrating to Currencies v2
Relay© 2026 Uneven Labs, Inc. All rights reserved.XGitHubSupport