CRATEAPI

← Back to CrateAPI

Document Tools

PDF, screenshots, email signals and article extraction — everyday document utilities, one key.

CRT-02

PDF Tools

Merge, split, watermark, password-protect, compress, extract text, read metadata and convert pages to images — the PDF plumbing every product needs and nobody wants to build twice.

More PDF operations — HTML→PDF, split, watermark, compress

Upload a document, get clean results back. The pages below come from the invoice PDF generated in CRT-01, converted by this API. Ten operations, one API key:

  • Merge — combine several PDFs into one file — /merge
  • Split — break a PDF into separate files — /split
  • Watermark — stamp text or an image over every page — /watermark
  • Password-protect — encrypt a PDF — /protect
  • Compress — shrink the file size — /compress
  • HTML → PDF — render your own HTML template — /from-html
  • URL → PDF — render any public webpage, same engine as our screenshots — /from-url
  • Extract text — pull the raw text out — /extract-text
  • Metadata — read a PDF's document properties — /metadata
  • To images — convert pages to PNGs (the demo below) — /to-images
invoice.pdfapplication/pdf
1 page · A4 · 13 KB
IN · any PDF
Page 1 of the PDF converted to a PNG image
OUT · PNG per page
No file chosen

Or your own PDF · max 5 MB · processed in memory, never stored · 5 runs/day per visitor

CRT-03

Screenshots

Turn any URL into a pixel-perfect capture — viewport or full page, PNG or JPEG, custom size and delay. Rendered by a real browser, returned as an image.

Where it fits — previews, archives, monitoring

For previews, archives, monitoring, reports and anywhere a picture beats a link.

GET /screenshot/take?url=en.wikipedia.org/wiki/API
&width=1280&format=png
IN · a URL
Screenshot of the Wikipedia API article captured by the API
OUT · the capture
try:

Public pages only, captured as any visitor would see them · custom URLs: 5 captures/day per visitor · you are responsible for the URLs you submit

CRT-04

Email Signals

Score an address before you trust it. Syntax, MX records, disposable domains, role accounts, free providers — one call, one verdict, no email sent.

Why it matters — bounces and throwaways

Stop burning onboarding on addresses that bounce, and spot throwaways at signup.

contact@crateapi.coma string, until proven otherwise
IN · an address
score 0.8 · deliverablemx_found ✓ fwd1.porkbun.com
disposable ✗ · role ✓ · free ✗
OUT · signals

Live DNS/MX lookups · 5 checks/day per visitor · the address is not stored and no email is sent

CRT-05

Article Extract

Any article URL in, clean structured text out. Title, word count, main content — no nav bars, no cookie walls, no ads. Text or Markdown.

Where it fits — LLM pipelines, readers, indexing

Feed LLMs, build readers, index content — without writing a scraper per site.

A cluttered webpage before extraction
IN · a noisy page
API — Wikipedia · 5,379 wordsAn application programming interface (API) is a connection between computers or between computer programs. It is a type of software interface, offering a service to other pieces of software…
OUT · clean text
try:

Public pages only · custom URLs: 5 extractions/day per visitor · nothing is stored