- Takes: URL
- Active: contacts the target
- Cost: render=true 10 credits; premium=true 10 (25 with render); ultra_premium=true 30 (75 with render)
Returns the content of the target URL. Put ScraperAPI parameters before url. Rendering and premium options cost more credits.
Query parameters
urlThe page to fetch
renderRun JavaScript and return the rendered HTML
country_codeSend the request from a proxy in this country
premiumUse residential and mobile IPs; cannot be combined with ultra_premium
ultra_premiumAdvanced bypass mechanisms; cannot be combined with premium
session_numberReuse the same proxy across requests; expires 15 minutes after last use
device_typeDesktop or mobile user agent
screenshotTake a screenshot of the page; turns on rendering
output_formatResponse file type for general scraping
follow_redirectFollow redirects from the site
curl 'https://api.scraperapi.com/?url=https%3A%2F%2Fexample.com%2F&api_key=YOUR_API_KEY'<!doctype html><html><head><title>Example Domain</title></head><body><h1>Example Domain</h1></body></html>