Hexloom API
Two tools, three endpoints: merge PDFs, and inspect or strip location and camera metadata from images. Files are handled in memory for the length of the request and are not stored.
Unlike Hexloom's browser tools, which work on your own device, this API receives the files you send.
Get a key on RapidAPI The Basic plan is free: 100 calls a month.
Endpoints
| Endpoint | What it does |
|---|---|
PDF mergePOST /api/v1/pdf/merge | Merges 2 to 20 PDFs (multipart fields, in the order sent). Output limited to 500 pages. |
Metadata stripPOST /api/v1/exif/strip | Removes EXIF, GPS and other metadata from JPEG, PNG or WebP without re-encoding pixels. |
Metadata inspectPOST /api/v1/exif/inspect | Lists the metadata found in an image, as JSON. |
GET /api/v1/status | Health check. |
Try it
curl -X POST https://hexloomlabs.com/api/v1/pdf/merge -F "file1=@first.pdf" -F "file2=@second.pdf" -o merged.pdf
curl -X POST https://hexloomlabs.com/api/v1/exif/strip -F "image=@photo.jpg" -o clean.jpg
In Windows PowerShell, type curl.exe instead of curl: PowerShell's own curl is a different command. The full contract is in the OpenAPI spec.
Plans and prices
| Plan | Price | Calls a month |
|---|---|---|
| Basic | $0 | 100 |
| Pro | $9 a month | 2,000 |
| Ultra | $29 a month | 10,000 |
| Mega | $79 a month | 50,000 |
Every plan has a hard monthly limit on calls. RapidAPI handles sign-up and billing under its own terms. It may ask for a payment card even for the Basic plan (its pricing page has an FAQ entry "Why do you require a credit card for a freemium API?"), and that page lists a bandwidth platform fee on every plan: the first 10,240 MB a month are included, then $0.001 per MB.
Limits
- Keyless demo: 1 MB per call. Please keep to about 10 calls a minute.
- Basic plan: 1 MB per call for PDF merge and 8 MB per call for the two photo endpoints. Paid plans: 10 MB per call.
- Errors return JSON with a code and a message, for example
413 too_largeor429 rate_limited. - Do not put an API key in browser code.
Authentication and CORS
- Keyless demo at
https://hexloomlabs.com/api/v1: no key needed. - RapidAPI plans: subscribe on RapidAPI and send your key in the
X-RapidAPI-Keyheader to hosthexloom-file-api.p.rapidapi.com(the endpoint paths are the ones above, without/api/v1). Plan limits are enforced there; the sizes are under Limits. - CORS: the endpoints at
hexloomlabs.com/api/v1sendAccess-Control-Allow-Origin: *, so the keyless demo can be called from a browser. Keep real keys on a server.
What we keep
File contents are not stored or logged by this service. Cloudflare, which hosts it, keeps its usual request logs (time, path, size, IP and request headers; key and secret headers are masked). See the privacy policy and terms. Questions: support.