Web data & tools
Web data & tools · AI-assisted
AI Web Scraper API
Turn any web page into clean JSON: name your fields, get one object or every item of a list.
Base URLhttps://ai-web-scraper-extract-structured-data-to-json.p.rapidapi.com/v1/scraperopenapi.json
- Free plan
- 30 credits a day
- Paid plans
- from $4.99 a month
- One credit
- Extract: 10 credits per page (20 over 10,000 characters of text), +5 per 5 items. Markdown: 1 credit.
- Endpoints
- 2, on
/v1/scraper
Example call
curl -X POST "https://ai-web-scraper-extract-structured-data-to-json.p.rapidapi.com/v1/scraper/extract" \
-H "X-RapidAPI-Key: YOUR_API_KEY" \
-H "X-RapidAPI-Host: ai-web-scraper-extract-structured-data-to-json.p.rapidapi.com" \
-H "Content-Type: application/json" \
-d '{
"url": "https://books.toscrape.com/",
"multiple": true,
"max_items": 20,
"fields": [
{
"name": "title",
"type": "string",
"description": "full book title"
},
{
"name": "price",
"type": "number",
"description": "price in GBP"
},
{
"name": "in_stock",
"type": "boolean"
},
{
"name": "link",
"type": "url",
"description": "book page"
}
]
}'
import requests
url = "https://ai-web-scraper-extract-structured-data-to-json.p.rapidapi.com/v1/scraper/extract"
payload = {
"url": "https://books.toscrape.com/",
"multiple": True,
"max_items": 20,
"fields": [
{
"name": "title",
"type": "string",
"description": "full book title"
},
{
"name": "price",
"type": "number",
"description": "price in GBP"
},
{
"name": "in_stock",
"type": "boolean"
},
{
"name": "link",
"type": "url",
"description": "book page"
}
]
}
headers = {
"X-RapidAPI-Key": "YOUR_API_KEY",
"X-RapidAPI-Host": "ai-web-scraper-extract-structured-data-to-json.p.rapidapi.com",
}
r = requests.post(url, json=payload, headers=headers)
print(r.json())
const res = await fetch("https://ai-web-scraper-extract-structured-data-to-json.p.rapidapi.com/v1/scraper/extract", {
method: "POST",
headers: {
"X-RapidAPI-Key": "YOUR_API_KEY",
"X-RapidAPI-Host": "ai-web-scraper-extract-structured-data-to-json.p.rapidapi.com",
"Content-Type": "application/json",
},
body: JSON.stringify({
"url": "https://books.toscrape.com/",
"multiple": true,
"max_items": 20,
"fields": [
{
"name": "title",
"type": "string",
"description": "full book title"
},
{
"name": "price",
"type": "number",
"description": "price in GBP"
},
{
"name": "in_stock",
"type": "boolean"
},
{
"name": "link",
"type": "url",
"description": "book page"
}
]
}),
});
console.log(await res.json());
{
"url": "https://books.toscrape.com/",
"final_url": "https://books.toscrape.com/",
"title": "All products | Books to Scrape - Sandbox",
"items": [
{
"title": "A Light in the Attic",
"price": 51.77,
"in_stock": true,
"link": "https://books.toscrape.com/catalogue/a-light-in-the-attic_1000/index.html"
},
{
"title": "Tipping the Velvet",
"price": 53.74,
"in_stock": true,
"link": "https://books.toscrape.com/catalogue/tipping-the-velvet_999/index.html"
}
],
"item_count": 20,
"page_truncated": false,
"credits": 30
}
Extract Structured Data: POST /v1/scraper/extract. A real call and its real response.
What the AI Web Scraper API returns
Name the data you want; the AI reads the page and fills it in. No CSS selectors, no maintenance when the layout changes.
- Your schema
- Up to 30 typed fields:
string,number,integer,boolean,url,date,list - Lists
multiple: truereturns every item (products, jobs, results...), up to 100 per page- Verified values
- Text that is not on the page is returned as
null, never invented - Clean output
- Absolute URLs, ISO dates, plain numbers
- Reads schema.org JSON-LD
- Too, where prices and dates often hide
/markdown- Any page as LLM-ready Markdown, no AI, 1 credit
Endpoints
Host ai-web-scraper-extract-structured-data-to-json.p.rapidapi.com, header X-RapidAPI-Key. Parameters and examples for each one are in the API reference.
Extraction
Your fields, extracted from any page and checked against it.
Markdown
Any page as clean Markdown, no AI.
Use cases
- Price monitoring. Products, prices and stock from any shop
- Lead lists. Directories and member pages to rows
- Job aggregation. Titles, locations and links from career pages
- RAG & AI agents.
/markdownfor clean context
Tutorial
Web data & tools
Pricing
Extract: 10 credits per page (20 over 10,000 characters of text), +5 per 5 items. Markdown: 1 credit. Failed calls are never billed.
| Plan | Price | Credits included | Above the quota |
|---|---|---|---|
| BASIC | Free | 30 / day | resets every day |
| PRO | $4.99/mo | 10,000 / month | $0.005 per credit |
| ULTRA | $14.99/mo | 30,000 / month | $0.005 per credit |
| MEGA | $49.99/mo | 100,000 / month | $0.005 per credit |
Subscribe on RapidAPI (opens in a new tab)
No code: the Apify actor
The AI Web Scraper - Any Website to JSON & Markdown actor runs the same engine on a list of inputs and exports a table (JSON, CSV, Excel, Google Sheets). It is billed per result; free-plan users get 10 pages per run.
| Event | Charged for | Price |
|---|---|---|
page-extraction | Each page read by the AI | $0.01 |
item | Each item of a list | $0.0003 |
markdown-page | Each page converted to Markdown | $0.0006 |











