Skip to main content

REST Endpoints

Here's a list of all the REST API endpoints available in Loop.

REST PathREST MethodRPC
/v1/auto/suggestGETlooprpc.SuggestSwaps
/v1/daemon/stopPOSTlooprpc.StopDaemon
/v1/instantoutPOSTlooprpc.InstantOut
/v1/instantout/quotePOSTlooprpc.InstantOutQuote
/v1/instantout/reservationsGETlooprpc.ListReservations
/v1/instantout/swapsGETlooprpc.ListInstantOuts
/v1/l402/tokensGETlooprpc.GetL402Tokens
/v1/liquidity/paramsGETlooprpc.GetLiquidityParams
/v1/liquidity/paramsPOSTlooprpc.SetLiquidityParams
/v1/loop/inPOSTlooprpc.LoopIn
/v1/loop/in/probe/{amt}GETlooprpc.Probe
/v1/loop/in/quote/{amt}GETlooprpc.GetLoopInQuote
/v1/loop/in/termsGETlooprpc.GetLoopInTerms
/v1/loop/infoGETlooprpc.GetInfo
/v1/loop/outPOSTlooprpc.LoopOut
/v1/loop/out/quote/{amt}GETlooprpc.LoopOutQuote
/v1/loop/out/termsGETlooprpc.LoopOutTerms
/v1/loop/swap/{id}GETlooprpc.SwapInfo
/v1/loop/swapsGETlooprpc.ListSwaps
/v1/staticaddrPOSTlooprpc.NewStaticAddress
/v1/staticaddr/depositsGETlooprpc.ListStaticAddressDeposits
/v1/staticaddr/deposits/unspentGETlooprpc.ListUnspentDeposits
/v1/staticaddr/loopinPOSTlooprpc.StaticAddressLoopIn
/v1/staticaddr/summaryGETlooprpc.GetStaticAddressSummary
/v1/staticaddr/swapsGETlooprpc.ListStaticAddressSwaps
/v1/staticaddr/withdrawPOSTlooprpc.WithdrawDeposits
/v1/staticaddr/withdrawalsGETlooprpc.ListStaticAddressWithdrawals