SDKs

Use any HTTP client.

First-party SDKs are on the roadmap. Until then, the API is plain JSON over HTTPS — drop it into any language.

JavaScript

ts
const res = await fetch("https://api.osirisos.com/v1/global-stability", {
  headers: { Authorization: `Bearer ${process.env.OSIRIS_KEY}` },
});
const data = await res.json();

Python

python
import os, requests

r = requests.get(
    "https://api.osirisos.com/v1/global-stability",
    headers={"Authorization": f"Bearer {os.environ['OSIRIS_KEY']}"},
)
print(r.json())