API Docs
Nija exposes an OpenAI-compatible API. Point any OpenAI SDK at https://nija.africa/v1 with your Nija key.
Chat completions
curl https://nija.africa/v1/chat/completions -H "Authorization: Bearer $NIJA_KEY" -H "Content-Type: application/json" -d '{"model":"openai/gpt-4o-mini","messages":[{"role":"user","content":"Habari"}]}'Models
GET /v1/models lists every model with Nija pricing facets and African-language tags. Create keys under Keys; top up under Credits; control data residency under Data Sovereignty.