JavaScript Scenario

Need to scroll, click, fill inputs or else? We got you covered.

Try ScrapingBee for Free Read the documentation
based on 100+ reviews.
ScrapingBee simplified our day-to-day marketing and engineering operations a lot . We no longer have to worry about managing our own fleet of headless browsers, and we no longer have to spend days sourcing the right proxy provider Mike Ritchie Mike Ritchie CEO @ SeekWell

Interact with the webpage you want to scrape.

Mouse click Wait for CSS/XPath elements to appear Scrolling Input filling Custom JavaScript execution
from scrapingbee import ScrapingBeeClient

client = ScrapingBeeClient(api_key='YOUR-API-KEY')
response = client.get(
    'https://www.scrapingbee.com/blog',
    params={
        'js_scenario': {"instructions": [
            {"wait_for": "#slow_button"},
            {"click": "#slow_button"},
            {"scroll_x": 1000},
            {"wait": 1000},
            {"scroll_x": 1000},
            {"wait": 1000},
            {"fill": ["input_1", "value_1"]}
        ]},
    },
)
DEVELOPER EXPERIENCE

Top-rated support & documentation

Our team is here to guide you when you need the extra assistance. And we're constantly working on new features to make your life easier.

Fantastic documentation

Take a look at our documentation and get started in minutes!

Code samples

Whatever the programming language you enjoy, we have written code samples in Java, Python, Go, PHP, curl and JavaScript.

Knowledge base

Our extensive knowledge base covers the most frequent use cases with code samples.

Exceptional supports

We will quickly answer all your questions by live chat or emails, even the hard ones 😉.

Scrapingbee helps us to retrieve information from sites that use very sophisticated mechanism to block unwanted traffic, we were struggling with those sites for some time now and I'm very glad that we found ScrapingBee. Anton R ★★★★★ CTO (see it on Capterra)

Simple, transparent pricing.

Cancel anytime, no questions asked!

API Credits
Concurrent requests
JavaScript rendering
Rotating & Premium Proxies
Geotargeting
Screenshots, Extraction Rules, Google Search API
Priority Email Support
Dedicated Account Manager
Team Management
Freelance $49/mo
250,000
10
-
-
-
Startup $99/mo
1,000,000
50
-
-
Business + $599/mo
8,000,000
200
All prices are exclusive of VAT.

Need more credits and concurrency per month?

Not sure what plan you need? Try ScrapingBee with 1000 free API calls.

(No credit card required)