AntsData Review: A Deep Dive into its SERP and Web Search APIs AntsData, a data provider offering pre-compiled datasets, SERP APIs, Web Search APIs, and a forthcoming Web Unlocker API, has been reviewed in a hands-on tutorial. The company's Google SERP API allows users to extract structured search results without managing proxies or solving CAPTCHAs, with a pay-as-you-go plan and a $5 free trial credit. The tutorial demonstrates using the API via Python and the company's playground, highlighting its synchronous search mechanism for small jobs and async options for larger tasks. Welcome to this new episode of “The tool of the week” In this article, you’ll discover a data provider that you may not know: AntsData. Their core offer includes pre-compiled datasets, SERP APIs, Web Search APIs, and a Web Unlocker API which is coming soon . Let me introduce you to the company and show you how easy it is to use the services they offer with a couple of hands-on tutorials. Let’s go for it What is AntsData? AntsData https://antsdata.com/en/ is a platform that collects, cleans, and delivers data from across the internet. Thanks to its infrastructure, it delivers data ready for AI workflows and analytics: Its solutions include: Google SERP extraction at scale : AntsData SERP API https://antsdata.com/en/serp-scraping-api/google-search-scrapers/ allows you to retrieve structured search results from Google without managing proxies, solving CAPTCHAs, or building your custom scraping infrastructure. Use Python, curl, JavaScript, or even their playground and get the data without infrastructure overhead. By using this API, you can extract all major SERP features, including organic results, paid ads, featured snippets, knowledge panels, and more. Web Scraper APIs : Get clean data in JSON from YouTube https://antsdata.com/en/web-scraper-api/youtube-scraper/ , X https://antsdata.com/en/web-scraper-api/x-twitter-scraper/ , Amazon https://antsdata.com/en/web-scraper-api/amazon-scraper/ , and more websites. These are the best solutions if you are doing sentiment analysis from social media posts, price tracking, market research scraping https://www.scraping.club/p/data-scraping-market-research , or if you are building RAG systems https://www.scraping.club/p/rag-pipeline-web-scraping . AI-ready datasets : For data enrichment cases, or if you don’t have the right coding skills, AntsData provides ready-to-use datasets https://antsdata.com/en/datasets/app-store-google-play-datasets/ . Custom datasets : If the analytics-ready datasets are not enough for you, you can ask AntsData to create custom datasets for you https://antsdata.com/en/web-scraping-solutions/ . By defining the scraping scenario that fits your needs, the company assists you in delivering the right data for your specific case. On the side of pricing, the company offers a pretty wide range of options, where the interesting one is probably the pay-as-you-go plan with no minimum commitment: How to Use AntsData to Retrieve Web Data From Google SERP Let’s start by retrieving web data using AntsData Google SERP API. Introduction to the SERP API AntsData SERP endpoints are the kind of resources you use for “ask and get an answer” search. In other words, you submit a search query, the server blocks until done, and returns the results. This is a synchronous mechanism, which is different from the async model that works like this: “submit → poll → fetch”. What’s particularly important to remember is that: The synchronous search is the ideal solution for small jobs. Large jobs that exceed the sync window, instead, are more suitable for pollable, asynchronous runs. Here’s a schema that summarizes these two different approaches: This sync API supports the following endpoints, allowing you to retrieve different kinds of results from Google searches: In this tutorial, I’ll use the search endpoint. Below are its parameters: Let’s get into the actual tutorial Prerequisites To reproduce this tutorial, you need the following: A valid AntsData account https://console.antsdata.com/en/register . Python 3.10 https://www.python.org/downloads/ + installed on your machine. Below is the dashboard you’ll see after creating your account: Note that the company provides you with a free trial option, offering 5$ in credits after registration. Use the SERP API Via the Playground To use the Google SERP API, navigate to the Web Access section and click on Playground : Set up your request parameters directly in the playground: For this tutorial, the parameters I set up are the following: Results type : web results. This makes the platform return only web data from Google results. Research query : best running shoes. This is the query for the search engine. Search location : United States. Language : en Google domain : google.com http://google.com/ Page : 2 Result limits : 10 NOTE : To learn more about all the parameters and how to set up their values, read AntsData developers’ technical documentation https://antsdata.com/en/scraping-academy/serp-api-guide/google-serp-api-synchronous-search/ . When ready, click on Run request , and you’ll see the results directly in the dashboard: Below is a partial JSON from the retrieved data: { "organicResults": { "url": "https://www.google.com/search?q=best+running+shoes\u0026uule=w+CAIQICINVW5pdGVkIFN0YXRlcw\u0026gl=us\u0026start=10\u0026pws=0\u0026hl=en", "organic": { "pos": 2, "pos overall": 2, "title": "Top Rated Running Shoes | REI Co-op", "favicon text": "REI", "url shown": "https://www.rei.com › top-rated-running-shoes", "url": "https://www.rei.com/s/top-rated-running-shoes", "desc": "Shop for Top Rated Running Shoes at REI - Browse our extensive selection of trusted outdoor brands and high-quality recreation gear." }, { "pos": 3, "pos overall": 3, "title": "Best Running Shoes For Men | On United States", "favicon text": "on.com", "url shown": "https://www.on.com › Shop", "url": "https://www.on.com/en-us/shop/o/best-running-shoes-for-men?srsltid=AfmBOoqlJHi39Rz0hqhbsQbcn-zIx1pvDbxx8lL7pqB3Qenwkr84hnFc", "desc": "Best sellers · Cloudswift 4 Road Running Shoe in Wolf/Sand · Cloudrunner 2 Waterproof Road Running Shoe in Sand/Dew · Cloudsurfer Max Wide Road Running Shoe in ...Read more" }, ...< Omitted for brevity ... } In the Overview tab, you can download the JSON file with the complete response data: At this point, you may want to know how much this call cost. To discover it, go to Billing : To talk numbers, I spent 0.002$ for 8 results. Use the SERP API in Python If you want to incorporate the data into an AI workflow https://www.scraping.club/p/kadoa-review-ai-powered-scraping , you can call the endpoints in Python, curl, and Node.js. The playground provides you with code you can directly use in your local scripts, after setting up the parameters. If you want to use a Python script, change the autogenerated code from the playground so that the script can save the results in a JSON file. Before changing the code, first create a folder on your local machine: mkdir shoes-scraping Navigate into it: cd shoes-scraping Create a virtual environment: python -m venv venv Activate the virtual environment https://docs.python.org/3/library/venv.html : source venv/bin/activate On Windows: ./venv/scripts/activate In the activated virtual environment, install the requests library https://requests.readthedocs.io/en/latest/ : pip install requests Create a Python file called shoes-scraping.py and write the following code in it: python import requests import json url = "https://api.antsdata.com/v1/serp/google/search" headers = { "Authorization": "Bearer