GET /limits
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/across/limitsCache cached 15s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeCurrent deposit limits and relayer/gas/capital fee detail for one origin→destination token route.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
inputToken | query | str | required | Origin-chain token contract address. example: 0xaf88d065e77c8cC2239327C5EDb3A432268e5831 |
outputToken | query | str | required | Destination-chain token contract address. example: 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 |
originChainId | query | str | required | Origin chain id (hub aliases accepted). example: arbitrum |
destinationChainId | query | str | required | Destination chain id (hub aliases accepted). example: base |
amount | query | str | optional | Optional amount in token base units. example: 100000000 |
recipient | query | str | optional | Optional recipient used for fill simulation. |
relayer | query | str | optional | Optional relayer override for the fill simulation. |
allowUnmatchedDecimals | query | bool | optional | Allow routes whose tokens have different decimals. |
Response
type: object
pagination: none
sample: {
"minDeposit": "str",
"maxDeposit": "str",
"maxDepositInstant": "str",
"maxDepositShortDelay": "str",
"recommendedDepositInstant": "str",
"relayerFeeDetails": "object",
"gasFeeDetails": "object",
"reserves": "object"
}
Safe request
Reads the credential from API_HUB_KEY; it never appears in the URL.
curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/across/limits?inputToken=0xaf88d065e77c8cC2239327C5EDb3A432268e5831&outputToken=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913&originChainId=arbitrum&destinationChainId=base&amount=100000000"