API End Points

The end point for connecting : If you subscribe directly from us use this endpoint.

https://api.funtranslations.com/translate/

Ratelimiting

Our translation API is public. To maintain our service level we ratelimit the number of API calls. For public API calls this is 60 API calls a day with distribution of 5 calls an hour. For paid plans this limit is increased according to the service level described in the plan.

Authentication

For public calls you don't need to pass any API key. Just invoke the endpoint (see examples below). For paid subscriptions you need to pass the API key.

Currently we support API Key based authentication. Please set a request header 'X-FunTranslations-Api-Secret' with value of your API key. Alternatively you can also pass api_key= as a request parameter, though we strongly discourage this mode of passing the key.

Translating English text to george-bush-dubya
publicratelimited

To translate from English to george-bush-dubya use the following API.

POST /george-bush-dubya

Translate from English to george-bush-dubya.

Parameters

Parameter Name

Parameter Type

Description

text

string

Text to translate.

output
The result is a json object with the converted text.

Here is the full url to use.

https://api.funtranslations.com/translate/george-bush-dubya.json

Here is an example using your browser to convert the given text. Click on the below link to get the json response for the text.

The above call if successful will return a json response something like this.

{
"success": {
"total": 1
},
"contents": {
"translated": "We never misunderestimate the pre-emptive aggression of A nation in the axis of evil. We will change Eyeraq governmentification with a preemptive military strike. ",
"text": "We never misunderstand the unjustified aggression of Syria. We will overthrow Iraq government with diplomacy. ",
"translation": "george-bush-dubya"
}
}