You can POST to /api/translate with a body containing text with the text to translate and locale with either american-to-british or british-to-american. The returned object contains the submitted text and translation with the translated text. A vocabulary list can be found here.