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

1

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
# }
2

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/5

Need 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

POST/api/v1/translate
Public

Translate 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
}
POST/api/v1/vocabulary/search
Public

Search 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
}
GET/api/v1/vocabulary/random/{count}
Public

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
}
POST/api/v1/chat
JWT Required

AI-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

CodeLanguageAs SourceAs Target
frenchFrench
sangoSango
englishEnglish
autoAuto-detect

Error Codes

StatusMeaning
200Success
400Invalid request body
401Authentication required (chat endpoint)
429Rate limit exceeded
500Server error

Ready to Build?

Start translating Sango today — the API is free and open