Skip to content
SpideyData

Web data APIs

Fetch API

Fetch one public web page and get its content back as markdown and HTML you can use in assistants, research, and workflows.

What you get

Start with
A public web page URL.
Get back
Page markdown and HTML, the final URL, and a status you must inspect on every response.

Ways to use it

  1. Turn a public article or docs page into markdown for an assistant or notes.

  2. Bring a reference page into a research workflow without copying the HTML by hand.

  3. Collect a product or pricing page as text you can compare or quote.

Is this the right fit?

Collects one public page at a time. A completed HTTP response can still be a failed Fetch, with empty markdown. This is not full browser rendering. Choose Crawl when you need many pages, or the Browser Scrape API when you need a rendered page.

Try the free website-to-markdown tool

Credits

A successful Fetch costs 1 Credits / page. Current rates for every published meter are on Pricing.

Documented routes include /v1/fetch.

Try a request

POST /v1/fetch

curl -sS -X POST "https://kieapi.com/v1/fetch" \
  -H "Authorization: Bearer $SPIDEYDATA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://www.wikipedia.org/"}'

How to read a Fetch result

A successful Fetch returns the page as markdown and HTML, the final URL after redirects, and a status on the result. Use result.status to decide whether the run worked. HTTP 200 only means the API returned an envelope; it is not the same as a completed page.

When result.status is completed and result.content.markdown is present, you have usable page text. Markdown quality is readable, but it is not always perfectly clean: a marketing homepage may include inlined JSON-LD, and a long RFC page can be noisy while still usable.

When result.status is failed, markdown and HTML may be null. A production check on 28 November 2026 saw this twice on the same Wikipedia URL, with block_reason set to network_error. Those runs were not charged. Treat that as a failed retrieval, not as an empty successful conversion.

What Fetch is not

Fetch is not full browser rendering, and it does not call Browser Scrape. Successful runs in the same production check used the light engine, including for the kieapi.com homepage. That site is JavaScript-heavy, but Fetch still returned server-rendered HTML and usable markdown. That does not prove a client-only app will work.

Fetch collects one public page at a time. Use Crawl when you need many pages from a site. Use Extract only when you already have HTML; Extract does not fetch a URL. When a page needs a rendered browser, use the Browser Scrape API rather than assuming Fetch already did that work.

Ways teams use Fetch

  • Give an assistant the markdown of a public docs or reference page instead of pasting raw HTML.
  • Save an article or RFC-style document as markdown for research notes or a comparison draft.
  • Pull a marketing or product page into a workflow when the light Fetch path can read the server-rendered HTML.
  • Check whether a URL returns usable markdown before you script many Fetch calls in your own key.
  • Start with one URL here, then move to the Fetch API when you need a documented JSON contract or higher volume.

Try Fetch on one URL

The free website-to-markdown tool uses this same Fetch capability. Paste a public URL, then copy or download the markdown when the run is actually successful. If Fetch fails, the tool shows the failed status instead of dressing up an empty result.

Frequently asked questions

What does Fetch return?
POST /v1/fetch takes one public URL and, when the run succeeds, returns page content as markdown and HTML, plus the final URL and a status on the result. Source links and metadata may also be present when the page provides them.
Can HTTP 200 still be a failed Fetch?
Yes. The HTTP envelope can be 200 while result.status is failed. In that case markdown and HTML may be null. Callers and this site's free website-to-markdown tool must inspect result.status; treating HTTP 200 as success would show a blank conversion.
What happens when a site cannot be retrieved?
Some public pages fail on the Fetch path. A production check on 28 November 2026 saw repeated network_error failures for a Wikipedia article, with null markdown and HTML, and those failed runs were not charged. The response will show the failed status instead of an empty successful conversion.
Is Fetch full browser rendering?
No. Successful Fetch runs in that same check used the light engine, including for the kieapi.com homepage, which is a JavaScript marketing site that still returned server-rendered HTML and usable markdown. That does not prove a client-only app will work, and Fetch is not a Browser Scrape call. Use the Browser Scrape API when you need a rendered page.
How is Fetch billed?
A delivered Fetch page costs 1 Credit. Failed runs in the production check were not charged; reserved credit was released. Current rates for every published meter are on Pricing.
When should I use Crawl, Extract, or Browser Scrape instead?
Use Crawl when you need many pages from a site. Use Extract when you already have HTML and want structured fields; Extract does not fetch a URL. Use the Browser Scrape API when a page needs browser rendering. Fetch is the starting point for one public URL.
Is there a free way to try Fetch?
Yes. The website-to-markdown tool converts one public URL and lets you copy or download the markdown, with a daily cap and no account required. It uses the same Fetch capability and shows failures honestly. For repeatable or authenticated workflows, use the Fetch API.