Faraatarjomeh API
HTTP API for Faraatarjomeh (فراترجمه): English→Persian document translation and related tools (video, meeting minutes, podcasts and audiobooks, Persian text-to-speech, transcription). Every feature of the website is available with an API key. Work is paid in Fara from the key owner's account.
At a glance#
- Every capability in one list: Everything the API can do
- Base URL:
https://faraatarjomeh.com - All endpoints: under
/api/v1 - Auth:
Authorization: Bearer fara_sk_...(secret key, server-to-server only) — Authentication - Formats: JSON requests and responses;
multipart/form-datafor file uploads (or rawapplication/octet-streamchunks for chunked uploads); errors areapplication/problem+json(RFC 9457) - Money: prices and charges are in Fara; check the balance with
GET /api/v1/account— Billing - Long work is asynchronous: create a job, then poll it or receive a webhook — Conventions, Webhooks
- Safe retries: send
Idempotency-Keyon every POST that spends Fara - Machine-readable contract: OpenAPI 3.1 · error catalog (JSON) · llms.txt · all docs in one file
- Every page of these docs is also plain Markdown: add
.mdto its URL, or sendAccept: text/markdown.
The universal flow#
Every paid feature follows the same four steps:
- Price. Ask for the price before spending (an analysis, an estimate, or a pricing endpoint). Compare it with the balance from
GET /api/v1/account. - Create. Send the POST that starts the work, with an
Idempotency-Key. Fara is held for the job.402with codeINSUFFICIENT_CREDITSmeans the balance is too low. - Wait. Poll the job, or receive a webhook when its status changes. Some jobs stop at a review status and wait for you to approve.
- Collect. Download the result. The hold becomes the real charge; unused Fara comes back. Failed or cancelled jobs cost nothing.
Which page for which task#
| Task | Guide | First call |
|---|---|---|
| Try the API end to end in 5 minutes | Quickstart | GET /api/v1/account |
| Translate a PDF (English → Persian) | PDF translation | POST /api/v1/translate/analyze |
| Summary, slides, mind map, LinkedIn posts, proofreading of a translated PDF | Translation tools | GET /api/v1/translate/{jobId}/summary |
| Translate or dub a YouTube video or a video file | Video | POST /api/v1/video/jobs/estimate |
| Minutes from a meeting recording | Meeting minutes | GET /api/v1/meetings/pricing |
| Timed minutes, chapters, speaker names, context, revising by instruction, more documents, branding, categories, highlights, questions, analytics, delete (early access) | Meetings: early-access features | GET /api/v1/meetings/templates |
| Podcast or audiobook from a translated PDF | Podcast and audiobook | GET /api/v1/audio/pricing |
| Website or app text (i18n JSON, Markdown, HTML) in natural Persian, same structure | Website and app copy | POST /api/v1/content/translate with dryRun: true |
| Persian text written again in natural, native Persian (not a translation) | Persian editing | POST /api/v1/content/edit with dryRun: true |
| Persian speech from text | Persian text-to-speech | GET /api/v1/farsi-tts/pricing |
| Text or subtitles from a recording | Transcription | GET /api/v1/transcription/pricing |
| Send a large recording (up to 1 GB) in chunks, for a meeting, transcription or video job | Chunked uploads | POST /api/v1/uploads |
| Get told when jobs finish | Webhooks | POST /api/v1/webhook-endpoints |
| You are an AI agent acting for a user | Rules for AI agents | GET /api/v1/account |
| Look up one endpoint | API reference | — |
| Decide what to do with an error | Errors | — |
What you cannot do with an API key#
These stay on the website, for the account owner: sign in, change password or profile, buy Fara, and create or revoke API keys. A key that calls them gets 403 with code API_KEY_ROUTE_NOT_ALLOWED. A key never has admin rights.
Support#
Every response has an X-Correlation-Id header; error bodies repeat it as request_id. You may send your own id in an X-Request-Id request header and it is used instead. Include it when you contact support through https://faraatarjomeh.com/contact.