Convert any URL or your own HTML to PDF, or capture PNG/JPEG/WebP screenshots, with a real Chromium browser. Headers, footers, page numbers, full page, dark mode.
Subscribe on either marketplace to get a key, then call the endpoint. The same API runs behind both.
curl -X POST "https://prod.api.market/api/v1/rasareka/pdf-screenshot/render/v1/pdf" \
-H "x-api-market-key: YOUR_API_MARKET_KEY" \
-H "content-type: application/json" \
-d '{"html":"<h1>Invoice #1001</h1><p>Total: $49</p>","paper":"A4","margin":"15mm"}'
curl -X POST "https://pdf-screenshot-html-url-to-pdf-png-jpeg.p.rapidapi.com/v1/pdf" \
-H "x-rapidapi-key: YOUR_RAPIDAPI_KEY" \
-H "x-rapidapi-host: pdf-screenshot-html-url-to-pdf-png-jpeg.p.rapidapi.com" \
-H "content-type: application/json" \
-d '{"html":"<h1>Invoice #1001</h1><p>Total: $49</p>","paper":"A4","margin":"15mm"}'
const res = await fetch("https://prod.api.market/api/v1/rasareka/pdf-screenshot/render/v1/pdf", {
method: "POST",
headers: { "x-api-market-key": process.env.API_MARKET_KEY, "content-type": "application/json" },
body: JSON.stringify({"html":"<h1>Invoice #1001</h1><p>Total: $49</p>","paper":"A4","margin":"15mm"}),
});
console.log(res.status);
(PDF file)
| Plan | API.market |
|---|---|
| Free trial | 50 calls |
| Pro | $9.99 / month for 2,000 |
| Pay as you go | $0.008 per call |
RapidAPI has its own free Basic plan and monthly tiers. See the listing for current prices.
Usually 2-4 seconds with a warm browser, up to about 10 seconds for heavy pages.
No. Only public URLs, or send your own HTML.
Rasa Reka Enterprise, a registered software studio in Malaysia. It runs on Cloudflare's global edge network. Questions: hello@rasareka.com.
245 countries, line type, E.164
Validate, format and classify phone numbers from 245 countries.
Details →