AI agents: the setup steps for Scrapestack are in the Agents section of this page (#agents) and as Markdown at /products/scrapestack/agents.md. Index of every APILayer API: https://apilayer.com/llms.txt

Scrapestack

Operational

Real-Time, Scalable Proxy & Web Scraping API · by APILayer

  • Scraping
  • HTML
  • 35M+ proxy IPs
  • 100+ locations
Get your API key

Free plan · 100 requests / month · no card

Playground tab is switched off on the live page (AP-6510). Delete this widget to turn it back on.

Overview

API info

Scrapestack provides a simple REST endpoint that returns the full HTML content of any public web page including dynamically rendered content, enabling integration with your application with minimal setup.

Example request

GETShellcurl
curl --request GET \
  --url "https://api.apilayer.net/scrapestack/scrape?access_key=YOUR_ACCESS_KEY&url=https://apple.com"
Run it in the Playground

Example response

200 - OK
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US" dir="ltr">
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
    <link rel="canonical" href="https://www.apple.com/" />
    <title>Apple</title>
</head>
<body>
    <main>
        <h1 class="visuallyhidden">Apple</h1>
        <h2 class="tile-headline typography-tile-headline">iPhone</h2>
    </main>
</body>
</html>

Features

  • Built-In Proxy Rotation and Geolocation Targeting

    Choose from 100+ global locations and leverage millions of datacenter and residential IPs to scrape websites as if from different regions, reducing the risk of blocks and improving deliverability.

  • CAPTCHA Handling & Anti-Bot Support

    The API automatically manages anti-bot challenges and CAPTCHA encounters so you don’t need custom logic or external services to maintain your scraper efficiency.

  • JavaScript Rendering and Custom Requests

    Scrapestack supports full JavaScript execution on target pages and lets you define custom HTTP methods (GET, POST, PUT) and headers, giving you control over how requests are made and responses are rendered.

Pricing

Flexible plans for every stage of growth

Start free. Upgrade when you go live.

MonthlyYearlySave up to 15%

Free

For testing and side projects

$0forever

No credit card

No overage charges

Get free API key

100 requests / month

Includes:

  • HTTPS Encryption
  • Standard Proxies
  • Non-commercial use
  • No support
See all 8 features

Starter

For your first live product

$19.99/ month

Billed monthly

Then $0.0003998 per extra request, up to 400,000 extra a month

Subscribe now

200,000 requests / month

Everything in Free, plus:

  • Concurrent Requests
  • 100+ Geolocations
  • Standard Support
  • Commercial use
See all 8 features
Most popular

Professional

For growing traffic

$79.99/ month

Billed monthly

Then $0.00031996 per extra request, up to 2,000,000 extra a month

Subscribe now

1,000,000 requests / month

Everything in Starter, plus:

  • JavaScript Rendering
  • Premium Proxies
  • 5× the requests of Starter
  • Lower cost per request
See all 8 features

Enterprise

For high volume

$199.99/ month

Billed monthly

Then $0.0002666533 per extra request, up to 6,000,000 extra a month

Subscribe now

3,000,000 requests / month

Everything in Professional, plus:

  • 3× the requests of Professional
  • Lower cost per request
See all 8 features

Custom

Need more? Contact sales for custom needs.

Contact us

Compare all features

8 featuresFree$0Get free keyStarter$19.99/moSubscribeProfessional$79.99/moSubscribeEnterprise$199.99/moSubscribe
HTTPS Encryption
Standard Proxies
Concurrent Requests–
JavaScript Rendering––
100+ Geolocations–
Premium Proxies––
Standard Support–
Commercial use–
Price per extra request after the monthly limitNone$0.0003998$0.00031996$0.0002666533

Playground

Try the API

Build a request in your browser and see the response it returns.

GET
render_js Optional
premium_proxy Optional

Add your free API key to run it from your code.

curl
200 - OK

      
    

Agents

Agents: start here

Steps for AI coding agents that add Scrapestack to a project.

  1. 1Get an API key

    A person creates the account: an agent cannot sign up. Sign up at app.apilayer.com and subscribe to Scrapestack. The Free plan includes 100 requests / month and needs no credit card.

    Copy the API key from the APILayer dashboard and give it to the agent as an environment variable (step 2).

  2. 2Keep the key out of code

    Read the key from an environment variable named APILAYER_ACCESS_KEY. Do not write the key into source code, commit it to git, or paste it into a chat.

    Call Scrapestack from server code. The key travels in the request URL, so a request sent from a browser shows the key to every visitor.

    .env
    # add .env to .gitignore
    APILAYER_ACCESS_KEY=your_api_key
  3. 3Make the first request

    Base URL
    https://api.apilayer.net/scrapestack
    Auth
    access_key query parameter
    Formats
    HTML
    Endpoints
    • /scrape Scrape
    Shell
    curl "https://api.apilayer.net/scrapestack/scrape?access_key=$APILAYER_ACCESS_KEY&url=https://apple.com"

    The API info tab shows the response this request returns.

  4. 4Check the plan before you use a feature

    Each plan adds features to the plan before it. Check that the account's plan includes a feature before writing code that uses it.

    PlanRequests / monthAdds
    Free100HTTPS Encryption, Standard Proxies
    Starter200,000Concurrent Requests, 100+ Geolocations, Standard Support, Commercial use
    Professional1,000,000JavaScript Rendering, Premium Proxies
    Enterprise3,000,000Same features as Professional

    Prices are in the Pricing tab.

  5. 5Use the machine-readable docs

FAQs

Need clarity?

Here are the answers you might be seeking

Data & features

01.What is Scrapestack?

Scrapestack is an API service allowing customers to scrape websites without having to worry about technical issues like proxies, IP blocks, geo-targeting, CAPTCHA solving, and more. Simply send a valid website URL and the Scrapestack API will return its full HTML content (as seen in the browser, including JavaScript rendering) as a response.

To learn more about the API, you can get a free API access key, take a look at the extensive API Documentation and make your first API requests right away.

02.Who runs the API?

Scrapestack is a product built and maintained by APILayer, the company behind 17 developer APIs, including Serpstack, IPstack and Pdflayer. You can learn more on the Why choose APILayer page.

03.What can the Scrapestack API scrape?

Scrapestack returns the complete HTML content of any valid URL. It handles modern web pages that rely on JavaScript, meaning you get the same source a browser would see without additional client-side scraping logic.

04.How does Scrapestack handle anti-scraping defenses like IP blocks?

The API integrates a large pool of both premium residential and standard datacenter proxies. Combined with smart retry strategies and distributed routing, Scrapestack reduces the likelihood of blocks and enables scraping even from locations with regional restrictions.

05.Can Scrapestack operate at enterprise scale?

Yes, built on APILayer’s cloud infrastructure, Scrapestack is designed to scale from development usage to high-volume enterprise extraction, offering concurrent API requests and provisioning resources as demand grows.

06.How scalable is this service?

Scrapestack is a REST API service built on top of APILayer cloud infrastructure, making it highly scalable and capable of handling anything from thousands of API requests per month all the way to millions per day. Powered by a system that scales up and down when needed, the API provides the highest possible level of speed for any API request at any stage.

07.What is the difference between standard (datacenter) proxies and premium (residential) proxies?

Datacenter (we call them "standard") proxies are the most common proxies used on the internet. They are not owned by any ISP and simply mask your origin IP address by showing the datacenter proxy address and the information associated with the company that owns the respective datacenter.

Residential ("premium") proxies provide IP addresses that are connected to real residential addresses and devices, which makes them much less likely to get blocked while scraping the web. We highly recommend using residential proxies for your web scraping needs as they make it easy to work around geo-blocked content and harvest data at scale.

API access

01.What scraping options are configurable via API parameters?

Scrapestack lets you control:

  • render_js: enable JavaScript rendering (Professional plan and above)
  • proxy_location: specify the geolocation origin
  • premium_proxy: select premium proxies (Professional plan and above)
  • keep_headers: preserve original headers in requests

You can also make GET, POST, or PUT requests based on your scraping needs.

02.What is an API Request?

Pricing is based on the number of monthly API requests allowed. Each time the Scrapestack service is used to process a URL, one API request is made. In the event that an error should occur, your request does not count towards the monthly volume.

03.What happens if I exceed my API Request volume?

Users will be automatically notified via e-mail and on their Account Dashboard once at least 75%, 90%, and 100% of their monthly API Request allowance has been reached. After reaching 100% of the allowance, overages fees will apply so we make sure you won’t experience any disruptions and your website/application will keep running smoothly. You can learn more about overages billing here.

04.What is the API's uptime?

Our API's system status is closely monitored around the clock. Every effort is made to ensure the highest possible level of availability and consistency, and we are proud to have an average uptime rate of nearly 100% (99.9%), calculated based on the past 12 months.

There is a public API status page available at the following URL: status.scrapestack.com.

05.What happens if a request fails or exceeds limits?

The API returns structured error codes in JSON when a scrape fails (e.g. a missing or invalid URL or access key issues), allowing your application to handle retries, fallbacks, or alerting logic programmatically. On the Free plan, requests over the monthly limit also return an error. On paid plans, requests over the limit keep running and are billed as overages.

Plans & pricing

01.What is the difference between free and paid subscriptions?

The Scrapestack Free Plan is a way of getting familiar with the API, offering basic API functionality and a limitation of 100 API requests that can be processed by the API per month.

As soon as your use of the API requires a more advanced set of features, such as concurrent requests or premium proxy access, you can choose from one of the available paid subscriptions or contact us for a custom solution.

02.Which subscription plan fits my needs?

The most decisive factor when it comes to your technical requirements is the number of API requests you need to make on a monthly basis. Other factors include HTTPS encryption, access to premium proxies, concurrent requests, a more diverse set of geolocations, and more.

Signing up for the Free Plan is a great way of getting to know the API and implementing it without any commitments.

03.Which payment methods are supported?

Payments can be made via credit card (Visa, MasterCard, Discover, Diner's Club, American Express). Enterprise and high-volume customers may request annual bank transfer payments to be enabled. You can change your payment method at any given time in the "Payment" section of your account dashboard.

04.Can I also pay yearly?

Yes. If you choose annual billing, the total price of your subscription plan will be up to 15% lower than the total amount you would pay with a monthly payment frequency.

05.How do I cancel/downgrade?

You can initiate a cancellation or downgrade by selecting a new plan and providing at least one reason for your decision. The customer service team will cancel or downgrade your plan. Downgrades are not effective immediately; your premium subscription will remain active until the end of the current billing period.

06.How do I change between monthly and yearly billing?

To change your subscription from monthly to yearly billing, submit a request on the Contact Us page following these steps:

Step 1: Sign in to your account.

Step 2: Go to the Contact Us page.

Step 3: Fill out the form and choose the “Sales” category for this request.

Step 4: In the text box, include your specific request, for example “Change from Monthly to Yearly subscription.”

Overages

01.What is an overage?

An overage occurs when you go over a quota for your API plan. When you reach your API calls limit, we will charge you a small amount for each new API call so we can make sure there will be no disruption in the service we provide to you and your website or application can continue running smoothly.

Prices for additional API calls will vary based on your plan. See the table below for prices per call and an example of an overage billing.

PlanMonthly priceRequests / monthPrice per extra requestExtra requestsOverage cost
Starter$19.99200,000$0.000399810,000$4.00
Professional$79.991,000,000$0.0003199610,000$3.20
Enterprise$199.993,000,000$0.000266653310,000$2.67

Note: For complete details, please refer to the overages documentation here.

02.Why does APILayer have overage fees?

Overage fees allow customers to continue using an API once a quota limit is reached. We want to make sure your website or application continues running at all times, so charges will apply if you go over your monthly quota limit. If you notice you are going over your quota limit each month, look on your dashboard for an upgraded plan to help with larger request limits.

03.How do I know if I will be charged for overages?

When you are close to reaching your API calls limit for the month, you will receive an automatic notification (at 75%, 90%, and 100% of your monthly quota). You can keep track of your quota usage to prevent overages by tracking the number of API calls you make and checking the dashboard for up-to-date usage statistics.

04.How will I be charged for my API subscription?

You will be charged for your monthly subscription plan, plus any overage fees applied. Your credit card will be billed after the billing period has ended.

05.What happens if I don't have any overage fees?

In this case, there will be no change to your monthly invoice. Only billing cycles that incur overages will see any difference in monthly charges. The Business Continuity plan is an insurance plan to be used only if needed and guarantees your end users never see a drop in coverage from you.

06.What if I consistently have more API calls than my plan allows?

If your usage consistently surpasses the set limits each month, you may face additional charges for the excess usage. Nevertheless, as your monthly usage reaches a certain threshold, it becomes more practical to consider upgrading to the next plan. By doing so, you ensure a smoother and more accommodating experience for your growing customer base. Find out about our pricing plans here.

07.I would like to upgrade my plan. How can I do that?

You can easily upgrade your plan by going to your Dashboard and selecting the new plan that would be more suitable for your business needs. Additionally, you may contact your Account Manager to discuss a custom plan if you expect a continuous increase in usage.

Still have a question?

Contact support