Scrape API Reference
Interactive testing for enterprise web scraping.
https://www.search.venym.io/api/v1/scrapeScrape Any Website
Enterprise web scraping with JavaScript rendering, proxy rotation, and comprehensive data extraction
Using demo key. Replace with your actual API key.
The target URL to scrape. Must be a valid HTTP/HTTPS URL.
Execute JavaScript on the page using Chromium browser engine.
CSS selector or XPath to wait for before scraping.
Maximum time to wait for elements in seconds (1-60).
Custom User-Agent string for the request.
Type of proxy to use for the request.
Target country for proxy location (ISO 3166-1 alpha-2).
Extract all links found on the page with metadata.
Extract all images with URLs, alt text, and dimensions.
Extract structured data (JSON-LD, Microdata, RDFa).
Extract meta tags, Open Graph, and Twitter Card data.
Capture a screenshot of the page (requires render_js=true).
Custom HTTP headers to include with the request.
Cookies to include with the request.
import requests
response = requests.post(
"https://www.search.venym.io/api/v1/scrape",
headers={"Authorization": "Bearer " + "demo_sk_scrape_67890"},
json={
"url": "https://example.com/products",
"render_js": true,
"wait_for": "#product-list",
"wait_time": 10,
"proxy_type": "residential",
"proxy_country": "US",
"extract_links": true,
"extract_images": false,
"extract_schema": true,
"extract_meta": true,
"screenshot": false,
"custom_headers": {},
"cookies": {}
}
)
data = response.json()
print(data)Click Test API to see the response
Response Schema
| Field | Type | Description |
|---|---|---|
content | string | The raw HTML content of the scraped page. Example: |
text_content | string | Plain text content extracted from HTML. Example: |
links | array | Array of link objects with URL, text, and attributes. Example: |
images | array | Array of image objects with src, alt, and dimensions. Example: |
schema_data | array | Structured data found on the page. Example: |
meta_data | object | Meta tags, Open Graph, and Twitter Card data. Example: |
screenshot_url | string | URL to the captured screenshot (if enabled). Example: |
load_time | float | Time taken to load and process the page in seconds. Example: |
status_code | integer | HTTP status code returned by the target server. Example: |
final_url | string | Final URL after following redirects. Example: |
credits_used | integer | Number of API credits consumed by this request. Example: |
Enterprise Features
- • Chromium browser engine
- • Full ES6+ support
- • DOM manipulation
- • AJAX/Fetch requests
- • 100M+ residential IPs
- • 200+ countries
- • Automatic rotation
- • High-speed datacenters
- • Browser fingerprinting
- • Bot detection bypass
- • CAPTCHA handling
- • Behavioral mimicking
- • Structured data parsing
- • Link extraction
- • Image processing
- • Meta data analysis
Bulk Scraping
/v1/scrape/bulkProcess up to 100 URLs simultaneously with intelligent load balancing and error handling.
{
"urls": [
"https://site1.com/page1",
"https://site2.com/page2",
"https://site3.com/page3"
],
"render_js": true,
"concurrent_requests": 3,
"retry_failed": true,
"max_retries": 2
}Error Codes
Page scraped successfully
Invalid URL or parameters
Target site blocked the request
Target site took too long to respond
Common Use Cases
E-commerce Data
Extract product details, prices, and inventory
{
"url": "https://shop.example.com/product/123",
"render_js": true,
"wait_for": ".price",
"extract_schema": true,
"extract_images": true
}News Articles
Extract article content and metadata
{
"url": "https://news.example.com/article/123",
"extract_meta": true,
"extract_links": true,
"proxy_type": "residential"
}Social Media
Scrape posts, comments, and user profiles
{
"url": "https://social.example.com/profile/user",
"render_js": true,
"wait_for": ".posts-container",
"screenshot": true,
"proxy_type": "residential"
}Real Estate
Extract property listings and details
{
"url": "https://realty.example.com/listing/123",
"extract_schema": true,
"extract_images": true,
"extract_meta": true,
"proxy_country": "US"
}