Price a document (free)
quote_documentPrice a document in credits without translating or charging anything, and compare with the account balance.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tier | No | fast (default) or advanced (most accurate, more credits). | |
| output | No | formatted (default): layout preserved; native formats retain their type, images return PNG, converted formats return DOCX. text: translated text only, usually cheaper. | |
| file_url | No | Public https URL of the document. Provide this or file_base64. | |
| filename | No | File name with extension, e.g. contract.pdf. Required with file_base64; optional with file_url. | |
| file_base64 | No | The document's bytes, base64-encoded. Requires filename. | |
| source_language | No | Source language name or code. Omit to detect it. | |
| target_language | Yes | Language name (e.g. "Spanish", "Ancient Greek") or code from list_languages (e.g. "spa_Latn"). |