The Scrapestack API is extremely easy to use. It only takes a few lines of code to make your first validation request. All registered users, whether on a free or paid plan, can use our Quickstart Guide to explore the full range of API functionalities with just one click.
- Existing users: Access the Quickstart Guide below.
- New users: Create an account and get started in minutes.
Get onboarded with the Scrapestack API and start scraping immediately!
Step 1: Get Your API Access Key
Sign up for a free account at Scrapestack API to receive your unique access_key. This key is how you authenticate every API request.
This key authenticates your requests and ensures you have access to the API features available under your subscription plan.
Step 2: Make a Request
Use the base endpoint https://api.apilayer.net/scrapestack/scrape, attaching mandatory parameters such as access_key and the url you wish to scrape. Example:
https://api.apilayer.net/scrapestack/scrape?access_key=YOUR_ACCESS_KEY&url=https://example.comStep 3: (Optional) Use advanced parameters if needed
render_js=1— to enable JavaScript rendering (useful for dynamically generated pages).proxy_location=XX— specify a 2-letter country code to proxy from a particular region.premium_proxy=1— use premium residential proxies (counts as 25 API calls) for better reliability.keep_headers=1— to pass through originalHTTPheaders and receive them in the response.
Once you send the request, Scrapestack returns the full HTML content of the requested page (after JS rendering if enabled)
Support & Resources
- Explore commonly used API calls and examples to get the most out of your integration.
- For any assistance, contact our support team anytime.