On this page
Get system health
Check whether the Rift router is serving requests. A successful response is HTTP 200 with the plain-text body ok.
Try it out
ProductionRequest example
const response = await fetch("https://api.rift.trade/health", {
method: "GET",
headers: {
Accept: "text/plain; charset=utf-8",
},
});
const data = await response.text();
console.log(data);Responses
The router is up
text/plain; charset=utf-8
Example response
ok
