MyMemory: API technical specifications
Quick start with our REST API!
Our REST API has been designed to be as easy as possible to implement. It is similar to the Google Translate API, extended with MyMemory specific parameters and lets you search and contribute to MyMemory archives.
Get
Free, anonymous usage is limited to 100 requests/day.
Provide a valid email ('de' parameter), where we can reach you in case of troubles, and enjoy 1000 requests/day.
If you are interested in even larger volumes, please contact us.
Call example:
http://api.mymemory.translated.net/get?q=Hello World!&langpair=en|it
Parameter description:
| Parameter | Description | Type | Example value |
| q | The sentence you want to translate. Max 500 bytes |
Mandatory | Hello World! |
| langpair | Source and language pair, separated by the | symbol. Use ISO standard names or RFC3066 | Mandatory | en|it |
| of | Output format | Optional | json (default), tmx, serialized php array |
| mt | Enable Machine Translation in results. You can turn it off if you want just human segments |
Optional | 1 (default), 0 |
| user | Authenticate to search among your private translation memories too | Optional, but key has to be provided in conjunction | |
| key | Password used for authentication. Tied to user parameter. Get your key here |
Mandatory only if parameter user has been specified | |
| ip | The IP of the end user generating the request. Recommended for CAT tools and high volume usage | Optional | 93.81.217.71 |
| de | A valid email where we can reach you in case of troubles. Recommended for CAT tools and high volume usage | Optional | info@translated.net |
Set
Call example:
http://api.mymemory.translated.net/set?seg=Hello World!&tra=Ciao mondo!&langpair=en|it
Parameter description:
| Parameter | Description | Type | Example value |
| seg | The sentence you want to add in source language | Mandatory | Hello World |
| tra | The sentence you want to add in target language | Mandatory | Ciao Mondo |
| langpair | Source and language pair, separated by the | symbol. Use ISO standard names or RFC3066 | Mandatory | en|it |
| de | A valid email where we can reach you in case of troubles. Recommended for CAT tools and high volume usage | Optional | info@translated.net |
Note: We also have an API for on-demand human translation services.