Health check
Whether the service is up.
No key required and not rate limited. Good for your own monitoring.
Public, no key needed
Parameters
No parameters.
Try it
Paste your API key (a regular key or a trial key from the dashboard) to call the real API; the key stays in your browser.
Response
Errors
—
curl "https://api.tokenearly.com/v1/health"import requests
resp = requests.get("https://api.tokenearly.com/v1/health", timeout=10)
resp.raise_for_status()
print(resp.json())// Node 18+ (built-in fetch)
async function main() {
const resp = await fetch("https://api.tokenearly.com/v1/health");
console.log(await resp.json());
}
main().catch((err) => {
console.error(err);
process.exit(1);
});package main
import (
"fmt"
"io"
"net/http"
)
func main() {
req, _ := http.NewRequest("GET", "https://api.tokenearly.com/v1/health", nil)
resp, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(resp.Status, string(body))
}Example response
{
"status": "ok",
"spec_version": "1.0"
}