Turn webpages into LLM-ready data at scale with a simple API call

Collect High Quality Data for AI Models and LLMs at Scale

Improve your AI models with large amounts of web data from thousands of sources.

Web scraping data for the AI industry
Collect Data for AI Models

Trusted by 10,000+ data-first companies globally

Turn Web Pages into Ready-to-Use Data to Train LLMs

ScraperAPI’s output_format parameter lets you collect web data in Text or Markdown format automatically, reducing noise in your datasets and saving you time and resources in data cleaning.

Test it yourself

Python
import requests

payload = {
    'api_key': 'YOUR_API_KEY',
    'url': 'https://www.amazon.com/SAMSUNG-Unlocked-Smartphone-High-Res-Manufacturer/dp/B0DCLCPN9T/?th=1',
    'country': 'us',
    'output_format': 'text'
}


response = requests.get('https://api.scraperapi.com/', params=payload)
product_data = response.text

with open('product.text', 'w') as f:
    f.write(product_data)
    f.close()
sample text response
//TRUNCATED
Amazon.com: SAMSUNG Galaxy S24 FE AI Phone, 128GB Unlocked Android Smartphone, High-Res 50MP Camera, Long Battery Life, Brighter Display Screen, US Version, 2024, US 1 Yr Manufacturer Warranty, Graphite : Cell Phones & Accessories


CUSTOMERS WHO VIEWED THIS ITEM ALSO VIEWED

 1. SAMSUNG Galaxy S24 FE AI Phone, 128GB Fully Unlocked Android Smartphone, High-Res 50MP Camera, Long Battery Life, Brighter Di [https://m.media-amazon.com/images/I/61uakkLoHxL._AC_SS57_.jpg]
    
    /SAMSUNG-Galaxy-S24-FE-Smartphone/dp/B0DQR1HKBR/ref=pd_lpo_d_sccl_1/130-5931320-3027909?pd_rd_w=n36gQ&content-id=amzn1.sym.4c8c52db-06f8-4e42-8e56-912796f2ea6c&pf_rd_p=4c8c52db-06f8-4e42-8e56-912796f2ea6c&pf_rd_r=FQFN9ZETM7D1XKR45V7A&pd_rd_wg=8meqH&pd_rd_r=cdf38ec1-9970-4e0c-a200-0c7329c3c386&pd_rd_i=B0DQR1HKBR&psc=1
    SAMSUNG Galaxy S24 FE AI Phone, 128GB Fully Unlocked Android Smartphone, High-Res 50MP Camera, Long Battery Life, Brighter Display Screen, US Version, 2024, Graphite (Renewed) [/SAMSUNG-Galaxy-S24-FE-Smartphone/dp/B0DQR1HKBR/ref=pd_lpo_d_sccl_1/130-5931320-3027909?pd_rd_w=n36gQ&content-id=amzn1.sym.4c8c52db-06f8-4e42-8e56-912796f2ea6c&pf_rd_p=4c8c52db-06f8-4e42-8e56-912796f2ea6c&pf_rd_r=FQFN9ZETM7D1XKR45V7A&pd_rd_wg=8meqH&pd_rd_r=cdf38ec1-9970-4e0c-a200-0c7329c3c386&pd_rd_i=B0DQR1HKBR&psc=1]
    4.213 [/product-reviews/B0DQR1HKBR/?_encoding=UTF8&pd_rd_w=n36gQ&content-id=amzn1.sym.4c8c52db-06f8-4e42-8e56-912796f2ea6c&pf_rd_p=4c8c52db-06f8-4e42-8e56-912796f2ea6c&pf_rd_r=FQFN9ZETM7D1XKR45V7A&pd_rd_wg=8meqH&pd_rd_r=cdf38ec1-9970-4e0c-a200-0c7329c3c386&ref_=pd_lpo]
    $388.74$388.74
 2. SUPFINE Magnetic for iPhone SE Case 2022 (3rd)/2020 (2nd),iPhone 8 Case(Compatible with MagSafe)(Military Grade Drop Protecti [https://m.media-amazon.com/images/I/61frIb6R5JL._AC_SS57_.jpg]
    
    /SUPFINE-Magnetic-Compatible-Protection-Translucent/dp/B0DPMLMHXC/ref=pd_lpo_d_sccl_2/130-5931320-3027909?pd_rd_w=n36gQ&content-id=amzn1.sym.4c8c52db-06f8-4e42-8e56-912796f2ea6c&pf_rd_p=4c8c52db-06f8-4e42-8e56-912796f2ea6c&pf_rd_r=FQFN9ZETM7D1XKR45V7A&pd_rd_wg=8meqH&pd_rd_r=cdf38ec1-9970-4e0c-a200-0c7329c3c386&pd_rd_i=B0DPMLMHXC&psc=1
    SUPFINE Magnetic for iPhone SE Case 2022 (3rd)/2020 (2nd),iPhone 8 Case(Compatible with MagSafe)(Military Grade Drop Protection) Slim Translucent Matte Phone Case,Orange [/SUPFINE-Magnetic-Compatible-Protection-Translucent/dp/B0DPMLMHXC/ref=pd_lpo_d_sccl_2/130-5931320-3027909?pd_rd_w=n36gQ&content-id=amzn1.sym.4c8c52db-06f8-4e42-8e56-912796f2ea6c&pf_rd_p=4c8c52db-06f8-4e42-8e56-912796f2ea6c&pf_rd_r=FQFN9ZETM7D1XKR45V7A&pd_rd_wg=8meqH&pd_rd_r=cdf38ec1-9970-4e0c-a200-0c7329c3c386&pd_rd_i=B0DPMLMHXC&psc=1]
    4.44,126 [/product-reviews/B0DPMLMHXC/?_encoding=UTF8&pd_rd_w=n36gQ&content-id=amzn1.sym.4c8c52db-06f8-4e42-8e56-912796f2ea6c&pf_rd_p=4c8c52db-06f8-4e42-8e56-912796f2ea6c&pf_rd_r=FQFN9ZETM7D1XKR45V7A&pd_rd_wg=8meqH&pd_rd_r=cdf38ec1-9970-4e0c-a200-0c7329c3c386&ref_=pd_lpo]
    $11.04$11.04
 3. SAMSUNG Galaxy A16 5G A Series Cell Phone, Unlocked Android Smartphone, Large AMOLED Display, Durable Design, Super Fast Char [https://m.media-amazon.com/images/I/71KGkQ+KOKL._AC_SS57_.jpg]
    
    /SAMSUNG-Unlocked-Smartphone-Charging-Expandable/dp/B0DLHNWHRF/ref=pd_lpo_d_sccl_4/130-5931320-3027909?pd_rd_w=n36gQ&content-id=amzn1.sym.4c8c52db-06f8-4e42-8e56-912796f2ea6c&pf_rd_p=4c8c52db-06f8-4e42-8e56-912796f2ea6c&pf_rd_r=FQFN9ZETM7D1XKR45V7A&pd_rd_wg=8meqH&pd_rd_r=cdf38ec1-9970-4e0c-a200-0c7329c3c386&pd_rd_i=B0DLHNWHRF&psc=1
    SAMSUNG Galaxy A16 5G A Series Cell Phone, Unlocked Android Smartphone, Large AMOLED Display, Durable Design, Super Fast Charging, Expandable Storage, US Version, 2025, Blue Black [/SAMSUNG-Unlocked-Smartphone-Charging-Expandable/dp/B0DLHNWHRF/ref=pd_lpo_d_sccl_4/130-5931320-3027909?pd_rd_w=n36gQ&content-id=amzn1.sym.4c8c52db-06f8-4e42-8e56-912796f2ea6c&pf_rd_p=4c8c52db-06f8-4e42-8e56-912796f2ea6c&pf_rd_r=FQFN9ZETM7D1XKR45V7A&pd_rd_wg=8meqH&pd_rd_r=cdf38ec1-9970-4e0c-a200-0c7329c3c386&pd_rd_i=B0DLHNWHRF&psc=1]
    4.2175 [/product-reviews/B0DLHNWHRF/?_encoding=UTF8&pd_rd_w=n36gQ&content-id=amzn1.sym.4c8c52db-06f8-4e42-8e56-912796f2ea6c&pf_rd_p=4c8c52db-06f8-4e42-8e56-912796f2ea6c&pf_rd_r=FQFN9ZETM7D1XKR45V7A&pd_rd_wg=8meqH&pd_rd_r=cdf38ec1-9970-4e0c-a200-0c7329c3c386&ref_=pd_lpo]
    $199.99$199.99


 * Cell Phones & Accessories [/cell-phones-service-plans-accessories/b/ref=dp_bc_1?ie=UTF8&node=2335752011]
 * ›
 * Cell Phones [/cell-phone-devices/b/ref=dp_bc_2?ie=UTF8&node=7072561011]





ADD TO YOUR ORDER

 * [https://m.media-amazon.com/images/G/01/product_insurance/images/warranty-short-bullet-point-coverage._CB630304460_.png]
   Coverage for accidental damage including drops, spills, and broken parts, as well as breakdowns (plans vary)
 * [https://m.media-amazon.com/images/G/01/product_insurance/images/warranty-short-bullet-point-support._CB630304272_.png]
   24/7 support when you need it.
 * [https://m.media-amazon.com/images/G/01/product_insurance/images/warranty-short-bullet-point-claim._CB630304272_.png]
   Quick, easy, and frustration-free claims.

Cover this product:
2-Year Protection Plan $149.99
Learn more [javascript:void(0)]
2 Year Mobile Phone Accident Protection Plan
from Asurion, LLC
3.7 205 [/product-reviews/B089MBW5S9/ref=dp_atch_dss_w_r_B0DCLCPN9T_?ie=UTF8&showViewpoints=1]
 * Coverage: Plan starts on the date of purchase. Drops, spills and cracked screens due to normal use covered from day one. Malfunctions covered after the manufacturer's warranty.
 * Easy Claims Process: File a claim anytime online at www.Asurion.com/Amazon or by phone. Most claims approved within minutes. If we can’t repair it, we’ll send you an Amazon.com Gift Card for the purchase price of your covered product or replace it. A service fee will apply. $39 to repair or $99 to replace your phone.
 * Product Eligibility: Plan must be purchased with a product or within 30 days of the product purchase. Pre-existing conditions are not covered.
 * Terms & Details: More information about this protection plan is available within the “Product guides and documents” section. Simply click “User Guide” for more info. Terms & Conditions will be available in Your Orders on Amazon. Asurion will also email your plan confirmation with Terms & Conditions to the address associated with your Amazon account within 24 hours of purchase.
//TRUNCATED
sample markdown response
//TRUNCATED
Amazon.com: SAMSUNG Galaxy S24 FE AI Phone, 128GB Unlocked Android Smartphone, High-Res 50MP Camera, Long Battery Life, Brighter Display Screen, US Version, 2024, US 1 Yr Manufacturer Warranty, Graphite : Cell Phones & Accessories 

* [Cell Phones & Accessories](/cell-phones-service-plans-accessories/b/ref=dp%5Fbc%5F1?ie=UTF8&node=2335752011)
* ›
* [Cell Phones](/cell-phone-devices/b/ref=dp%5Fbc%5F2?ie=UTF8&node=7072561011)

###  Add to your order 

* ![](https://m.media-amazon.com/images/G/01/product_insurance/images/warranty-short-bullet-point-coverage._CB630304460_.png)  
 Coverage for accidental damage including drops, spills, and broken parts, as well as breakdowns (plans vary)
* ![](https://m.media-amazon.com/images/G/01/product_insurance/images/warranty-short-bullet-point-support._CB630304272_.png)  
 24/7 support when you need it.
* ![](https://m.media-amazon.com/images/G/01/product_insurance/images/warranty-short-bullet-point-claim._CB630304272_.png)  
 Quick, easy, and frustration-free claims.

 Cover this product: 

 2-Year Protection Plan $149.99 

[  Learn more ](javascript:void%280%29) 

 2 Year Mobile Phone Accident Protection Plan 

 from Asurion, LLC 

[  3.7  205 ](/product-reviews/B089MBW5S9/ref=dp%5Fatch%5Fdss%5Fw%5Fr%5FB0DCLCPN9T%5F?ie=UTF8&showViewpoints=1) 

* Coverage: Plan starts on the date of purchase. Drops, spills and cracked screens due to normal use covered from day one. Malfunctions covered after the manufacturer's warranty.
* Easy Claims Process: File a claim anytime online at www.Asurion.com/Amazon or by phone. Most claims approved within minutes. If we can’t repair it, we’ll send you an Amazon.com Gift Card for the purchase price of your covered product or replace it. A service fee will apply. $39 to repair or $99 to replace your phone.
* Product Eligibility: Plan must be purchased with a product or within 30 days of the product purchase. Pre-existing conditions are not covered.
* Terms & Details: More information about this protection plan is available within the “Product guides and documents” section. Simply click “User Guide” for more info. Terms & Conditions will be available in Your Orders on Amazon. Asurion will also email your plan confirmation with Terms & Conditions to the address associated with your Amazon account within 24 hours of purchase.

 More details: [  2-Year Protection Plan ](/dp/B089MBW5S9/ref=dp%5Fatch%5Fdss%5Fw%5Flm%5FB0DCLCPN9T%5F) 

 Monthly Mobile Accident Protection Plan $7.49/month 

[  Learn more ](javascript:void%280%29) 

 Asurion Mobile Subscription Plan, 450-499.99 

 from Asurion, LLC 

[  3.5  208 ](/product-reviews/B088YMGJ8J/ref=dp%5Fatch%5Fdss%5Fw%5Fr%5FB0DCLCPN9T%5F?ie=UTF8&showViewpoints=1) 

* COVERAGE: Plan starts on the date of purchase. Drops, spills and cracked screens due to normal use covered from day one. Malfunctions covered after the manufacturer's warranty.
* EXPERT TECH HELP: Real experts available 24/7 to help with set-up, connectivity issues, troubleshooting and much more.
* LOW MONTHLY BILLING: You will be billed monthly for 36 months. Cancel anytime. Coverage ends once plan is canceled, expires or once the aggregate limit is met.
* PRODUCT ELIGIBILITY: Plans cover products purchased in the last 30 days.
* EASY CLAIMS PROCESS: File a claim anytime online or by phone. Most claims approved within minutes. If we can’t repair it, we’ll replace it or send you an Amazon e-gift card for the replacement cost. A service fee will apply. $39 to repair/reimburse, $69 to repair or $129 to replace your phone.

//TRUNCATED

All the Web Data You Need. One Place to Find It

Automate your entire scraping project with us, or select a solution that fits your business goals.

Integrate our proxy pool with your in-house scrapers or our Scraping API to unlock any website.

Easily scrape data, automate rendering, bypass obstacles, and parse search results quickly and efficiently.

Put data collection for AI models on autopilot without writing a single line of code.

How Companies use ScraperAPI for AI and LLM Training

Train AI Models and LLMs with High-Volume, Diverse Web Data

Improved Model Accuracy and Performance

Scale Your Model Complexity with More Data

Get Data for AI Models from Anywhere with No Blocks

ScraperAPI helps you unlock valuable public data from any website using easy-to-setup proxies and scraping tools, letting you gain and maintain a competitive edge.

Collect fresh data daily to enhance your AI models. Schedule intervals for when and where you want data delivered.

ScraperAPI will ensure an uninterrupted data flow and let you connect it anywhere you need.

Collect data from anywhere — tap into thousands of valuable sources and data types. Never get blocked again when scraping data from difficult-to-unblock domains.

Get data at scale and high speed — unlock 100+ concurrent threads with Async Scraper.

Don’t worry about investing in scraping infrastructures. Let ScraperAPI handle the entire data pipeline so your team can focus on what matters: growing your business.

With over 40M proxies across 50+ countries, ScraperAPI lets you bypass geo-restrictions and collect data from local markets, providing contextual, localized data for LLM training.

Enterprise Features Without the Price Tag

Dedicated Account Manager

Your account manager will be there any time your team needs a helping hand.

Professional support

Premium Support

Enterprise customers* get dedicated Slack channels for direct communication with engineers and support.

geolocation

100% Compliant

All data collected and provided to customers are ethically obtained and compliant with all applicable laws.

IP locatations

Global Data Coverage

Get access to a pool of over 40 million IP addresses across the globe.

Integration tutorials

Powerful Scraping Tools

All our tools are designed to simplify the scraping process and collect mass-scale data without getting blocked.

Designed for Scale

Scale your data pipelines while keeping a near-perfect success rate.

*Customers subscribed to $3k+ plans are eligible for dedicated support channels.

What Our Customers
Are Saying

One of the most frustrating parts of automated web scraping is constantly dealing with IP blocks and CAPTCHAs. ScraperAPI gets this task off of your shoulders.

based on 50+ reviews

BigCommerce

Working on large projects and want to test longer?

Get a free consultation from our web scraping experts.