fastx402.tools/pdftext
Extract the text, page count, title and author of a PDF (up to 25 MB, first 200 pages)
GET
https://fastx402.tools/pdftextUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://fastx402.tools/pdftext?url=https%3A%2F%2Fwww.w3.org%2FWAI%2FER%2Ftests%2Fxhtml%2Ftestfiles%2Fresources%2Fpdf%2Fdummy.pdf");
console.log(await res.json());Example input
{
"url": "https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf"
}More from FastX402Provider status
- fastx402.tools/dnsDNS lookup (A, AAAA, MX, TXT, NS, CNAME, SOA, CAA, SRV, PTR) via DNS-over-HTTPS0.001
- fastx402.tools/domainDomain availability and registration info (registrar, created, expires, status, nameservers) via RDAP0.002
- fastx402.tools/extractFetch a web page and return its title, meta description and readable text (scripts, styles and markup removed)0.002
- fastx402.tools/geohashEncode a latitude/longitude to a geohash (precision 1-12) or decode a geohash to its centre point and bounding box. Use it for spatial keys, proximity grouping and map tiles.0.001
- fastx402.tools/keccak256Keccak-256 hash (the Ethereum hash, not SHA3-256) of UTF-8 text or of hex bytes. Use it for Solidity storage keys, event topics, commitments or checking a hash an agent computed.0.001
- fastx402.tools/ocrRead the text in an image (OCR with Tesseract, English and Turkish); image up to 10 MB0.003
- fastx402.tools/solidity-selectorCompute the 4-byte function selector and 32-byte event topic of a Solidity signature like transfer(address,uint256). Use it to build or recognise calldata and to filter logs.0.001
- fastx402.tools/token-unitsExact conversion between a token's decimal amount and its integer base units (wei, USDC atomic units...) for any decimals 0-36. No floating point. Use it before signing a transfer or reading a balance.0.001
- fastx402.tools/transcribeTranscribe speech in an audio file to text with timestamps (Whisper, many languages); up to 5 minutes, 25 MB0.01
- fastx402.tools/vectorizeTrace a raster image into an SVG vector: color (vtracer) or black-and-white (potrace); input up to 15 MB, traced at up to 1024 px. Returns a download URL valid for 1 hour, plus the SVG markup inline when it is 100 KB or less (otherwise svg is null)0.01
- fastx402.tools/webpdfRender a web page to a PDF in a real Chromium browser, returned as base640.005
- lab.fastx402.tools/btc-feesReturns current recommended Bitcoin fee rates in sat/vB for fastest, 30-minute, 1-hour, and economy confirmation targets, plus mempool transaction count and vsize. Use it to price a transaction or report network congestion right now.0.003
