Swahili & Sheng NLP, as a service

Your API's
rafiki for the street.

Sentiment, translation, and moderation that actually understands "poa," "noma," and everything in between. Built for East African products, one request at a time.

DEPARTURES — RAFIKI /v1 LIVE DEMO
SENTIMENT MODERATION LANGUAGE
What's under the hood

Three routes. One rafiki.

Every endpoint is tuned for real Nairobi text — code-switched, slang-heavy, typed fast on a phone keyboard. Not textbook Swahili.

Sentiment

Positive, negative, or neutral — with confidence scoring that knows "noma poa" isn't a contradiction.

POST /v1/sentiment

Translate

Swahili ↔ English with automatic language detection built in — no source flag required.

POST /v1/translate

Moderate

Flags profanity, hate speech, threats, and explicit content — by category, with severity.

POST /v1/moderate
No signup required

Run it right here.

This calls the same lexicon engine that powers the live API — client-side, instant, no key needed to try it.

StatusWaiting for input…
Fare stages

Pay for what you send.

Every plan includes all three endpoints. Upgrade instantly via M-Pesa — no waiting for approval.

Free
KES 0
  • 100 requests/day
  • All endpoints
  • Community support
Basic
1,500 /mo
  • 5,000 requests/day
  • All endpoints
  • Email support
Enterprise
Custom
  • 1M+ requests/day
  • Dedicated support
  • Custom lexicon tuning
Get moving

Three lines to your first call.

curl — sentiment
# get a free key at /v1/clients/signup, then: curl -X POST https://rafiki.denniscreatives.com/v1/sentiment \ -H "X-API-Key: rafiki_live_xxx" \ -H "Content-Type: application/json" \ -d '{"text": "niko poa sana leo"}'

Ready to ride?

Grab a free API key and start sending requests in under a minute.

By signing up you agree to the Terms of Use, Privacy Policy & Billing terms.