# Tools APIs

> 7 tools operations on upAPI, all called with one API key: `POST https://api.upapi.io/{slug}` with an `X-Api-Key` header.

## Operations

- [Capture Website Screenshot](https://upapi.io/apis/tools/screenshot) (20 units): Render any public web page in headless Chromium and return a PNG or JPEG screenshot as base64 — viewport or full page, with a configurable viewport size, wait strategy and settle delay.
- [Extract Text from PDF](https://upapi.io/apis/tools/pdf-extract-text) (2 units): Extract the text of a PDF, by URL or as an inline base64 upload. Optionally restrict it to a page range and detect tables, returned as Markdown. Runs locally on PDFium — no third-party document API, no per-page fee.
- [Fetch URL as Markdown](https://upapi.io/apis/tools/fetch-markdown) (3 units): Convert any web page into clean, LLM-ready Markdown. Fetches over plain HTTP with browser headers (retrying once through a residential or datacenter proxy when the origin serves a bot wall), removes boilerplate with Mozilla Readability, and converts with GitHub-flavored Markdown tables, lists and code blocks. Article mode is verified against a whole-page conversion and downgrades itself when Readability strips too much, so you are never handed a gutted page. Returns the markdown plus title, byline, language, excerpt, the extracted link list, the final URL after redirects, and which transport served the body. No browser is used, so a client-rendered page is reported as an error rather than as empty content.
- [Get Cloudflare Page Title](https://upapi.io/apis/tools/cloudflare-page-title) (1 unit): Fetch the <title> of a URL, with the HTTP status and Server header. The URL is read through an SSRF guard: private addresses and redirects to them are refused.
- [OCR an Image](https://upapi.io/apis/tools/image-ocr) (4 units): Read the text in an image, by URL or as an inline base64 upload. Returns the full text plus every detected line with its confidence score and pixel bounding box. Runs locally on PP-OCR/ONNX — no cloud vision API, no per-image fee.
- [Render HTML or URL to PDF](https://upapi.io/apis/tools/html-to-pdf) (20 units): Render a public web page or a raw HTML document to a print-quality PDF with headless Chromium — paper size, orientation, margins, scale and page ranges included. Returns base64 PDF bytes.
- [Search Hacker News](https://upapi.io/apis/tools/hackernews-search) (1 unit): Full-text + filter search over Hacker News (stories, comments, Show/Ask HN, front page) via Algolia's open API. Ordered by relevance or date.

## Popular searches

- [Screenshot API: Capture Any URL as PNG or JPEG](https://upapi.io/apis/tools/screenshot-api): Screenshot API: capture any public URL as a PNG or JPEG in headless Chromium — full page, custom viewport, ad blocking — as JSON behind one upAPI key.
- [HTML to PDF API: Render a URL or HTML as PDF](https://upapi.io/apis/tools/html-to-pdf-api): HTML to PDF API: render a public URL or a raw HTML string to a print-quality PDF in headless Chromium — paper size, margins, page ranges. One upAPI key.
- [URL to Markdown API: Fetch Any Page as Markdown](https://upapi.io/apis/tools/url-to-markdown-api): URL to Markdown API: fetch a web page and get clean, LLM-ready Markdown with title, byline and links — article extraction or full page. One upAPI key.

[All categories](https://upapi.io/apis)
