## 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.
| Date | What changes | |
|---|---|---|
| Jul 22, 2026 | v2 is deprecated; v3 is the recommended version. v2 keeps working. | |
| Sep 1, 2026 onward | v2's rate limit is progressively reduced each month; requests over the limit receive 429. | |
| Nov 24, 2026 | v2 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", andrel="successor-version"pointing to this guide and toGET /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 keyfeesis reused for a different shape. In v2,data.feeswas raw wei (gas/fixed/price/gateway). In v3 that object is removed, anddata.feesnow holds the per-component USD breakdown that v2 calledexpandedPriceImpact. Code readingdata.fees.gaswill break — readdata.fees.quoted/data.fees.actualinstead.
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 ++]Thex-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] > >termis 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 separateuser/hash/idlookups and merging the results. Sorting.sortByacceptscreatedAt(default),updatedAt, oramountUsd.sortDirectionisascordesc(defaults todescfor time fields,ascforamountUsd). Advanced filtering (AND / OR / negation / null-checks). Thefiltersparameter 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 anot:prefix, a field's value may be an array (OR within that field), and a value ofnullis 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 andfeaturesare top-level only. Null-checks work on any recognisedfilterskey, including the compositeuserfield and the case-insensitivecurrencyInSymbol/currencyOutSymbolfields.nullcannot be combined with real values in an array for the same key — that returns400. **API key filtering.** To limit results to specific API keys, use the top-levelapiKeyIdparameter with a maximum of 50 comma-separated IDs that your integrator owns. Each entry may be a bare UUID or the prefixed formkey_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 theapiKeyfilter, 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-levelappIdquery parameter to narrow results to one or more Apps you own, with up to **50** comma-separatedapp_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 return403; malformed IDs, empty entries, or more than 50 values return400; transient resolution failures return500rather than silently dropping the filter.appIdcannot appear inside afiltersgroup — it is top-level only. It is ANDed with anyapiKeyId/apiKeyfilter, so it narrows the result set rather than expanding access. Matching uses the indexed App attribution written at request time, so anappIdfilter 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 anyappIdfilter and are omitted fromappId-filtered results until the attribution is populated for them. They remain visible under the existing visibility rules when queried without anappIdfilter. **Referrer filtering.** Thereferrerfilter — as a top-level query parameter or as areferrer/not:referrerkey inside anyfiltersgroup — matches the exact value supplied at quote time. Emptyreferrervalues are rejected. * **WithapiKeyId(orapiKey)**: 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) return403. * **WithoutapiKeyId/apiKey**: results include only matching public keyless requests, regardless of age. No pairing is required and no400is returned for an unpaired referrer filter. Scope insidefiltersgroups: * A **top-level**referrerapplies the referrer scope (selected keys + public keyless, or public keyless only) to every OR branch. * Without a top-levelreferrer, areferrer/not:referrerkey 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.** *hashis removed; useterm, or the targeteddepositTxHash/fillTxHash/refundTxHash. **Total match count.** PassincludeTotal=trueto receive the exact total count of matching requests astotalon the response (independent oflimitandcontinuation). Omit it — or setincludeTotal=false— when you only need the current page; computing the total adds meaningful query latency, so it is opt-in. **Pending request opt-in.** PassincludePendingRequests=trueto include pending requests permitted by your access scope. When omitted — or set tofalse— the response is limited to terminal requests (success,failure,refund), and the opt-intotalcount 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 ofincludeAuthenticatedData— it does not enable authenticated fields and does not widen access permissions. Opt-in responses are returned withcache-control: private, no-store`, so clients and shared caches do not retain pending-state snapshots.
Response fields
[accordion] Currencies — unified to a single object Thecurrency(string) +currencyObject(object) duality is removed everywhere, along withfeeCurrency/feeCurrencyObjectandappFeeCurrencyObject. Every currency is a single object:{ chainId, address, symbol, name, decimals, metadata }. Amount objects carry that currency plusamount,amountFormatted,amountUsd, and where relevantamountUsdCurrent,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 → platformdata.expandedPriceImpactis renamed to `data.fees` (and the old weidata.fees/data.feesUsdare removed). Each phase (quoted,actual) breaks fees intoswap,execution,platform,app, andsponsored, with the shared currency hoisted todata.fees.currency. Therelaycomponent is renamed to `platform`, and per-component values now includeamountandamountFormattedin addition tousd. ``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 truthdata.subsidizedRequestanddata.subsidizedFeeare removed.data.feeSponsorshipis now the only sponsorship source — determine whether a request was sponsored fromfeeSponsorship.{quoted,actual}.sponsoredTotal.amountUsd. Therelaybucket is renamed to `platform`, the sharedcurrencyis hoisted tofeeSponsorship.currency, and theactualphase gains asponsorPaymentobject. ``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 parallelappFees(quoted) andpaidAppFees(actual) arrays are consolidated into one object with explicitquoted/actualkeys and a hoistedcurrency. ``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 Thedata.metadatacatch-all is removed.senderis promoted to the root (next torecipient), 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. Carriesrate, andactualfalls back toquotedwhen there's no execution data yet (e.g. same-chain swaps). Each phase hasoriginanddestinationsides, and each side hasinputCurrency/outputCurrency(each a full amount object) plusrouter(on theactualroute,routerreflects the provider that actually filled the leg, not always"relay").includedSwapSources/includedOriginSwapSources/includedDestinationSwapSourcesare hoisted to the top ofdata.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 toorigin.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 InsideinTxs[]andoutTxs[], thehashfield is renamed totxHash. 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 responsestatusenum is nowpending,waiting,depositing,submitted,success,failure,refund.depositingandsubmittedare new; the v2delayedvalue is gone. Thestatusfilter acceptssuccess,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 *moonpayIdmoves from the root to `data.externalMetadata.moonpayId`. *senderis promoted to the root (next torecipient); it previously lived indata.metadata.sender. *referrermoves into `data.referrer` and is returned only when `includeAuthenticatedData=true`. It remains a supported query filter (see Filtering, search & sorting); when paired withapiKeyId(orapiKey), the IDs must belong to the authenticating integrator, and results include matching requests for those keys plus matching public keyless requests. WithoutapiKeyId/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 }.recoveryAddressis the origin-chain address that can recover deposit-address funds if the recipient wallet is later blocked (nullwhen not set). * `supersededByRequestId` is promoted to the root; it previously lived atdata.supersededByRequestIdin v2. When a deposit-address request is regenerated (currently Bitcoin/BVM only), the original request'ssupersededByRequestIdpoints to the most recent regeneratedrequestIdthat owns the sweep and fill.nullotherwise, including on regenerations from every other chain — track those bydepositAddress(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;nullotherwise. * `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 asdata.referreranddata.platformFee);nullwhen 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 asdata.referrer,data.platformFee,data.apiKeyName, anddata.blockedAddresses).nullfor 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 aBLOCKED_WALLETfailure. Returned only when `includeAuthenticatedData=true` and the caller authenticates as the request's owning integrator (same gate asdata.referrer,data.platformFee, anddata.apiKeyName);nullon non-BLOCKED_WALLETfailures and when no addresses were recorded. Screening-provider scores and reasons are never returned. *data.priceis removed — read the quoted output amount fromdata.route.actual.destination.inputCurrency(distinct from the actual received amount indata.route.actual.destination.outputCurrency). *failReason/refundFailReasonuse `null` instead of the string"N/A".
Field migration reference
[accordion] Renamed & restructured | v2 | v3 | | - | - | |data.expandedPriceImpact|data.fees(componentrelay→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) |depositAddressobject{address,type,depositor,depositTxHash}| |data.supersededByRequestId|supersededByRequestId(root) |
[accordion] Removed | Removed in v3 | Replacement | | - | - | |data.fees(weigas/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}(senderpromoted to root) | |data.price| readdata.route.actual.destination.inputCurrency| |referrer(query parameter, cross-integrator) | supported as a filter. WithapiKeyId(orapiKey) 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 whenincludeAuthenticatedData=true| |?hash|term/depositTxHash/fillTxHash/refundTxHash| | statusdelayed|depositing/submitted|
[accordion] Added | Added in v3 | Notes | | - | - | |requestType| request type (Bridge,Crosschain Swap,Same-chain Swap,Send,Wrap,Unwrap,Call) | |sender(root) | promoted fromdata.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 withincludeAuthenticatedData=truefor 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 withincludeAuthenticatedData=truefor the owning integrator | |data.blockedAddresses| address(es) that failed screening onBLOCKED_WALLETfailures; returned only withincludeAuthenticatedData=truefor the owning integrator | |data.route.actual| executed route (withrate); falls back toquoted| |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 whenincludeTotal=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.