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 free

Current deposit limits and relayer/gas/capital fee detail for one origin→destination token route.

Parameters

nameintypedescription
inputTokenquerystrrequiredOrigin-chain token contract address.
example: 0xaf88d065e77c8cC2239327C5EDb3A432268e5831
outputTokenquerystrrequiredDestination-chain token contract address.
example: 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
originChainIdquerystrrequiredOrigin chain id (hub aliases accepted).
example: arbitrum
destinationChainIdquerystrrequiredDestination chain id (hub aliases accepted).
example: base
amountquerystroptionalOptional amount in token base units.
example: 100000000
recipientquerystroptionalOptional recipient used for fill simulation.
relayerquerystroptionalOptional relayer override for the fill simulation.
allowUnmatchedDecimalsquerybooloptionalAllow 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"