Provide any URL and a JSON schema. Our API crawls the page, cleans the layout, and extracts structured, validated data instantly. Powered by Gemini 2.5 Flash.
Traditional scrapers break weekly. QueryScrape adapts dynamically to frontend rewrites.
Never write or fix another CSS selector or XPath. The model reads pages visual-first and text-first.
Equipped with headless Playwright to automatically crawl and execute JavaScript for complex Single Page Apps.
Input dynamic definitions and get validated Pydantic-shaped JSON outputs that slot straight into your database.
Powered by Gemini 2.5 Flash, costing under $0.005 per extraction. High profit-margin unit economics.
Define your schema, pass a URL, and extract live data instantly.
Configure parameters and click "Run Extraction" to see structured output.
Plug QueryScrape straight into your existing code in seconds.
import requests
url = "http://YOUR_API_IP:8000/extract"
headers = {
"X-API-Key": "your_secure_sk_key",
"Content-Type": "application/json"
}
payload = {
"url": "https://books.toscrape.com/",
"is_list": True,
"dynamic": False,
"fields": [
{"name": "title", "type": "string", "description": "The book title."},
{"name": "price", "type": "string", "description": "Price of the book."}
]
}
response = requests.post(url, json=payload, headers=headers)
print(response.json())
const fetch = require('node-fetch');
const url = "http://YOUR_API_IP:8000/extract";
const headers = {
"X-API-Key": "your_secure_sk_key",
"Content-Type": "application/json"
};
const payload = {
url: "https://books.toscrape.com/",
is_list: true,
dynamic: false,
fields: [
{ name: "title", type: "string", description: "The book title." },
{ name: "price", type: "string", description: "Price of the book." }
]
};
fetch(url, {
method: 'POST',
headers: headers,
body: JSON.stringify(payload)
})
.then(res => res.json())
.then(json => console.log(json));
curl -X POST "http://YOUR_API_IP:8000/extract" \
-H "X-API-Key: your_secure_sk_key" \
-H "Content-Type: application/json" \
-d '{
"url": "https://books.toscrape.com/",
"is_list": true,
"dynamic": false,
"fields": [
{"name": "title", "type": "string", "description": "The book title."},
{"name": "price", "type": "string", "description": "Price of the book."}
]
}'