mocop
Browse · Docs · Guide · Analyze

PrintFriendly API

API by Printfriendly · rest

One endpoint, POST /v2/convert, takes a URL, some HTML or some Markdown and returns a PDF, a Word file, Markdown, JSON, HTML or plain text. The older /v2/pdf/create, /v2/html/create and /v2/text/create endpoints keep working unchanged. Get a free key at https://www.printfriendly.com/me/api-key (100 documents a month, no card). Send it as Authorization: Bearer YOUR_API_KEY. Calls are synchronous by default and answer within 27 seconds. Add async: true to /v2/convert to run a conversion in the background instead: it answers 202 with a job id, and the result is read from GET /v2/jobs/{id} or POSTed to your webhook_url. Only a successful conversion counts toward your plan, however it was run. To check that a key works without using a document, call GET /v2/usage: it is free, never counted, and answers 200 even when the key's allowance is used up. AI agents: a plain-text version of these docs is at https://www.printfriendly.com/llms-full.txt.

Endpoint: https://api.printfriendly.com/

Verification: observed. Source: crawl.

Capabilities (10)

  • Convert a URL HTML or Markdown (query string)
  • Convert a URL HTML or Markdown
  • Create a printable HTML page (query string)
  • Create a printable HTML page
  • Read an async conversion job
  • Create a PDF (query string)
  • Create a PDF
  • Create a plain text file (query string)
  • Create a plain text file
  • Check a key and read its usage
About · Contact · Privacy