Crowdin provides RESTful API with XML or JSON over HTTP using GET or POST methods. Listed below are all the available API methods, which allows you to create projects in Crowdin, add and update files, download translations or integrate localization with your development process.
Acquiring and Using an API Key
To find your project API key you have to login to your Crowdin account. Find the project, open Project Settings page and activate API tab.
Please note that almost all API calls require the Project Identifier (ID). You can find your project identifier right above the API key.
For every API request you make, you'll need to present the API access key as the main URI parameter to be authenticated. Keep the API key in secret! It should be guarded just as your regular account password.
Here's an example and principle of API request URI forming.
Typical API call URL looks like this: https://api.crowdin.com/api/project/. First placeholder (keyword in brackets) holds project identifier. API access key is specified as a URI parameter.
Add new file to Crowdin project.
Upload latest version of your localization file to Crowdin.
Delete file from Crowdin project. All the translations will be lost without ability to restore them.
Upload existing translations to your Crowdin project.
Track overall translation and proofreading progresses of each target language. Default response format is XML.
Get the detailed translation progress for specified language.
Get Crowdin Project details.
Download ZIP file with translations. You can choose the language of translation you need or download all of them at once.
This method exports single translated files from Crowdin. Additionally, it can be applied to export XLIFF files for offline localization.
Build ZIP archive with the latest translations.
Pre-translate Crowdin project files.
Get projects list.
Create Crowdin project.
Edit Crowdin project.
Delete Crowdin project with all translations.
Add directory to Crowdin project.
Rename directory or modify its attributes. When renaming directory the path can not be changed (it means new_name parameter can not contain path, name only).
Delete Crowdin project directory. All nested files and directories will be deleted too.
Download Crowdin project glossaries as TBX file.
Upload your glossaries for Crowdin Project in TBX, CSV or XLS/XLSX file formats.
Download Crowdin project Translation Memory as TMX file.
Upload your Translation Memory for Crowdin Project in TMX file format.
Get supported languages list with Crowdin codes mapped to locale name and standardized codes.
Generate pseudotranslation files for the whole project.
Download ZIP file with pseudo translations.