Ylsoo Docs

Translation API

Integrate Ylsoo's premium translation engine into your own applications.

Authentication

All API requests require an API key. You can generate one in your Dashboard.

Pass the key as a query parameter: ?api_key=YOUR_KEY

GET

/api/translate

Translate text from one language to another.

Parameters

Name Type Required Description
api_key string Yes Your unique API key.
text string Yes The text content to translate.
target string Yes Target language code (e.g., 'es', 'fr', 'de').

Response

{
  "data": {
    "text": "Hello world",
    "translation": "Hola Mundo",
    "detectedLanguage": "en"
  },
  "meta": {
    "usage": {
      "total": 45,
      "limit": 1000,
      "remaining": 955
    }
  }
}

Rate Limits

Each user is limited to 1000 requests per month.

The API response headers include: