{"openapi":"3.1.0","info":{"title":"OpenAPI Hub API","version":"2026-09-12","description":"Registry-derived contract for 14 currently executable, read-only provider routes. Upstream availability and latency are not an SLA."},"servers":[{"url":"https://openapihub.dev"}],"paths":{"/run/rubic/total_values/":{"get":{"operationId":"rubic_get_total_values","summary":"Cumulative platform volume: instant-trade and bridge totals in USD.","tags":["rubic"],"security":[{"HubKey":[]}],"parameters":[],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"rubic","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/rubic/v2/info/status_info_v3":{"get":{"operationId":"rubic_get_v2_info_status_info_v3","summary":"Platform configuration: per-chain activity/tier flags and per-provider enablement with average/median/95th-percentile execution times (bridge and on-chain provider lists).","tags":["rubic"],"security":[{"HubKey":[]}],"parameters":[],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"rubic","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/rubic/v2/info/banners":{"get":{"operationId":"rubic_get_v2_info_banners","summary":"Promo banners the app shows (text, image URLs, target link).","tags":["rubic"],"security":[{"HubKey":[]}],"parameters":[],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"array","items":{}}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"rubic","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/rubic/v2/tokens/":{"get":{"operationId":"rubic_get_v2_tokens","summary":"Token catalog and search for one chain (paginated).","tags":["rubic"],"security":[{"HubKey":[]}],"parameters":[{"name":"network","in":"query","required":false,"schema":{"type":"string"},"description":"Chain filter. Accepts the Rubic code (ETH, BSC, ZK_SYNC, …) or any hub alias ('ethereum', 'bsc', 'binance-smart-chain', '137'); the client translates aliases to the code the app sends.","example":"ethereum"},{"name":"query","in":"query","required":false,"schema":{"type":"string"},"description":"Token search string: address, symbol or name.","example":"0x0000000000000000000000000000000000000000"},{"name":"symbol","in":"query","required":false,"schema":{"type":"string"},"description":"Exact symbol lookup on a chain.","example":"ETH"},{"name":"page","in":"query","required":false,"schema":{"type":"integer"},"description":"1-based page number for the paginated token list.","example":1},{"name":"pageSize","in":"query","required":false,"schema":{"type":"integer"},"description":"Rows per page for the token list (server default 50).","example":20}],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"rubic","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/rubic/v2/tokens/trending":{"get":{"operationId":"rubic_get_v2_tokens_trending","summary":"Trending tokens across chains as a flat list.","tags":["rubic"],"security":[{"HubKey":[]}],"parameters":[],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"array","items":{}}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"rubic","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/rubic/v2/tokens/gainers":{"get":{"operationId":"rubic_get_v2_tokens_gainers","summary":"Top 24h gainers with price and change fields.","tags":["rubic"],"security":[{"HubKey":[]}],"parameters":[],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"rubic","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/rubic/v2/tokens/losers":{"get":{"operationId":"rubic_get_v2_tokens_losers","summary":"Top 24h losers with price and change fields.","tags":["rubic"],"security":[{"HubKey":[]}],"parameters":[],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"rubic","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/rubic/v2/tokens/price/{network}/{address}":{"get":{"operationId":"rubic_get_v2_tokens_price_network_address","summary":"USD price for one token contract on one chain.","tags":["rubic"],"security":[{"HubKey":[]}],"parameters":[{"name":"network","in":"path","required":true,"schema":{"type":"string"},"description":"Lower-case network slug as the app passes it through (ethereum, binance-smart-chain, polygon, …) — this route does not take the upper-case Rubic code.","example":"ethereum"},{"name":"address","in":"path","required":true,"schema":{"type":"string"},"description":"Token contract address on that chain; EVM addresses are lowercased.","example":"0xdac17f958d2ee523a2206206994597c13d831ec7"}],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"rubic","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/rubic/v3/tmp/tokens/all":{"get":{"operationId":"rubic_get_v3_tmp_tokens_all","summary":"Top tokens per chain for a comma-separated code list (first page per chain).","tags":["rubic"],"security":[{"HubKey":[]}],"parameters":[{"name":"networks","in":"query","required":true,"schema":{"type":"string"},"description":"Comma-separated Rubic chain codes; one top-token slice per chain is returned (keyed by the code).","example":"ETH,BSC"}],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"rubic","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/rubic/v3/internal/clearswap/available-transfer-tokens":{"get":{"operationId":"rubic_get_v3_internal_clearswap_available_transfer_tokens","summary":"Tokens available for the private-transfer surface, with the per-token minimum amounts the backend enforces.","tags":["rubic"],"security":[{"HubKey":[]}],"parameters":[],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"rubic","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/rubic/sdk/routes/quoteAll":{"post":{"operationId":"rubic_post_sdk_routes_quoteall","summary":"Quote every available provider for one swap: destination amount, minimum after slippage, USD value, ETA, price impact, gas estimate, fees, provider type and routing hops.","tags":["rubic"],"security":[{"HubKey":[]}],"parameters":[],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"rubic","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"heavy"},"x-api-hub-billing-type":"free","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"srcTokenBlockchain":{"type":"string","description":"Source chain code (ETH, BSC, ARBITRUM, …); any hub alias is translated.","example":"ETH"},"dstTokenBlockchain":{"type":"string","description":"Destination chain code (ETH, BSC, ARBITRUM, …); any hub alias is translated.","example":"BSC"},"srcTokenAmount":{"type":"string","description":"Amount of the source token as a plain decimal string in token units (not wei); integer part ≤ 40 chars, decimal part ≤ 30.","example":"0.1"},"srcTokenAddress":{"type":"string","default":"0x0000000000000000000000000000000000000000","description":"Source token contract; omit or send the zero address for the chain's native token.","example":"0x0000000000000000000000000000000000000000"},"dstTokenAddress":{"type":"string","default":"0x0000000000000000000000000000000000000000","description":"Destination token contract; omit or send the zero address for the chain's native token.","example":"0x0000000000000000000000000000000000000000"},"timeout":{"type":"integer","default":30,"description":"Seconds the backend may spend aggregating bridge providers before it answers (server default 30). Small values keep cross-chain quotes fast; a call still returns as soon as every requested provider reports.","example":10},"slippage":{"type":"number","default":0.03,"description":"Slippage tolerance as a fraction (server default 0.03 = 3%).","example":"0.03"}},"additionalProperties":true,"required":["srcTokenBlockchain","dstTokenBlockchain","srcTokenAmount"]}}}}}},"/run/rubic/sdk/routes/quoteBest":{"post":{"operationId":"rubic_post_sdk_routes_quotebest","summary":"Single best route for one swap with the same fee/ETA breakdown as quoteAll.","tags":["rubic"],"security":[{"HubKey":[]}],"parameters":[],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"rubic","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"heavy"},"x-api-hub-billing-type":"free","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"srcTokenBlockchain":{"type":"string","description":"Source chain code (ETH, BSC, ARBITRUM, …); any hub alias is translated.","example":"ETH"},"dstTokenBlockchain":{"type":"string","description":"Destination chain code (ETH, BSC, ARBITRUM, …); any hub alias is translated.","example":"BSC"},"srcTokenAmount":{"type":"string","description":"Amount of the source token as a plain decimal string in token units (not wei); integer part ≤ 40 chars, decimal part ≤ 30.","example":"0.1"},"srcTokenAddress":{"type":"string","default":"0x0000000000000000000000000000000000000000","description":"Source token contract; omit or send the zero address for the chain's native token.","example":"0x0000000000000000000000000000000000000000"},"dstTokenAddress":{"type":"string","default":"0x0000000000000000000000000000000000000000","description":"Destination token contract; omit or send the zero address for the chain's native token.","example":"0x0000000000000000000000000000000000000000"},"timeout":{"type":"integer","default":30,"description":"Seconds the backend may spend aggregating bridge providers before it answers (server default 30). Small values keep cross-chain quotes fast; a call still returns as soon as every requested provider reports.","example":10},"slippage":{"type":"number","default":0.03,"description":"Slippage tolerance as a fraction (server default 0.03 = 3%).","example":"0.03"}},"additionalProperties":true,"required":["srcTokenBlockchain","dstTokenBlockchain","srcTokenAmount"]}}}}}},"/run/rubic/sdk/info/status":{"get":{"operationId":"rubic_get_sdk_info_status","summary":"Cross-chain swap status by source transaction hash.","tags":["rubic"],"security":[{"HubKey":[]}],"parameters":[{"name":"srcTxHash","in":"query","required":true,"schema":{"type":"string"},"description":"Source-chain transaction hash of the cross-chain swap.","example":"0x0000000000000000000000000000000000000000000000000000000000000123"}],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"rubic","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/rubic/sdk/info/statusExtended":{"get":{"operationId":"rubic_get_sdk_info_statusextended","summary":"Extended cross-chain swap status by Rubic trade id, including the destination amount once the trade settles.","tags":["rubic"],"security":[{"HubKey":[]}],"parameters":[{"name":"rubicId","in":"query","required":true,"schema":{"type":"string"},"description":"Rubic trade id returned by a quote (route `id`).","example":"00000000-0000-4000-8000-000000000000"},{"name":"srcTxHash","in":"query","required":false,"schema":{"type":"string"},"description":"Optional source transaction hash to disambiguate the trade.","example":"0x0000000000000000000000000000000000000000000000000000000000000123"}],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"rubic","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}}},"components":{"securitySchemes":{"HubKey":{"type":"apiKey","in":"header","name":"X-Hub-Key","description":"Load from API_HUB_KEY; never place a key in a URL."}},"schemas":{"ExecutionEnvelope":{"type":"object","required":["source","path","status","data","cached","latency_ms"],"properties":{"source":{"type":"string"},"path":{"type":"string"},"params":{"type":"object","additionalProperties":true},"status":{"type":"integer"},"data":{},"cached":{"type":"boolean"},"ttl":{"type":"number"},"age_s":{"type":"number"},"latency_ms":{"type":"number"},"error":{"type":"string"}},"additionalProperties":true},"HubError":{"type":"object","required":["error"],"properties":{"error":{"type":"string"},"hint":{"type":"string"},"reason":{"type":"string","enum":["rate","client_concurrency","shared_concurrency","client_state_capacity"]},"retry_after_s":{"type":"integer","minimum":1},"source":{"type":"string"},"path":{"type":"string"},"method":{"type":"string"},"status":{"type":"integer"},"data":{},"cached":{"type":"boolean"},"latency_ms":{"type":"number"}},"additionalProperties":true}}},"tags":[{"name":"rubic","description":"Rubic cross-chain swap aggregator: route quotes with fees, ETA and price impact, provider status, token catalogs and prices, trending tokens and transaction status."}]}