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
Turn a public article or docs page into markdown for an assistant or notes.
Bring a reference page into a research workflow without copying the HTML by hand.
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 toolCredits
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.