Web data APIs
Extract API
Turn page content you already have into organized data. Pull out the details your application needs without sorting through the whole page.
What you get
- Start with
- Your saved HTML, its source URL, and the fields you want to collect.
- Get back
- The selected information organized into fields for your application.
Ways to use it
Turn collected product pages into comparable records.
Organize article details for a content library.
Convert saved page content into data for analysis.
Is this the right fit?
Works with HTML you provide. If you only have a page URL, collect its content with Fetch or Browser Scrape first.
Credits
Structured extraction costs 30 Credits / 1,000 output tokens. Current rates for every published meter are on Pricing.
Documented routes include /v1/extract.
Try a request
POST /v1/extract
curl -sS -X POST "https://kieapi.com/v1/extract" \
-H "Authorization: Bearer $SPIDEYDATA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://example.com/article","html":"<article><h1>Title</h1></article>","extraction":{"type":"json_css","schema":{"name":"article","base_selector":"article","fields":[{"name":"title","selector":"h1","type":"text"}]}}}'