Compare every rail for a lane (query form)
Quotes every rail that can serve a lane (aggregators + Allbridge + Chainflip) in parallel, ranks by net destination output and flags the best. Read-only, nothing signed. Adds effectiveFeePct, qualityScore, guard and a 12s cached flag. Rate limit 30/min.
Includes Robyn's OWN float lane as a ranked candidate, not just third-party bridges. The lane is quoted from inventory Robyn already holds on the destination chain, so it needs no external API and still answers when every aggregator is rate-limited or down. The firstParty block states the first-party price against the best third-party price for that exact request, so the independence claim is checkable per call. Pass excludeRails: ["floatlane"] to compare only third-party rails (used internally when moving Robyn's own inventory, which the lane cannot do).
Request
- Base URL: https://api.anygas.xyz/svc
- URL: https://api.anygas.xyz/svc/api/route/compare
- Auth: none declared
Query parameters
Response
Ranked rails
Example response
{
"best": "allbridge",
"comparedRails": 2,
"railsAttempted": 2
}Changes
No recorded changes to this operation across all 1 revision of this API.