ScrapingAnt
Overviewβ
ScrapingAnt is a web scraping API with headless browser capabilities, proxies, and anti-bot bypass. It allows for extracting web page data into accessible LLM markdown.
This particular integration uses only Markdown extraction feature, but don't hesitate to reach out to us if you need more features provided by ScrapingAnt, but not yet implemented in this integration.
Integration detailsβ
Class | Package | Local | Serializable | JS support |
---|---|---|---|---|
ScrapingAntLoader | langchain_community | β | β | β |
Loader featuresβ
Source | Document Lazy Loading | Async Support |
---|---|---|
ScrapingAntLoader | β | β |
Setupβ
Install ScrapingAnt Python SDK and he required Langchain packages using pip:
pip install scrapingant-client langchain langchain-community
Instantiationβ
from langchain_community.document_loaders import ScrapingAntLoader
scrapingant_loader = ScrapingAntLoader(
["https://scrapingant.com/", "https://example.com/"], # List of URLs to scrape
api_key="<YOUR_SCRAPINGANT_TOKEN>", # Get your API key from https://scrapingant.com/
continue_on_failure=True, # Ignore unprocessable web pages and log their exceptions
)
[Document(metadata={'url': 'https://scrapingant.com/'}, page_content="![](images/loader.svg)\n\n[![](images/ScrapingAnt-1.svg)](/) Features Pricing\n\nServices\n\n[Web Scraping API](/) [LLM-ready data extraction](/llm-ready-data-extraction)\n[AI data scraping](/ai-data-scraper) [Residential Proxy](/residential-proxies)\n\n[Blog](https://scrapingant.com/blog/)\n\nDocumentatation\n\n[Web Scraping API](https://docs.scrapingant.com) [Residential\nProxies](https://proxydocs.scrapingant.com)\n\nContact Us\n\n[Sign In](https://app.scrapingant.com/login)\n\n![](images/icon-menu.svg)\n\n![](images/Capterra-Rating.png)\n\n# Enterprise-Grade Scraping API. \nAnt Sized Pricing.\n\n## Get the mission-critical speed, reliability, and features you need at a\nfraction of the cost! \n\nGot Questions? \n(get expert advice)\n\n[ Try Our Free Plan (10,000 API Credits) ](https://app.scrapingant.com/signup)\n\n![](images/lines-10-white.svg)![](images/lines-12-white.svg)\n\n### Proudly scaling with us\n\n![](images/_2cd6c6d09d261d19_281d72aa098ecca8.png)![](images/_bb8ca9c8d001abd4_dc29a36ce27bdee8_1_bb8ca9c8d001abd4_dc29a36ce27bdee8.png)![](images/_d84700234b61df23_9abf58d176a2d7fc.png)![](images/_ca6d37170ae5cd25_fca779750afd17ef.png)![](images/Screenshot-2024-05-22-at-23.28.16.png)\n\n### Industry Leading Pricing\n\nFrom our generous 10,000 API credit free plan to our industry leading paid\nplans, we strive to provide unbeatable bang for your buck. That's just what\nants do! \n\u200d\n\n![](images/industry-leading-prcing--compressed.webp)\n\nCost per 1,000 API Credits - Level 1 Plan\n\n### Unparalleled Value\n\nLow cost per API credit is great, but whatβs even more important is how much\ndata you can actually collect for each credit spent. Like any good Ant we\nnever waste a crumb!\n\n![](images/unparalleled-value-compressed.webp)\n\nGoogle SERP API - Cost per 1,000 Requests β Level 1 Plan\n\n![](images/Doodle-4-White.svg)![](images/Doodle-Left-1-White.svg)\n\n## Ultimate Black Box Scraping Solution\n\n### Unlimited Concurrency \n\u200d\n\nWith unlimited parallel requests easily gather LARGE volumes of data from\nmultiple locations in record time. Available on ALL plan levels. \n\u200d\n\n### Lightning Fast Scraping WITHOUT Getting Blocked\n\nOur proprietary algo seamlessly switches to the exact right proxy for almost\nany situation, saving you and your dev team countless hours of frustration. \n\u200d\n\n#### What's inside?\n\n * Chrome Page Rendering\n\n * Low Latency Rotating Proxies \n\n * Javascript Execution\n\n * Custom Cookies\n\n * Fastest AWS & Hetzner Servers\n\n * Unlimited Parallel Requests\n\n * Headless Browsers \n\n * Residential Proxies\n\n * Supports All Programming Languages & Proxy\n\n * CAPTCHA Avoidance\n\n[ Try Our Free Plan (10,000 API Credits) ](https://app.scrapingant.com/signup)\n\n![](images/Doodle-3-White.svg)\n\n###### Metrics\n\n## The most reliable web scraping API\n\nOur clients have saved up to 40% of data collection budgets by integrating\nScrapingAnt API instead of self-made solutions development.\n\n99.99%\n\nUptime over the last year.\n\n85.5%\n\nAnti-scraping avoidance rate with our custom cloud browser solution\n\n![](images/icon-gallery-dark.svg)\n\n### Unlimited parallel requests\n\n![](images/icon-id-dark.svg)\n\n### 3+ million proxy servers across the world\n\n![](images/icon-switcher-white.svg)\n\n### Open your web page as in a real browser\n\n![](images/Doodle-9-Dark.svg)\n\nSimple API integration\n\n1\n\n### Choose your plan\n\nWe offer subscription plans, or you can always request custom pricing. \n **Free for personal use!**\n\n2\n\n### Test the API\n\nScrape your target website with our **UI request executor** or generate\nscraping code for your preferred language.\n\n3\n\n### Scrape the Web\n\nBuild your data extraction pipeline using our **API** and forget about **rate\nlimits** and **blocks**.\n\n![](images/Doodle-4-White.svg)![](images/Doodle-Left-1-White.svg)\n\n###### Pricing\n\n## Industry leading pricing that scales with your business.\n\n### Enthusiast\n\n#### 100.000 API credits\n\n$19\n\n/mo\n\nIdeal for freelancers or students.\n\n[ Get Started ](https://app.scrapingant.com/signup)\n\n![](images/check-small.svg)\n\nEmail support\n\n![](images/check-small.svg)\n\nDocumentation-only integration\n\n### Startup\n\n#### 500.000 API credits\n\n$49\n\n/mo\n\nFor small to medium sized teams looking to grow. \n \nPopular choice!\n\n[ Get Started ](https://app.scrapingant.com/signup)\n\n![](images/check-small.svg)\n\nPriority email support\n\n![](images/check-small.svg)\n\nExpert assistance\n\n![](images/check-small.svg)\n\nIntegration with custom code snippets\n\n### Business\n\n#### 3.000.000 API credits\n\n$249\n\n/mo\n\nFor larger teams and companies.\n\n[ Get Started ](https://app.scrapingant.com/signup)\n\n![](images/check-small.svg)\n\nPriority email support\n\n![](images/check-small.svg)\n\nLive integration calls\n\n![](images/check-small.svg)\n\nExpert guidance and integration planning\n\n![](images/check-small.svg)\n\nCustom proxy pools\n\n![](images/check-small.svg)\n\nCustom avoidances\n\n![](images/check-small.svg)\n\nDedicated manager\n\n### Business Pro\n\n#### 8.000.000 API credits\n\n$599\n\n/mo\n\nExtended volume Business plan.\n\n[ Get Started ](https://app.scrapingant.com/signup)\n\n![](images/check-small.svg)\n\nPriority email support\n\n![](images/check-small.svg)\n\nLive integration calls\n\n![](images/check-small.svg)\n\nExpert guidance and integration planning\n\n![](images/check-small.svg)\n\nCustom proxy pools\n\n![](images/check-small.svg)\n\nCustom avoidances\n\n![](images/check-small.svg)\n\nDedicated manager\n\n### Custom Plan\n\n#### 10M+ API credits\n\n$699+\n\n/mo\n\nExplore custom deals and services we could provide for Enterprise level\ncustomers.\n\n[ Contact us ](https://app.scrapingant.com/signup)\n\n![](images/check-small.svg)\n\nFully customisable solution\n\n![](images/check-small.svg)\n\nResidential Proxy special prices\n\n![](images/check-small.svg)\n\nSLA\n\n[![](images/Capterra-\nRating.png)](https://www.capterra.com/p/214735/ScrapingAnt/reviews/)\n\nβ
β
β
β
β
\n\n![](images/5521ce5758e089d7d7f5d226a2e995c3.jpg)\n\n#### βOnboarding and API integration was smooth and clear. Everything works\ngreat. The support was excellent. **Overall a great scraper**.β\n\nIllia K., Android Software Developer\n\nβ
β
β
β
β
\n\n![](images/e57164aafb18d9a888776c96cf159368.jpg)\n\n#### βGreat communication with co-founders helped me to get the job done.\nGreat proxy diversity and good price.β\n\nAndrii M., Senior Software Engineer\n\nβ
β
β
β
β
\n\n![](images/Dmytro-T..jpg)\n\n#### βThis product helps me to scale and extend my business. The API is easy\nto integrate and support is really good.β\n\nDmytro T., Senior Software Engineer\n\n![](images/Doodle-7-Dark.svg)![](images/Doodle-8-Dark.svg)\n\n#### Frequently asked questions.\n\nIf you have any further questions, [Get in\ntouch](https://scrapingant.com/#contact) with our friendly team\n\n##### What is ScrapingAnt?\n\n![](images/icon-arrow-right.svg)\n\nScrapingAnt is a service that helps you to solve scraping tasks of any\ncomplexity. With using of millions proxies around the World and a whole\nheadless browser cluster we can provide you the best web harvesting and\nscraping experience. \n \nScrapingAnt also provides a custom software development service. Data\nharvesting, data storage or data querying - we can provide you the best and\naffordable custom solution that fits all your needs.\n\n##### **What is an API Credit?**\n\n![](images/icon-arrow-right.svg)\n\nEach subscription plan contains a particular amount of API credits per month.\nDepending on the parameters you configures your API calls it will cost you\nfrom one to several credits. By default, each request costs 10 API credits\nbecause JavaScript rendering and Standard proxies are enabled. [Learn more\nabout requests costs](https://docs.scrapingant.com/api-credits-usage).\n\n##### I'm not a developer, can you create custom scraping solutions for me?\n\n![](images/icon-arrow-right.svg)\n\nYes of course! We regularly create custom scraping scripts and projects for\nour clients. We are also partnering with several custom software development\ncompanies, so we won't never be out of resources to help with a scraping\nproject of any size. Just [Contact Us](https://scrapingant.com/#contact) and\ndescribe your needs.\n\n##### Do I need a credit cart to start the free trial?\n\n![](images/icon-arrow-right.svg)\n\nScrapingAnt provides a completely free subscription plan which contains 10.000\nAPI credits that can be consumed during month. Until you will need more - it\nis completely free and doesn't require a credit card.\n\n### βOur clients are pleasantly surprised by the response speed of our team.β\n\n![](images/oleg-cartoon-image.jpg)\n\nOleg Kulyk, \nScrapingAnt Founder\n\n* Our team will contact you ASAP.\n\nThank you! Your submission has been received!\n\nOops! Something went wrong while submitting the form.\n\n![](images/illustration-speed-lines-white.svg)\n\n## Grow your business with us\n\n[ Try Our Free Plan! ](https://app.scrapingant.com/signup)\n\n[\n\n## Features\n\n](https://scrapingant.com/#features) [\n\n## Pricing\n\n](https://scrapingant.com/#pricing) [\n\n## Blog\n\n](https://scrapingant.com/blog/) [\n\n## Documentation\n\n](https://docs.scrapingant.com/) [\n\n## Web Scraping API\n\n](https://scrapingant.com) [\n\n## LLM-ready web data\n\n](llm-ready-data-extraction.html) [\n\n## Residential Proxy\n\n](residential-proxies.html) [\n\n## Custom Scraper Development\n\n](https://scrapingant.com/custom-scraping-solution) [\n\n## Affiliate program\n\n](https://scrapingant.com/legal/affiliate/) [\n\n## Free proxies\n\n](https://scrapingant.com/free-proxies/)\n\n###### Web Scraping 101 \n\n[What is Web Scraping?](https://docs.scrapingant.com/web-scraping-101/what-is-\nweb-scraping) [**Is Web Scraping Legal?**](https://scrapingant.com/blog/is-\nweb-scraping-legal) [**10 Main Proxy\nTypes**](https://scrapingant.com/blog/main-proxy-types) [Datacenter vs\nResidential Proxies](https://scrapingant.com/blog/residential-vs-datacenter-\nproxy-webscraping) [Best Proxy Scraping\nTools](https://scrapingant.com/blog/top-open-source-proxy-scrapers)\n[**Overcoming scraping challenges with Web Scraping\nAPI**](https://scrapingant.com/blog/data-scraping-challenges) [IP rate-\nlimiting avoidance](https://scrapingant.com/blog/avoid-ip-rate-limiting)\n[Rotating proxies with Puppeteer](https://scrapingant.com/blog/how-to-use-\nrotating-proxies-with-puppeteer) [Scraping Dynamic Website with\nPython](https://scrapingant.com/blog/scrape-dynamic-website-with-python) [Web\nScraping with Python](https://scrapingant.com/blog/top-5-popular-python-\nlibraries-for-web-scraping-in-2020) [Web Scraping with\nJava](https://scrapingant.com/blog/web-scraping-java) [Web Scraping with\nNodeJS](https://scrapingant.com/blog/web-scraping-javascript) [Web Scraping\nwith Deno](https://scrapingant.com/blog/deno-web-scraping) [**Web Scraping\nwith R**](https://scrapingant.com/blog/r-web-scraping) [**Web Scraping with\nPHP**](https://scrapingant.com/blog/web-scraping-php) [**Web Scraping with\nGo**](https://scrapingant.com/blog/web-scraping-go)\n\n###### Use Cases \n\n[**Real estate decisions with Booking.com\nscraping**](https://scrapingant.com/blog/booking-data-scraping) [**Sneaker\nPrice Data Collection with Web Scraping\nAPI**](https://scrapingant.com/blog/sneakers-scraping-api) [**Best Web\nScraping APIs For Freelancers**](https://scrapingant.com/blog/best-web-\nscraping-api-freelance) [**Smart NFT Decisions with Data\nCollection**](https://scrapingant.com/blog/nft-data-collection) [**How Data\nCollection Can Improve HR Processes**](https://scrapingant.com/blog/data-\ncollection-for-hr-processes) [**Rule eCommerce with Data\nCollection**](https://scrapingant.com/blog/data-collection-for-ecommerce)\n[**How companies use Web Scraping to gain a Competitive\nEdge**](https://scrapingant.com/blog/how-companies-use-web-scraping)\n[**Benefits of Web Scraping for\nHospitality**](https://scrapingant.com/blog/web-scraping-for-hospitality)\n[**Uses of Web Scraping for Price\nMonitoring**](https://scrapingant.com/blog/web-scraping-for-price-monitoring)\n[**Benefits of Web Scraping for Real\nEstate**](https://scrapingant.com/blog/web-scraping-for-real-estate) [**Web\nScraping for Data Scientists**](https://scrapingant.com/blog/web-scraping-for-\ndata-scientists) [**How to Collect Data from\nTikTok**](https://scrapingant.com/blog/web-scraping-for-price-monitoring)\n\n###### Legal \n\n[Terms of Use](https://scrapingant.com/legal/terms-of-use) [Privacy\nPolicy](https://scrapingant.com/legal/privacy-policy) [Cookies\nPolicy](https://scrapingant.com/legal/cookies-policy)\n\n###### External Links \n\n[Github](https://github.com/ScrapingAnt)\n[Linkedin](https://linkedin.com/company/scrapingant)\n[Facebook](https://www.facebook.com/scrapingant)\n[Twitter](https://twitter.com/ScrapingAnt)\n\n[![](images/ScrapingAnt-2.svg)](https://scrapingant.com)\n\nΒ© Copyright ScrapingAnt \nPowered by [DATAANT](https://scrapingant.com)\n\n![](images/lines-13-white.svg)\n\nBy browsing this site, you agree to our [Cookies\nPolicy](https://scrapingant.com/legal/cookies-policy)\n\n![](images/icon-x_1.svg)\n\n"), Document(metadata={'url': 'https://example.com/'}, page_content='# Example Domain\n\nThis domain is for use in illustrative examples in documents. You may use this\ndomain in literature without prior coordination or asking for permission.\n\n[More information...](https://www.iana.org/domains/example)\n\n')]
The ScrapingAntLoader also allows providing a dict - scraping config for customizing the scrape request. As it is based on the ScrapingAnt Python SDK you can pass any of the common arguments to the scrape_config
parameter.
from langchain_community.document_loaders import ScrapingAntLoader
scrapingant_config = {
"browser": True, # Enable browser rendering with a cloud browser
"proxy_type": "datacenter", # Select a proxy type (datacenter or residential)
"proxy_country": "us", # Select a proxy location
}
scrapingant_additional_config_loader = ScrapingAntLoader(
["https://scrapingant.com/"],
api_key="<YOUR_SCRAPINGANT_TOKEN>", # Get your API key from https://scrapingant.com/
continue_on_failure=True, # Ignore unprocessable web pages and log their exceptions
scrape_config=scrapingant_config, # Pass the scrape_config object
)
[Document(metadata={'url': 'https://scrapingant.com/'}, page_content="![](images/loader.svg)\n\n[![](images/ScrapingAnt-1.svg)](/) Features Pricing\n\nServices\n\n[Web Scraping API](/) [LLM-ready data extraction](/llm-ready-data-extraction)\n[AI data scraping](/ai-data-scraper) [Residential Proxy](/residential-proxies)\n\n[Blog](https://scrapingant.com/blog/)\n\nDocumentatation\n\n[Web Scraping API](https://docs.scrapingant.com) [Residential\nProxies](https://proxydocs.scrapingant.com)\n\nContact Us\n\n[Sign In](https://app.scrapingant.com/login)\n\n![](images/icon-menu.svg)\n\n![](images/Capterra-Rating.png)\n\n# Enterprise-Grade Scraping API. \nAnt Sized Pricing.\n\n## Get the mission-critical speed, reliability, and features you need at a\nfraction of the cost! \n\nGot Questions? \n(get expert advice)\n\n[ Try Our Free Plan (10,000 API Credits) ](https://app.scrapingant.com/signup)\n\n![](images/lines-10-white.svg)![](images/lines-12-white.svg)\n\n### Proudly scaling with us\n\n![](images/_2cd6c6d09d261d19_281d72aa098ecca8.png)![](images/_bb8ca9c8d001abd4_dc29a36ce27bdee8_1_bb8ca9c8d001abd4_dc29a36ce27bdee8.png)![](images/_d84700234b61df23_9abf58d176a2d7fc.png)![](images/_ca6d37170ae5cd25_fca779750afd17ef.png)![](images/Screenshot-2024-05-22-at-23.28.16.png)\n\n### Industry Leading Pricing\n\nFrom our generous 10,000 API credit free plan to our industry leading paid\nplans, we strive to provide unbeatable bang for your buck. That's just what\nants do! \n\u200d\n\n![](images/industry-leading-prcing--compressed.webp)\n\nCost per 1,000 API Credits - Level 1 Plan\n\n### Unparalleled Value\n\nLow cost per API credit is great, but whatβs even more important is how much\ndata you can actually collect for each credit spent. Like any good Ant we\nnever waste a crumb!\n\n![](images/unparalleled-value-compressed.webp)\n\nGoogle SERP API - Cost per 1,000 Requests β Level 1 Plan\n\n![](images/Doodle-4-White.svg)![](images/Doodle-Left-1-White.svg)\n\n## Ultimate Black Box Scraping Solution\n\n### Unlimited Concurrency \n\u200d\n\nWith unlimited parallel requests easily gather LARGE volumes of data from\nmultiple locations in record time. Available on ALL plan levels. \n\u200d\n\n### Lightning Fast Scraping WITHOUT Getting Blocked\n\nOur proprietary algo seamlessly switches to the exact right proxy for almost\nany situation, saving you and your dev team countless hours of frustration. \n\u200d\n\n#### What's inside?\n\n * Chrome Page Rendering\n\n * Low Latency Rotating Proxies \n\n * Javascript Execution\n\n * Custom Cookies\n\n * Fastest AWS & Hetzner Servers\n\n * Unlimited Parallel Requests\n\n * Headless Browsers \n\n * Residential Proxies\n\n * Supports All Programming Languages & Proxy\n\n * CAPTCHA Avoidance\n\n[ Try Our Free Plan (10,000 API Credits) ](https://app.scrapingant.com/signup)\n\n![](images/Doodle-3-White.svg)\n\n###### Metrics\n\n## The most reliable web scraping API\n\nOur clients have saved up to 40% of data collection budgets by integrating\nScrapingAnt API instead of self-made solutions development.\n\n99.99%\n\nUptime over the last year.\n\n85.5%\n\nAnti-scraping avoidance rate with our custom cloud browser solution\n\n![](images/icon-gallery-dark.svg)\n\n### Unlimited parallel requests\n\n![](images/icon-id-dark.svg)\n\n### 3+ million proxy servers across the world\n\n![](images/icon-switcher-white.svg)\n\n### Open your web page as in a real browser\n\n![](images/Doodle-9-Dark.svg)\n\nSimple API integration\n\n1\n\n### Choose your plan\n\nWe offer subscription plans, or you can always request custom pricing. \n **Free for personal use!**\n\n2\n\n### Test the API\n\nScrape your target website with our **UI request executor** or generate\nscraping code for your preferred language.\n\n3\n\n### Scrape the Web\n\nBuild your data extraction pipeline using our **API** and forget about **rate\nlimits** and **blocks**.\n\n![](images/Doodle-4-White.svg)![](images/Doodle-Left-1-White.svg)\n\n###### Pricing\n\n## Industry leading pricing that scales with your business.\n\n### Enthusiast\n\n#### 100.000 API credits\n\n$19\n\n/mo\n\nIdeal for freelancers or students.\n\n[ Get Started ](https://app.scrapingant.com/signup)\n\n![](images/check-small.svg)\n\nEmail support\n\n![](images/check-small.svg)\n\nDocumentation-only integration\n\n### Startup\n\n#### 500.000 API credits\n\n$49\n\n/mo\n\nFor small to medium sized teams looking to grow. \n \nPopular choice!\n\n[ Get Started ](https://app.scrapingant.com/signup)\n\n![](images/check-small.svg)\n\nPriority email support\n\n![](images/check-small.svg)\n\nExpert assistance\n\n![](images/check-small.svg)\n\nIntegration with custom code snippets\n\n### Business\n\n#### 3.000.000 API credits\n\n$249\n\n/mo\n\nFor larger teams and companies.\n\n[ Get Started ](https://app.scrapingant.com/signup)\n\n![](images/check-small.svg)\n\nPriority email support\n\n![](images/check-small.svg)\n\nLive integration calls\n\n![](images/check-small.svg)\n\nExpert guidance and integration planning\n\n![](images/check-small.svg)\n\nCustom proxy pools\n\n![](images/check-small.svg)\n\nCustom avoidances\n\n![](images/check-small.svg)\n\nDedicated manager\n\n### Business Pro\n\n#### 8.000.000 API credits\n\n$599\n\n/mo\n\nExtended volume Business plan.\n\n[ Get Started ](https://app.scrapingant.com/signup)\n\n![](images/check-small.svg)\n\nPriority email support\n\n![](images/check-small.svg)\n\nLive integration calls\n\n![](images/check-small.svg)\n\nExpert guidance and integration planning\n\n![](images/check-small.svg)\n\nCustom proxy pools\n\n![](images/check-small.svg)\n\nCustom avoidances\n\n![](images/check-small.svg)\n\nDedicated manager\n\n### Custom Plan\n\n#### 10M+ API credits\n\n$699+\n\n/mo\n\nExplore custom deals and services we could provide for Enterprise level\ncustomers.\n\n[ Contact us ](https://app.scrapingant.com/signup)\n\n![](images/check-small.svg)\n\nFully customisable solution\n\n![](images/check-small.svg)\n\nResidential Proxy special prices\n\n![](images/check-small.svg)\n\nSLA\n\n[![](images/Capterra-\nRating.png)](https://www.capterra.com/p/214735/ScrapingAnt/reviews/)\n\nβ
β
β
β
β
\n\n![](images/5521ce5758e089d7d7f5d226a2e995c3.jpg)\n\n#### βOnboarding and API integration was smooth and clear. Everything works\ngreat. The support was excellent. **Overall a great scraper**.β\n\nIllia K., Android Software Developer\n\nβ
β
β
β
β
\n\n![](images/e57164aafb18d9a888776c96cf159368.jpg)\n\n#### βGreat communication with co-founders helped me to get the job done.\nGreat proxy diversity and good price.β\n\nAndrii M., Senior Software Engineer\n\nβ
β
β
β
β
\n\n![](images/Dmytro-T..jpg)\n\n#### βThis product helps me to scale and extend my business. The API is easy\nto integrate and support is really good.β\n\nDmytro T., Senior Software Engineer\n\n![](images/Doodle-7-Dark.svg)![](images/Doodle-8-Dark.svg)\n\n#### Frequently asked questions.\n\nIf you have any further questions, [Get in\ntouch](https://scrapingant.com/#contact) with our friendly team\n\n##### What is ScrapingAnt?\n\n![](images/icon-arrow-right.svg)\n\nScrapingAnt is a service that helps you to solve scraping tasks of any\ncomplexity. With using of millions proxies around the World and a whole\nheadless browser cluster we can provide you the best web harvesting and\nscraping experience. \n \nScrapingAnt also provides a custom software development service. Data\nharvesting, data storage or data querying - we can provide you the best and\naffordable custom solution that fits all your needs.\n\n##### **What is an API Credit?**\n\n![](images/icon-arrow-right.svg)\n\nEach subscription plan contains a particular amount of API credits per month.\nDepending on the parameters you configures your API calls it will cost you\nfrom one to several credits. By default, each request costs 10 API credits\nbecause JavaScript rendering and Standard proxies are enabled. [Learn more\nabout requests costs](https://docs.scrapingant.com/api-credits-usage).\n\n##### I'm not a developer, can you create custom scraping solutions for me?\n\n![](images/icon-arrow-right.svg)\n\nYes of course! We regularly create custom scraping scripts and projects for\nour clients. We are also partnering with several custom software development\ncompanies, so we won't never be out of resources to help with a scraping\nproject of any size. Just [Contact Us](https://scrapingant.com/#contact) and\ndescribe your needs.\n\n##### Do I need a credit cart to start the free trial?\n\n![](images/icon-arrow-right.svg)\n\nScrapingAnt provides a completely free subscription plan which contains 10.000\nAPI credits that can be consumed during month. Until you will need more - it\nis completely free and doesn't require a credit card.\n\n### βOur clients are pleasantly surprised by the response speed of our team.β\n\n![](images/oleg-cartoon-image.jpg)\n\nOleg Kulyk, \nScrapingAnt Founder\n\n* Our team will contact you ASAP.\n\nThank you! Your submission has been received!\n\nOops! Something went wrong while submitting the form.\n\n![](images/illustration-speed-lines-white.svg)\n\n## Grow your business with us\n\n[ Try Our Free Plan! ](https://app.scrapingant.com/signup)\n\n[\n\n## Features\n\n](https://scrapingant.com/#features) [\n\n## Pricing\n\n](https://scrapingant.com/#pricing) [\n\n## Blog\n\n](https://scrapingant.com/blog/) [\n\n## Documentation\n\n](https://docs.scrapingant.com/) [\n\n## Web Scraping API\n\n](https://scrapingant.com) [\n\n## LLM-ready web data\n\n](llm-ready-data-extraction.html) [\n\n## Residential Proxy\n\n](residential-proxies.html) [\n\n## Custom Scraper Development\n\n](https://scrapingant.com/custom-scraping-solution) [\n\n## Affiliate program\n\n](https://scrapingant.com/legal/affiliate/) [\n\n## Free proxies\n\n](https://scrapingant.com/free-proxies/)\n\n###### Web Scraping 101 \n\n[What is Web Scraping?](https://docs.scrapingant.com/web-scraping-101/what-is-\nweb-scraping) [**Is Web Scraping Legal?**](https://scrapingant.com/blog/is-\nweb-scraping-legal) [**10 Main Proxy\nTypes**](https://scrapingant.com/blog/main-proxy-types) [Datacenter vs\nResidential Proxies](https://scrapingant.com/blog/residential-vs-datacenter-\nproxy-webscraping) [Best Proxy Scraping\nTools](https://scrapingant.com/blog/top-open-source-proxy-scrapers)\n[**Overcoming scraping challenges with Web Scraping\nAPI**](https://scrapingant.com/blog/data-scraping-challenges) [IP rate-\nlimiting avoidance](https://scrapingant.com/blog/avoid-ip-rate-limiting)\n[Rotating proxies with Puppeteer](https://scrapingant.com/blog/how-to-use-\nrotating-proxies-with-puppeteer) [Scraping Dynamic Website with\nPython](https://scrapingant.com/blog/scrape-dynamic-website-with-python) [Web\nScraping with Python](https://scrapingant.com/blog/top-5-popular-python-\nlibraries-for-web-scraping-in-2020) [Web Scraping with\nJava](https://scrapingant.com/blog/web-scraping-java) [Web Scraping with\nNodeJS](https://scrapingant.com/blog/web-scraping-javascript) [Web Scraping\nwith Deno](https://scrapingant.com/blog/deno-web-scraping) [**Web Scraping\nwith R**](https://scrapingant.com/blog/r-web-scraping) [**Web Scraping with\nPHP**](https://scrapingant.com/blog/web-scraping-php) [**Web Scraping with\nGo**](https://scrapingant.com/blog/web-scraping-go)\n\n###### Use Cases \n\n[**Real estate decisions with Booking.com\nscraping**](https://scrapingant.com/blog/booking-data-scraping) [**Sneaker\nPrice Data Collection with Web Scraping\nAPI**](https://scrapingant.com/blog/sneakers-scraping-api) [**Best Web\nScraping APIs For Freelancers**](https://scrapingant.com/blog/best-web-\nscraping-api-freelance) [**Smart NFT Decisions with Data\nCollection**](https://scrapingant.com/blog/nft-data-collection) [**How Data\nCollection Can Improve HR Processes**](https://scrapingant.com/blog/data-\ncollection-for-hr-processes) [**Rule eCommerce with Data\nCollection**](https://scrapingant.com/blog/data-collection-for-ecommerce)\n[**How companies use Web Scraping to gain a Competitive\nEdge**](https://scrapingant.com/blog/how-companies-use-web-scraping)\n[**Benefits of Web Scraping for\nHospitality**](https://scrapingant.com/blog/web-scraping-for-hospitality)\n[**Uses of Web Scraping for Price\nMonitoring**](https://scrapingant.com/blog/web-scraping-for-price-monitoring)\n[**Benefits of Web Scraping for Real\nEstate**](https://scrapingant.com/blog/web-scraping-for-real-estate) [**Web\nScraping for Data Scientists**](https://scrapingant.com/blog/web-scraping-for-\ndata-scientists) [**How to Collect Data from\nTikTok**](https://scrapingant.com/blog/web-scraping-for-price-monitoring)\n\n###### Legal \n\n[Terms of Use](https://scrapingant.com/legal/terms-of-use) [Privacy\nPolicy](https://scrapingant.com/legal/privacy-policy) [Cookies\nPolicy](https://scrapingant.com/legal/cookies-policy)\n\n###### External Links \n\n[Github](https://github.com/ScrapingAnt)\n[Linkedin](https://linkedin.com/company/scrapingant)\n[Facebook](https://www.facebook.com/scrapingant)\n[Twitter](https://twitter.com/ScrapingAnt)\n\n[![](images/ScrapingAnt-2.svg)](https://scrapingant.com)\n\nΒ© Copyright ScrapingAnt \nPowered by [DATAANT](https://scrapingant.com)\n\n![](images/lines-13-white.svg)\n\nBy browsing this site, you agree to our [Cookies\nPolicy](https://scrapingant.com/legal/cookies-policy)\n\n![](images/icon-x_1.svg)\n\n")]
Loadβ
Use the load
method to scrape the web pages and get the extracted markdown content.
# Load documents from URLs as markdown
documents = scrapingant_loader.load()
print(documents)
Lazy Loadβ
Use the 'lazy_load' method to scrape the web pages and get the extracted markdown content lazily.
# Lazy load documents from URLs as markdown
lazy_documents = scrapingant_loader.lazy_load()
for document in lazy_documents:
print(document)
API referenceβ
This loader is based on the ScrapingAnt Python SDK. For more configuration options, see the common arguments
Relatedβ
- Document loader conceptual guide
- Document loader how-to guides