TapCub is live — analytics, insights and live chat, free on one platform

Documents API PDF to Word API

Send a PDF and get an editable .docx with paragraphs, tables and images where they were.

POSThttps://api.pathclue.com/v1/documents/pdf-to-wordBeta
Request

Call it from your code

Set your key in the TAPCUB_API_KEY environment variable. Base URL: https://api.pathclue.com/v1.

terminal
curl -X POST "https://api.pathclue.com/v1/documents/pdf-to-word" \
  -H "Authorization: Bearer $TAPCUB_API_KEY" \
  -H "Content-Type: application/octet-stream" \
  --data-binary @input.pdf \
  -o result.docx

Send the file itself as the request body and put the options in the query string.

The response body is the file itself. Save it as shown in the examples.

Parameters

Request parameters

Request parameters
ParameterTypeRequiredDefaultDescription
outputenumone of: binary | jsonNo"binary"binary returns the file itself (details in X-… response headers); json returns base64 in file plus the same details (results up to 20 MB).
Response

Example response

Successful responses carry the X-Credits-Charged and X-Credits-Balance headers. Errors return {"error":{"code","message"}} and are never charged.

HTTP
HTTP/1.1 200 OK
Content-Type: application/vnd.openxmlformats-officedocument.wordprocessingml.document
X-Page-Count: 4

<application/vnd.openxmlformats-officedocument.wordprocessingml.document …>
Price and limits

What it costs

What it costs
Price2 credits per page; minimum 5 credits per file
In US dollarsabout $0.002 · $2 / 1,000
CreditsPaid credits only
Rate limitFree 10 / min · Plus 60 / min · Pro 300 / min
ChargedOnly on success — errors and timeouts are free
Use cases

What people build with it

Edit contracts

Get an editable copy when only the PDF is left.

Reuse reports

Pull tables and text into new documents.

Translation prep

Hand translators a Word file instead of a PDF.

FAQ

Frequently asked questions

Still have a question?

Chat with the team behind TapCub — we usually reply within a few hours on business days.

Does it work on scanned PDFs?

Scans are images, so the Word file will contain images, not editable text. Run the OCR endpoint first to get the text.

How are pages counted?

Pages are counted before conversion: 2 credits per page with a 5-credit minimum. A file whose pages can’t be read is rejected with 422 and not charged.

How much does the PDF to Word API cost?

Each successful call costs 2 credits per page; minimum 5 credits per file (about $0.002). 1 credit is about $0.001. Failed calls — invalid input, unreachable sites, timeouts or errors on our side — are not charged.

Can I use free credits?

No. Document and image endpoints only use paid credits from a Tools plan or a credit pack. To check the result before you pay, use the matching free tool on tapcub.com.

What are the rate limits?

Free accounts can make 10 calls a minute and 1,000 a day per key; Plus allows 60 a minute and Pro 300. Over the limit you get HTTP 429 with a Retry-After header, and nothing is charged.

How do I get an API key?

Sign in to the TapCub console, verify your email and create a key on the Tools → API page. Keys start with tck_ and are shown once; send them in the Authorization: Bearer header.

Get your API key

Create a key in the console and make your first call in a minute. Light endpoints run on free daily credits.