Get Quote

This call will generate a quote for your project depending on your needs.

GET: /tools/quote
Request params
ParametersDescription
resourcesComma (,) separated list of resource_uuid. This field is mandatory if "wordcount" not specified.
wordcountInteger, words count.
source_languageString, see the list of Language Codes.
target_languageString, see the list of Language Codes.
service(optional, default is translation)
translation | proofreading | transproof | transcription (defaults to translation)
expertise(optional) See the list of Expertise Codes.
proofreading(optional, use only if "service" isn't specified) 0 | 1
currency(optional) USD | EUR | GBP
Response params
ParametersDescription
currencyCurrency selected by user (or default).
resourcesArray of results per resource
ParameterDescription
resourceUUID of the resource in list
wordcountWord count of the resource
creditsCredits worth of the resource
pricePrice of the resource
totalArray of response params:
Parameter Description
wordcountTotal word count
creditsSum of credits to charge
net_pricePrice in selected currency, based on credits and discounts
transaction_feePrice in selected currency, based on fee from payment vendors
priceTotal price in selected currency, based on net price and transaction fee.

Request Example

curl "https://www.onehourtranslation.com/api/2/tools/quote?secret_key=<SECRET_KEY>&public_key=<PUBLIC_KEY>&resources=rsc-527116d8f07a02-60735023,rsc-527106ac63a448-25531129"

Response Example

{
 "status":
  {
   "code":0,
   "msg":"ok"
  },
  "results":
  {
   "currency":"USD",
   "resources":
    [
     {
      "wordcount":10,
      "credits":"70",
      "resource":"rsc-527116d8f07a02-60735023",
      "price":0.7
     },
     {
      "wordcount":4,
      "credits":"28",
      "resource":"rsc-527106ac63a448-25531129",
      "price":0.28
     }
    ],
    "total":
     {
      "wordcount":14,
      "credits":"98",
      "net_price":0.98,
      "transaction_fee":0.5,
      "price":1.48
     }
    },
   "errors": []
}