Edge API · Cloudflare

Forage the wild web into clean data.

One API turns any page or audio file into markdown, structured JSON, screenshots, PDFs, and transcripts — ready to feed an LLM.

300 free credits No credit card 8 endpoints · one bearer token
page → markdown
$ curl -X POST https://forageapi.com/v1/markdown \
  -H "Authorization: Bearer fk_live_..." \
  -d '{"url":"https://en.wikipedia.org/wiki/Foraging"}'
# 200 OK  ·  1 credit
{
  "url": "https://en.wikipedia.org/wiki/Foraging",
  "rendered": false,
  "markdown": "# Foraging\n\nForaging is searching for...",
  "tokens_estimate": 1840
}
Field guide

Eight ways to gather.

Every endpoint takes a URL and hands back something an agent can use. One bearer token, credits per call, failed calls refunded automatically.

i.
POST /v1/markdown

Markdown

Clean, LLM-ready markdown from any page. Boilerplate and chrome stripped out.

1 credit
ii.
POST /v1/extract

Extract

Structured JSON that matches a JSON Schema you provide. Never invents data — missing fields come back null.

2 credits
iii.
POST /v1/screenshot

Screenshot

Full-page or viewport PNG, rendered in a real headless browser. Set width, height, and wait.

1 credit
iv.
POST /v1/pdf

PDF

Render a live page to a print-ready A4 PDF, backgrounds and all.

2 credits
v.
POST /v1/transcribe

Transcribe

Whisper transcript of any audio URL with segments, timestamps, and VTT. Up to 24MB.

2 credits + 1 / min
vi.
POST /v1/reviews

Reviews

schema.org reviews and aggregate ratings from any page with JSON-LD. Not charged if none are found.

2 credits
vii.
POST /v1/keys

Keys

Mint a free key with an email — 300 credits, no card. One per email, shown exactly once.

Free
viii.
GET /v1/usage

Usage

Check your balance and recent calls any time. Reconcile spend without leaving your terminal.

Free
Smart rendering

We only pay the browser tax when the page makes us.

Most pages are static — Forage fetches those directly and returns in milliseconds. When a page is a JavaScript shell, we spin up a real headless browser automatically. Force it either way with render: "always" or "never".

01 / FETCH

Static pages, fast

A plain edge fetch pulls the HTML and converts it — no browser, minimal latency, one credit.

02 / DETECT

Shells get rendered

If the page needs JavaScript to show its content, Forage escalates to a headless browser on its own.

03 / REFUND

Failures don't cost

If a fetch or conversion fails, the credits are returned automatically. You only pay for data you get.

Pricing

Buy credits once. No subscription.

Credits never auto-renew, and unused credits are refundable within 14 days. Start free — top up only when you need more.

Start here
Free
300 credits
No card required
Get your key
 
$9
3,000 credits
≈ $0.003 / credit
Get a free key
Best value
$29
12,000 credits
≈ $0.0024 / credit
Get a free key
 
$99
50,000 credits
≈ $0.002 / credit
Get a free key

Paid credit packs are opening shortly — grab your free key now and start building.

Try it now

Get 300 free credits

Drop in your email and we'll mint a live key on the spot. One key per email — it's shown once, so copy it somewhere safe.

fk_live_…

Saved it? Good — this is the only time we'll show it. Next: make your first call.

FAQ

Good to know.

What is a credit?
A credit is one unit of work. Markdown and screenshots cost 1 credit; PDF, extract, and reviews cost 2; transcription is 2 credits minimum plus 1 per started minute of audio. Your free key starts with 300 of them — enough for hundreds of calls.
What's your refund policy?
Two things. Failed calls — a page that won't fetch, a conversion that errors — are refunded automatically, so you never pay for data you didn't get. And unused credits are refundable within 14 days of purchase; just email us.
Do credits expire or auto-renew?
Neither. There's no subscription and no recurring charge — you buy a pack once and draw it down at your own pace. Reviews with no markup on the page aren't charged at all.
How do rate limits work?
Each key can make up to 60 requests per minute. Over that, you'll get a 429 rate_limited — wait a moment and retry.
How do I get help?
Email willchilcutt@gmail.com. It's a small operation, so you'll reach a real person. The full docs cover every endpoint, and there's an OpenAPI spec if you'd rather generate a client.

Point it at a URL. Get back something useful.

300 free credits, no card, one API. Your agents will thank you.

Get your free key