by microsoft
America
ai
translation
Translate text between 100+ languages
Azure Translator is a cloud-based machine translation service that's part of the Azure Cognitive Services family. It enables developers to add multi-language user experiences to their applications, websites, tools, and solutions.
The API is RESTful and can be easily integrated with any application using simple HTTP requests:
const axios = require("axios");
async function translateText() {
const endpoint = "https://api.cognitive.microsofttranslator.com/translate";
const subscriptionKey = "YOUR_SUBSCRIPTION_KEY";
const response = await axios({
baseURL: endpoint,
url: "/v3.0/translate",
method: "post",
headers: {
"Ocp-Apim-Subscription-Key": subscriptionKey,
"Ocp-Apim-Subscription-Region": "YOUR_REGION",
"Content-type": "application/json",
},
params: {
"api-version": "3.0",
from: "en",
to: ["es", "fr", "ja"],
},
data: [
{
text: "Hello, world!",
},
],
responseType: "json",
});
return response.data;
}
Azure Translator offers a tiered pricing model starting at $10 per million characters, with volume discounts available for higher usage. A free tier with 2 million characters per month is available for testing and small-scale applications.
For more detailed pricing information, visit the Azure Pricing Page.
America markdown data
Our team is here to assist you in choosing the right API provider for your needs.
Ahmedabad
B-714, K P Epitome, near Dav International School, Makarba, Ahmedabad, Gujarat 380015
+91 99747 29554
Mumbai
C-20, G Block, WeWork, Enam Sambhav, Bandra-Kurla Complex, Mumbai, Maharashtra 400051
+91 99747 29554
Stockholm
Bäverbäcksgränd 10 12462 Bandhagen, Stockholm, Sweden.
+46 72789 9039