English-Persian machine translation API

Using our API you can have close-to-human translations at an speed that no team of humans can provide. Not only it's faster, but it's also much cheaper.

Get started in less than 5 minutes

You're just a couple of minutes away from tranlating thousands of sentences in any programming language. All you need to do is sign up, create an API key and start translating.


require "net/http"
require "uri"

api_key = 'ed98dc01d5fabcdf1a1f55183d14d24dc0098452f5201b1a1035f5621d615ab0'

uri = URI.parse("https://faai.ir/api/translate")
http = Net::HTTP.new(uri.host, uri.port)

request = Net::HTTP::Post.new(uri.request_uri)
request["Content-Type"] = 'application/json'
request["X-API-KEY"] = api_key
request.body = '{
  "text": "Be alone, that is the secret of invention; be alone, that is when ideas are born."
}'

response = http.request(request)
puts response.body
# {
#     "translation": "تنها باشید ، این راز اختراع است. تنها ، یعنی زمانی که ایده ها متولد می شوند.",
#     "balance": 553094
# }

Pricing

Free

Quota: 2,000


No Time Limit

Starter

Quota: 10,000


No Time Limit

Basic

Quota: 100,000


No Time Limit

Plus

Quota: 500,000


No Time Limit

Premium

Quota: 1,000,000


No Time Limit

  • First register and by default you'll get the free plan. After that from inside your management panel, you can purchase other plans.
  • Quota is the number of characters that you can translate.
  • Before purchasing any plans, make sure that the quality of the translations meet your requirements.