<script> tags, which may or may not hold the data you are after.
Migrate to Extract
Swap one parameter. Everything else about the request stays the same:- The response shape. Autoparse returns whatever JSON it can find on the page, with no guaranteed keys. Extract returns named fields for the entities on the page, so any code that reads Autoparse output by position or by a key it discovered by inspection needs updating.
- Domain coverage. Extract serves prepared domains. If yours is not prepared yet, request it; preparation usually takes minutes and then applies to every Zenrows API key.
How Autoparse works
Autoparse takes one of two paths, depending on the site:- A dedicated parser, where Zenrows ships one for that site. These cover a limited set of well-known sites and return named fields such as product details, job listings or search results.
- Embedded JSON, everywhere else. Autoparse collects the JSON objects it finds in the page’s
<script>tags and returns them as an array. On sites that render their data into those objects this is useful; on sites that do not, it returns page configuration and little else.
Basic usage
Enable Autoparse by adding theautoparse=true parameter to your Zenrows request:
Where Autoparse is still used
New integrations should start with Extract. These are the cases the parameter covers today: Content extraction needs:- E-commerce scraping - Product catalogs, pricing data, reviews, and specifications
- News and media - Article content, headlines, author information, and publication dates
- Job board aggregation - Job listings, company details, requirements, and salary information
- Real estate data - Property listings, prices, descriptions, and location details
- Event information - Event details, dates, venues, and other event information
- Rapid prototyping - Quick data extraction without writing custom parsers
- Multi-site scraping - Extracting similar data from different website layouts
- Unknown site structures - When you need to explore what data is available
- Proof of concept projects - Testing data availability before building custom solutions
Comparing extraction methods
Troubleshooting
Common issues and solutions
Improving extraction accuracy
When Autoparse doesn’t capture all the data you need:1
Test if the content loads dynamically
Python
2
Bypass protection if the site is blocked
Python
3
Wait for specific elements to appear
Python
4
Contact support or switch to manual parsing
If Autoparse consistently misses the specific fields you need, contact Zenrows support for analysis, or consider switching to the manual CSS Extractor for precise control. Extract may also capture more complete fields once the domain is prepared.
Pricing
Theautoparse=true parameter is included at no additional cost with all Zenrows requests. You only pay extra for JavaScript Render and Premium Proxy when used.
Frequently Asked Questions (FAQ)
What types of websites work best with Autoparse?
What types of websites work best with Autoparse?
Autoparse works best with structured content sites like e-commerce stores, news websites, job boards, real estate listings, and social media platforms. Sites with clear content hierarchy and semantic markup provide the most accurate results.
Can I combine Autoparse with other Zenrows features?
Can I combine Autoparse with other Zenrows features?
Yes, Autoparse works with all Zenrows features, except other output features like JSON Response or Markdown Response. If you also set
extract=auto (Beta) on the same request, Extract takes precedence and Autoparse is ignored for that request.What happens if Autoparse doesn't find the data I need?
What happens if Autoparse doesn't find the data I need?
If Autoparse misses specific data points feel free to contact Zenrows support for analysis or consider switching to manual CSS Extractor for precise control.
Does Autoparse work with JavaScript-heavy websites?
Does Autoparse work with JavaScript-heavy websites?
Autoparse processes whatever HTML is available. For JavaScript-heavy sites, combine it with
js_render=true to ensure dynamic content is loaded before parsing. This combination provides comprehensive extraction for modern web applications.What replaces Autoparse?
What replaces Autoparse?
Extract (
extract=auto). Instead of applying the same general-purpose rules to every website, it builds a dedicated extraction for each individual site, which returns richer fields and adapts automatically when the site’s layout changes. See Migrate to Extract for the parameter swap and what changes in the response.Is the autoparse parameter going away?
Is the autoparse parameter going away?
Not today. It is deprecated, which means it still works and existing integrations keep running, but it is no longer recommended and new work should start with Extract. If a removal is scheduled, it will be announced separately with notice.