Developer API
File tools you can call from your code.
Send a file, get a result back: merge, split, rotate and extract PDFs, count tokens, convert text and more. A simple HTTP API with a key.
Available now. Files you send are processed on our servers and deleted right after processing.
01Get your key
No card needed.
02Make your first call
Send your key as Authorization: Bearer YOUR_KEY. Merge two PDFs:
curl -X POST https://godaily.tools/api/v1/tools/pdf_merge \ -H "Authorization: Bearer YOUR_KEY" \ -F files=@one.pdf -F files=@two.pdf \ -o merged.pdf
Python:
import requests
r = requests.post(
"https://godaily.tools/api/v1/tools/pdf_merge",
headers={"Authorization": "Bearer YOUR_KEY"},
files=[("files", open("one.pdf", "rb")), ("files", open("two.pdf", "rb"))],
)
open("merged.pdf", "wb").write(r.content)
JavaScript:
const form = new FormData();
form.append("files", fileOne);
form.append("files", fileTwo);
const res = await fetch("https://godaily.tools/api/v1/tools/pdf_merge", {
method: "POST",
headers: { Authorization: "Bearer YOUR_KEY" },
body: form,
});
const merged = await res.blob();
Text tools take JSON: curl -X POST .../tools/emi_calculator -H "Authorization: Bearer YOUR_KEY" -H "Content-Type: application/json" -d '{"principal":500000,"annual_rate_percent":9,"months":60}'
03Tools you can call
Send POST /api/v1/tools/<name>. The list is also available live at GET /api/v1/tools. Check your calls with GET /api/v1/usage.
| Name | Tool | What it does |
|---|---|---|
pdf_merge | Merge PDFs | Combine several PDFs into one, in the order given. |
pdf_extract_pages | Extract PDF pages | Keep only the pages you list, e.g. "1-3,5". |
pdf_delete_pages | Delete PDF pages | Remove the pages you list and keep the rest. |
pdf_rotate | Rotate PDF pages | Rotate pages by 90, 180 or 270 degrees. |
pdf_split | Split a PDF | Split a PDF into one file per range, returned as a ZIP. Example ranges: "1-2;3-5". |
pdf_page_numbers | Add page numbers | Stamp "1", "2"… at the bottom centre of each page. |
pdf_watermark | Watermark a PDF | Stamp diagonal text across every page. |
pdf_optimize | Optimize a PDF (lossless) | Shrink a PDF without touching quality: tidier structure and no tool metadata. For stronger image compression use the browser tool. |
pdf_info | PDF info | Page count, size and title of a PDF. |
pdf_to_text | PDF to text | Extract the text of a PDF (scanned pages without text are not read). |
images_to_pdf | Images to PDF | Put JPG or PNG images on pages of one PDF. |
estimate_tokens_pdf | How many tokens will this PDF cost? | Estimate the AI tokens a PDF costs when sent to Claude: about 1,500 to 3,000 text tokens per page, plus up to 1,568 image tokens per page. |
estimate_tokens_image | How many tokens will this image cost? | Estimate image tokens: ceil(width/28) x ceil(height/28), capped at 1,568. Send an image file, or width and height. |
estimate_tokens_text | Estimate tokens for text | Rough token count for a piece of text (about 4 characters per token). |
word_count | Word counter | Count words, characters, sentences and reading time. |
case_convert | Case converter | Convert text to upper, lower, title, sentence, camel, snake or kebab case. |
json_format | JSON formatter | Validate, pretty-print or minify JSON. |
base64 | Base64 encode / decode | Encode text to Base64 or decode it back. |
hash_text | Hash text | SHA-256, SHA-1 or SHA-512 hash of a text. |
password_generate | Password generator | Generate strong random passwords. |
uuid_generate | UUID generator | Generate random UUIDs (v4). |
lorem_ipsum | Lorem ipsum generator | Placeholder paragraphs. |
qr_code | QR code generator | Create a QR code as SVG. |
emi_calculator | EMI calculator | Monthly EMI for a loan. |
gst_calculator | GST calculator | Add or remove GST from an amount. |
unit_convert | Unit converter | Convert length, weight or temperature. |
word_to_text | Word to text | Extract the text of a .docx file. |
ppt_to_text | PowerPoint to text | Extract the text of every slide in a .pptx file. |
excel_to_csv | Excel to CSV | Convert the first sheet of an .xlsx file to CSV. |
text_to_pdf | Text to PDF | Turn plain text into a multi-page A4 PDF. |
pdf_to_markdown | PDF to Markdown | Extract the text of a PDF as simple Markdown, one section per page. |
pdf_to_word | PDF to Word | Put the text of a PDF into an editable .docx file (text only: layout and images are not kept). |
crop_pdf | Crop PDF margins | Trim margins from every page (values in points, 72 points = 1 inch). |
protect_pdf | Protect a PDF with a password | Encrypt a PDF (AES-256) so it needs a password to open. |
unlock_pdf | Unlock a PDF | Remove the password from a PDF, when you know the password. |
compare_pdf | Compare two PDFs | Compare the text of two PDFs and list the lines that differ. |
sign_pdf | Sign a PDF (typed signature) | Stamp a typed signature and date on a page of a PDF. |
gpa_calculator | GPA calculator | Weighted GPA from a list of courses: [{credits, grade_points}]. |
random_generator | Random generator | Random numbers, or pick random items from a list. |
image_resize | Resize image | Resize an image to a width and/or height (pixels). |
image_compress | Compress image | Make an image smaller. quality 1-100, output jpg, webp or avif. |
image_convert | Convert image format | Convert between JPG, PNG, WebP and AVIF. |
image_rotate | Rotate image | Rotate an image by 90, 180 or 270 degrees. |
image_grayscale | Grayscale image | Turn an image black and white. |
image_blur | Blur image | Blur an image. amount 1-250. |
image_crop | Crop image | Crop an image to a rectangle (pixels from the top-left corner). |
image_sepia | Sepia / vintage filter | Give an image a warm sepia tone. |
image_color_palette | Color palette from an image | Find the main colors of an image, as hex values with their share. |
heic_to_jpg | HEIC to JPG | Convert an iPhone HEIC photo to JPG. |
word_to_excel | Word to Excel | Copy the tables of a .docx into an .xlsx (one sheet per table). With no tables, each paragraph becomes a row. |
html_to_excel | HTML tables to Excel | Turn the tables in some HTML into an .xlsx (one sheet per table). |
text_to_ppt | Text to PowerPoint | One slide per block of text (blocks are separated by a blank line; the first line is the title). |
zip_files | Zip files | Bundle several files into one .zip. |
unzip_files | Unzip an archive | List and extract the files of a .zip. Each file comes back as Base64. |
citation_generate | Citation generator | Format a citation in APA, MLA or Chicago style for a book, article or website. |
text_summarize | Text summarizer | Pick the most important sentences of a text (extractive summary, no AI model). |
The browser tools on this site cover everything else.
04Limits
Starter keys include 250 API calls a month. Pro includes 5,000 and Plus includes 10,000. Very large files can still fail because the server has a fixed memory size. If a call fails on a big file, try a smaller one.
05How your files are handled
This is different from the tools. Files you send to the API are processed on our servers, in memory, and deleted right after processing. We keep only your email, a hashed key and a call counter. The single-file tools and Bulk still run in your browser and never upload anything.
Want your AI assistant to use these tools? See the AI connector.
Need a hand getting started?
Ask Bolt, or write to the team.