Developer API

Document Translation API for PDF, Word, Excel, and PowerPoint

Use one asynchronous API for PDF, Word, Excel, and PowerPoint translation. Keep your integration simple: submit a file, poll status, then download the translated result.

POST/openapi/v1/pdf/tasks
POST/openapi/v1/office/tasks
GET/openapi/v1/tasks/{id}
GET/openapi/v1/tasks/{id}/download
Workflow

A predictable asynchronous workflow

The API returns quickly after a task is accepted. Your service stays in control while translation continues in the background.

01

Authenticate

Create an API key in the Developer Center. Keys are shown only once and can be revoked at any time.

02

Submit a document

Send a PDF or Office file with a target language and an Idempotency-Key to protect retries.

03

Poll and download

Check the task until it succeeds, then download the translated file from the result URL.

Capabilities

Built for document workflows

PDF translation

Submit native or scanned PDFs and retrieve a translated PDF when processing finishes.

Office translation

Translate DOCX, PPTX, and XLSX files while keeping the result ready for continued editing.

Shared credits

The API and web workspace use one credits balance, so teams can combine manual and automated workflows.

Credits

Clear page-based billing

PDF and Office translation are charged at 1,500 credits per billable page. PDF uses physical pages; PPTX uses slides; DOCX uses embedded page count with a one-page fallback; XLSX uses worksheets.

MCP integration

Bring document translation into your AI workspace

Connect a dedicated API key in Codex or another compatible MCP client. Your AI workspace can check credits, create document translation tasks, poll progress, and retrieve short-lived result links without leaving its normal flow.

Remote MCPhttps://www.fanyipaiban.com/translate/mcp
Codex

Codex: use the verified installer to register the local stdio bridge, restart Codex, then verify account and pricing in a new task.

Claude / Cursor / Trae

Other clients: use the local bridge or a supported Streamable HTTP configuration that can attach Authorization: Bearer <API_KEY>.

The same page-based credits price applies. PDF, DOCX, PPTX, and XLSX are supported. For a local file above 20 MB, use the REST API upload flow.

Start with the integration guide

Use the public Quickstart to run one real upload, read data.id, poll the task, and download the result before building a production integration.

Read the 5-minute Quickstart

Run the full workflow with a real document

Upload a PDF, Word, Excel, PPT, EPUB, SRT, or IDML file to check translation, structure retention, bilingual review, and export quality.

滚动至顶部