# Faraatarjomeh API > HTTP API for English→Persian document translation and related tools (video, meeting minutes, podcasts and audiobooks, Persian text-to-speech, transcription). Authenticate with `Authorization: Bearer fara_sk_...`; paid calls spend Fara from the key owner's account. Key rules: get the price before any paid call and stay inside the budget the user approved; send an `Idempotency-Key` on every POST that spends Fara and reuse it on retries; errors are `application/problem+json` — branch on `code` using the error catalog; long jobs are asynchronous — poll no faster than every 5 s per job, or use webhooks. ## Start here - [Faraatarjomeh API](https://faraatarjomeh.com/api/v1/docs/index.md): 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. - [Everything the API can do](https://faraatarjomeh.com/api/v1/docs/capabilities.md): One list of every capability of the Faraatarjomeh API, by product, with what is free, what is paid, and what needs early access. Each line links to the guide with the full contract. Use it to plan an integration or to check whether a feature exists before building it yourself. - [Rules for AI agents](https://faraatarjomeh.com/api/v1/docs/agents.md): Instructions for an AI agent (or any automated client) that calls this API for a user. Every paid call spends the user's real money (Fara). Follow these rules exactly. - [Quickstart: translate your first PDF](https://faraatarjomeh.com/api/v1/docs/quickstart.md): Translate one English PDF into Persian from your own server. The sequence is: `GET /api/v1/account` (balance) → `POST /api/v1/translate/analyze` (price, free) → `POST /api/v1/translate/start/{jobId}` (spends Fara) → `GET /api/v1/translate/status/{jobId}` until done (or a webhook) → `GET /api/v1/translate/download/{jobId}/{type}`. ## Core concepts - [Authentication](https://faraatarjomeh.com/api/v1/docs/authentication.md): Send a secret API key in the `Authorization` header of every request: `Authorization: Bearer fara_sk_...`. Keys are created on the website and act as their owner, with the `read` and/or `write` scope. - [Billing and Fara](https://faraatarjomeh.com/api/v1/docs/billing.md): All paid work is charged in Fara from the API key owner's account, exactly like on the website. Get the price first, check `GET /api/v1/account`, then create the job. Fara is held when the job starts, the real cost is charged when it finishes, and unused or failed amounts come back. - [Conventions](https://faraatarjomeh.com/api/v1/docs/conventions.md): Rules that hold for every endpoint: URLs and versions, request and response formats, asynchronous jobs, idempotency, errors, rate limits, pagination, downloads, review steps, and discovery. Read this once before any guide. - [Webhooks](https://faraatarjomeh.com/api/v1/docs/webhooks.md): Register an https URL and receive a signed POST when a job's status changes (finished, failed, cancelled, waiting for review). Signatures follow the Standard Webhooks spec. Answer `2xx` quickly; failed deliveries are retried for about 3 days. ## Guides - [PDF translation](https://faraatarjomeh.com/api/v1/docs/guides/pdf-translation.md): Translate an English PDF into a Persian PDF and DOCX. Sequence: `POST /api/v1/translate/analyze` (free; returns `jobId` and prices) → `POST /api/v1/translate/start/{jobId}` (spends Fara; `202`) → wait for a `translation.*` webhook or poll `GET /api/v1/translate/status/{jobId}` → `GET /api/v1/translate/download/{jobId}/{type}`. - [Translation tools](https://faraatarjomeh.com/api/v1/docs/guides/translation-tools.md): Make extra content from a finished translation: a Persian summary (free), slides (PPTX and PDF), a mind map, LinkedIn posts, and proofreading suggestions. Each tool is a synchronous call on the translation's `jobId`, for example `POST /api/v1/translate/{jobId}/slides`: POST makes and saves a result (paid tools charge Fara), GET on the same path reads the saved result for free, DELETE removes it. The summary is free and already made. - [Translate a video](https://faraatarjomeh.com/api/v1/docs/guides/video.md): Turn a YouTube video or your own video file into a Persian video: Persian subtitles, a Persian voice, or both. Sequence: for a file, first `POST /api/v1/uploads` with `purpose: "video"` and send its chunks ([Chunked uploads](/api/v1/docs/guides/chunked-uploads)) → `POST /api/v1/video/jobs/estimate` (free price) → `GET /api/v1/video/voices` → `POST /api/v1/video/jobs` (holds Fara) → poll `GET /api/v1/video/jobs/{id}` → optional review (`PATCH /api/v1/video/jobs/{id}/segments/{segmentId}`, `POST /api/v1/video/jobs/{id}/approve`) → `GET /api/v1/video/jobs/{id}/download`. - [Meeting minutes from a recording](https://faraatarjomeh.com/api/v1/docs/guides/meeting-minutes.md): Upload a meeting recording and get structured minutes (summary, topics, decisions, action items) as JSON and as a PDF, optionally with your company logo. Sequence: `GET /api/v1/meetings/pricing` → `POST /api/v1/meetings/jobs` (multipart, holds Fara) → poll `GET /api/v1/meetings/jobs/{id}` → `GET /api/v1/meetings/jobs/{id}/json` and `GET /api/v1/meetings/jobs/{id}/pdf`. - [Meetings: early-access features](https://faraatarjomeh.com/api/v1/docs/guides/meeting-extras.md): Extra meeting features, on for accounts in early access (`meetings_api_v2`): timed minutes, chapters, the transcript as JSON/SRT/VTT, speaker names, upload by URL, your own `externalId`, a word list and participants at upload, the meeting's chat/notes/events as context, revising the minutes by instruction with undo, a Word file, more documents from a finished meeting, a mind map for any meeting, company branding, meeting categories and tags, permanent delete and auto-delete, a price estimate, and paid tools (highlights, ask, recap email, analytics, minutes rebuild, multi-meeting digest). Other accounts get `403 FEATURE_NOT_ENABLED`. - [Podcast and audiobook from a translation](https://faraatarjomeh.com/api/v1/docs/guides/podcast-audiobook.md): Make a Persian podcast (two voices talking about the book) or a Persian audiobook (one narrator) from a finished PDF translation. Sequence: `GET /api/v1/audio/pricing` → `POST /api/v1/audio/jobs` (holds Fara) → poll `GET /api/v1/audio/jobs/{id}` until `awaiting_review` → optional `PATCH /api/v1/audio/jobs/{id}/segments/{segmentId}` → `POST /api/v1/audio/jobs/{id}/approve` → poll until `completed` → `GET /api/v1/audio/jobs/{id}/download`. - [Website and app copy](https://faraatarjomeh.com/api/v1/docs/guides/content-translation.md): Send the English text of a website or app (an i18n JSON file, Markdown pages, HTML, or a list of strings) and get the same file back in natural Persian: the same keys, placeholders, tags, links and code, with Persian text that reads as if it was written in Persian. Sequence: `POST /api/v1/content/translate` with `dryRun: true` (the price) → `POST /api/v1/content/translate` → the answer has `content`, or poll `GET /api/v1/content/jobs/{id}`. - [Persian editing](https://faraatarjomeh.com/api/v1/docs/guides/persian-editing.md): Not a translation. Send Persian text (AI copy, a literal translation, stiff prose, or plain ordinary copy) and get every sentence back written again in natural, fluent Persian, the way an Iranian writer would write it today, with the same meaning and the same structure. Sequence: `POST /api/v1/content/edit` with `dryRun: true` (the price) → `POST /api/v1/content/edit` → the answer has `content` and `changes`, or poll `GET /api/v1/content/jobs/{id}`. - [Persian text to speech](https://faraatarjomeh.com/api/v1/docs/guides/farsi-tts.md): Turn text into Persian speech (MP3). English text is translated to Persian first; Persian text is used as is. You can check and edit the Persian text before the audio is made. Sequence: `GET /api/v1/farsi-tts/pricing` → `POST /api/v1/farsi-tts/jobs` (holds Fara) → poll `GET /api/v1/farsi-tts/jobs/{id}` until `awaiting_review` → optional `PATCH /api/v1/farsi-tts/jobs/{id}/text` → `POST /api/v1/farsi-tts/jobs/{id}/approve` → poll until `completed` → `GET /api/v1/farsi-tts/jobs/{id}/download`. - [Transcribe a recording](https://faraatarjomeh.com/api/v1/docs/guides/transcription.md): Turn an audio recording into text, with speaker labels and timings, and optionally translate the text into Persian or English. Download it as plain text, SRT subtitles, a PDF or a Word file. Sequence: `GET /api/v1/transcription/pricing` → `POST /api/v1/transcription/jobs` (multipart, holds Fara) → poll `GET /api/v1/transcription/jobs/{id}` → `GET /api/v1/transcription/jobs/{id}/download?file=source|translation&format=txt|srt|pdf|docx`. - [Upload large recordings in chunks](https://faraatarjomeh.com/api/v1/docs/guides/chunked-uploads.md): Send a meeting or transcription recording, or a video to translate, in chunks, then make the job from it. A broken connection costs one chunk, not the whole file, and files can be larger than one request allows. Sequence: `POST /api/v1/uploads` → `PUT /api/v1/uploads/{uploadId}/chunks/{index}` for every chunk (any order, retry freely) → `POST /api/v1/meetings/jobs`, `POST /api/v1/transcription/jobs` or `POST /api/v1/video/jobs` with a JSON body `{ "uploadId": "upl_..." }`. - [Use the API from an AI assistant (MCP)](https://faraatarjomeh.com/api/v1/docs/guides/mcp.md): Connect an AI assistant such as Claude Code to Faraatarjomeh with your API key. The assistant can check your balance and prices, price and start video subtitles or dubbing, make Persian speech, and check the status of your jobs. ## Reference - [API reference](https://faraatarjomeh.com/api/v1/docs/reference.md): Every endpoint an API key can call (193 operations), generated from the OpenAPI document (https://faraatarjomeh.com/api/v1/openapi.json). For task-level walkthroughs use the guides; for error handling use /api/v1/docs/errors. One area at a time: /api/v1/docs/reference/account, /api/v1/docs/reference/translation, /api/v1/docs/reference/jobs, /api/v1/docs/reference/ai-tools, /api/v1/docs/reference/video, /api/v1/docs/reference/meetings, /api/v1/docs/reference/audio, /api/v1/docs/reference/farsi-tts, /api/v1/docs/reference/transcription, /api/v1/docs/reference/content, /api/v1/docs/reference/uploads, /api/v1/docs/reference/webhooks, /api/v1/docs/reference/payments, /api/v1/docs/reference/ai-assistants, /api/v1/docs/reference/profile. - [API reference: Account](https://faraatarjomeh.com/api/v1/docs/reference/account.md): The Account endpoints (7 operations), generated from the OpenAPI document (https://faraatarjomeh.com/api/v1/openapi.json). For task-level walkthroughs use the guides; for error handling use /api/v1/docs/errors. The full reference: /api/v1/docs/reference. - [API reference: Translation](https://faraatarjomeh.com/api/v1/docs/reference/translation.md): The Translation endpoints (24 operations), generated from the OpenAPI document (https://faraatarjomeh.com/api/v1/openapi.json). For task-level walkthroughs use the guides; for error handling use /api/v1/docs/errors. The full reference: /api/v1/docs/reference. - [API reference: Jobs](https://faraatarjomeh.com/api/v1/docs/reference/jobs.md): The Jobs endpoints (7 operations), generated from the OpenAPI document (https://faraatarjomeh.com/api/v1/openapi.json). For task-level walkthroughs use the guides; for error handling use /api/v1/docs/errors. The full reference: /api/v1/docs/reference. - [API reference: AI tools](https://faraatarjomeh.com/api/v1/docs/reference/ai-tools.md): The AI tools endpoints (27 operations), generated from the OpenAPI document (https://faraatarjomeh.com/api/v1/openapi.json). For task-level walkthroughs use the guides; for error handling use /api/v1/docs/errors. The full reference: /api/v1/docs/reference. - [API reference: Video](https://faraatarjomeh.com/api/v1/docs/reference/video.md): The Video endpoints (16 operations), generated from the OpenAPI document (https://faraatarjomeh.com/api/v1/openapi.json). For task-level walkthroughs use the guides; for error handling use /api/v1/docs/errors. The full reference: /api/v1/docs/reference. - [API reference: Meetings](https://faraatarjomeh.com/api/v1/docs/reference/meetings.md): The Meetings endpoints (56 operations), generated from the OpenAPI document (https://faraatarjomeh.com/api/v1/openapi.json). For task-level walkthroughs use the guides; for error handling use /api/v1/docs/errors. The full reference: /api/v1/docs/reference. - [API reference: Audio](https://faraatarjomeh.com/api/v1/docs/reference/audio.md): The Audio endpoints (10 operations), generated from the OpenAPI document (https://faraatarjomeh.com/api/v1/openapi.json). For task-level walkthroughs use the guides; for error handling use /api/v1/docs/errors. The full reference: /api/v1/docs/reference. - [API reference: Farsi TTS](https://faraatarjomeh.com/api/v1/docs/reference/farsi-tts.md): The Farsi TTS endpoints (10 operations), generated from the OpenAPI document (https://faraatarjomeh.com/api/v1/openapi.json). For task-level walkthroughs use the guides; for error handling use /api/v1/docs/errors. The full reference: /api/v1/docs/reference. - [API reference: Transcription](https://faraatarjomeh.com/api/v1/docs/reference/transcription.md): The Transcription endpoints (7 operations), generated from the OpenAPI document (https://faraatarjomeh.com/api/v1/openapi.json). For task-level walkthroughs use the guides; for error handling use /api/v1/docs/errors. The full reference: /api/v1/docs/reference. - [API reference: Content](https://faraatarjomeh.com/api/v1/docs/reference/content.md): The Content endpoints (6 operations), generated from the OpenAPI document (https://faraatarjomeh.com/api/v1/openapi.json). For task-level walkthroughs use the guides; for error handling use /api/v1/docs/errors. The full reference: /api/v1/docs/reference. - [API reference: Uploads](https://faraatarjomeh.com/api/v1/docs/reference/uploads.md): The Uploads endpoints (4 operations), generated from the OpenAPI document (https://faraatarjomeh.com/api/v1/openapi.json). For task-level walkthroughs use the guides; for error handling use /api/v1/docs/errors. The full reference: /api/v1/docs/reference. - [API reference: Webhooks](https://faraatarjomeh.com/api/v1/docs/reference/webhooks.md): The Webhooks endpoints (10 operations), generated from the OpenAPI document (https://faraatarjomeh.com/api/v1/openapi.json). For task-level walkthroughs use the guides; for error handling use /api/v1/docs/errors. The full reference: /api/v1/docs/reference. - [API reference: Payments](https://faraatarjomeh.com/api/v1/docs/reference/payments.md): The Payments endpoints (4 operations), generated from the OpenAPI document (https://faraatarjomeh.com/api/v1/openapi.json). For task-level walkthroughs use the guides; for error handling use /api/v1/docs/errors. The full reference: /api/v1/docs/reference. - [API reference: AI assistants](https://faraatarjomeh.com/api/v1/docs/reference/ai-assistants.md): The AI assistants endpoints (1 operations), generated from the OpenAPI document (https://faraatarjomeh.com/api/v1/openapi.json). For task-level walkthroughs use the guides; for error handling use /api/v1/docs/errors. The full reference: /api/v1/docs/reference. - [API reference: Profile](https://faraatarjomeh.com/api/v1/docs/reference/profile.md): The Profile endpoints (4 operations), generated from the OpenAPI document (https://faraatarjomeh.com/api/v1/openapi.json). For task-level walkthroughs use the guides; for error handling use /api/v1/docs/errors. The full reference: /api/v1/docs/reference. - [Errors](https://faraatarjomeh.com/api/v1/docs/errors.md): Every error is `application/problem+json` (RFC 9457) with a stable `code`. Find the code below and follow its `retry` rule. The same table is available as JSON: https://faraatarjomeh.com/api/v1/docs/errors.json. ## Machine-readable - [OpenAPI 3.1](https://faraatarjomeh.com/api/v1/openapi.json): the full contract (paths, schemas, scopes, `x-spends-fara`, webhooks) - [Error catalog](https://faraatarjomeh.com/api/v1/docs/errors.json): every error code with its HTTP status, retry rule and whether the user must act - [API catalog](https://faraatarjomeh.com/.well-known/api-catalog): RFC 9727 linkset ## Optional - [All docs in one file](https://faraatarjomeh.com/api/v1/docs/llms-full.txt): every page above concatenated - [API changelog](https://faraatarjomeh.com/api/v1/docs/changelog.md): what changed and when