POST /api/vt/v1/quotes
Auth X-Hub-Key from API_HUB_KEYExecute
POST /run/stargate/api/vt/v1/quotesCache executed live on every call — a read-only POST answer is never cachedCost free · weight 0 · standard rate classSource billing freeBridge quote discovery: routes with src/dst amounts, fee breakdown, fee percent/USD, estimated duration and user steps for a source amount.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
srcChainKey | body | str | required | Source chain key (hub aliases accepted). example: arbitrum |
dstChainKey | body | str | required | Destination chain key (hub aliases accepted). example: ethereum |
srcTokenAddress | body | str | required | Source token contract address on the source chain. example: 0xaf88d065e77c8cC2239327C5EDb3A432268e5831 |
dstTokenAddress | body | str | required | Destination token contract address. example: 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 |
amount | body | str | required | Source amount in base units (integer string; USDC uses 6 decimals, so 26 USDC = "26000000"). example: 26000000 |
srcWalletAddress | body | str | optional | Source wallet address. Omit to use the documented placeholder (quotes are read-only). example: 0x0000000000000000000000000000000000000001 |
dstWalletAddress | body | str | optional | Destination wallet address (placeholder allowed). example: 0x0000000000000000000000000000000000000001 |
options | body | dict | optional | Optional quote options object: {"amountType":"EXACT_SRC_AMOUNT","feeTolerance":{"type":"PERCENT","amount":0.5},"dstNativeDropAmount":"0"}. The bridge form sends this; the server accepts the request without it. |
Response
type: object
data key: quotes
pagination: none
sample: {
"error": "null",
"quotes": "array[6]",
"rejectedQuotes": "array[0]",
"tokens": "array[4]"
}
Safe request
Reads the credential from API_HUB_KEY; it never appears in the URL.
curl -sX POST "https://openapihub.dev/run/stargate/api/vt/v1/quotes" \
-H "X-Hub-Key: $API_HUB_KEY" -H "Content-Type: application/json" \
-d '{"srcChainKey": "arbitrum", "dstChainKey": "ethereum", "srcTokenAddress": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831", "dstTokenAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", "amount": "26000000", "srcWalletAddress": "0x0000000000000000000000000000000000000001", "dstWalletAddress": "0x0000000000000000000000000000000000000001"}'