SangoAI API
AI-powered Sango language translation and vocabulary API
Translation & Vocabulary endpoints are free — no API key required
No Auth Required
Translation and vocabulary endpoints work without authentication
Fast & Reliable
Sub-2s response times powered by advanced AI on reliable cloud infrastructure
3 Languages
French, English, and Sango with auto-detection support
289+ Words
Verified vocabulary database with pronunciation guides
Quick Start
Translate Text
The translation API is publicly accessible — no authentication needed. Supports French, English, and Sango in all directions.
# Translate French → Sango (no auth required for guest access)
curl -X POST https://i1k81hiprg.execute-api.us-east-1.amazonaws.com/prod/api/v1/translate \
-H "Content-Type: application/json" \
-d '{
"text": "Bonjour, comment allez-vous?",
"source_language": "french",
"target_language": "sango"
}'
# Response:
# {
# "translated_text": "Bara âla, tongana nye?",
# "source_language": "french",
# "target_language": "sango",
# "word_count": 3,
# "confidence": 0.95
# }Search Vocabulary
Access 289+ verified Sango words with pronunciation guides, categories, and example sentences.
# Search vocabulary
curl -X POST https://i1k81hiprg.execute-api.us-east-1.amazonaws.com/prod/api/v1/vocabulary/search \
-H "Content-Type: application/json" \
-d '{"query": "hello", "limit": 5, "status": "verified"}'
# Get 5 random words
curl https://i1k81hiprg.execute-api.us-east-1.amazonaws.com/prod/api/v1/vocabulary/random/5Need AI chat access? The /api/v1/chat endpoint requires authentication (JWT token). Contact contact@sangoai.sbs for API key access.
API Endpoints
Base URL: https://i1k81hiprg.execute-api.us-east-1.amazonaws.com/prod
/api/v1/translateTranslate text between French, English, and Sango. Supports auto-detection of source language.
Request Body:
{
"text": "Bonjour, comment allez-vous?",
"source_language": "french",
"target_language": "sango"
}Response:
{
"translated_text": "Bara âla, tongana nye?",
"source_language": "french",
"target_language": "sango",
"word_count": 3,
"confidence": 0.95
}/api/v1/vocabulary/searchSearch the Sango vocabulary database (289+ verified words). Filter by query text and verification status.
Request Body:
{
"query": "hello",
"limit": 5,
"status": "verified"
}Response:
{
"words": [
{
"word_id": "gree-903",
"sango": "bala ala",
"french": "bonjour",
"english": "hello",
"category": "greetings",
"difficulty": "beginner",
"pronunciation_guide": "Ba-la ala"
}
],
"count": 1,
"total_available": 289
}/api/v1/vocabulary/random/{count}Get random verified vocabulary words. Useful for quiz games, flashcards, and language practice.
Response:
{
"words": [
{
"word_id": "colo-951",
"sango": "sango ya nzöngo",
"french": "jaune",
"english": "yellow",
"category": "colors",
"difficulty": "beginner"
}
],
"count": 1
}/api/v1/chatAI-powered Sango language assistant. Requires authentication (JWT token).
Request Body:
{
"message": "How do you say goodbye in Sango?",
"mode": "learning"
}Response:
{
"response": "In Sango, goodbye is 'Balao' — used when leaving someone.",
"session_id": "session-abc123",
"timestamp": 1740400000000
}Supported Languages
Language Codes
| Code | Language | As Source | As Target |
|---|---|---|---|
french | French | ||
sango | Sango | ||
english | English | ||
auto | Auto-detect | — |
Error Codes
| Status | Meaning |
|---|---|
200 | Success |
400 | Invalid request body |
401 | Authentication required (chat endpoint) |
429 | Rate limit exceeded |
500 | Server error |