Help Center

  • Fill out my online form
  • How to get the HTML of a page?

    HTML data can help you build advanced website audit solutions.

    To receive the raw HTML code of a page with DataForSEO OnPage API, add the store_raw_html field to the On-Page API Task POST body and set it to true.

    Example:

    [
      {
        "target": "dataforseo.com",
        "max_crawl_pages": 10,
        "store_raw_html": "true"
      }
    ]

    Once the task is created, copy its ID and call the Raw HTML endpoint.

    Here, you should specify the ID of your task and the url of a page you want to receive HTML data for.

    Example:

    [
      {
        "id": "09161530-2692-0216-0000-e429a13680de",
        "url": "https://dataforseo.com/apis"
      }
    ]

    Once the crawl is finished, the Raw HTML endpoint will provide you with HTML data of the page you specified in the url field.

    {
        "version": "0.1.20210917",
        "status_code": 20000,
        "status_message": "Ok.",
        "time": "0.1204 sec.",
        "cost": 0,
        "tasks_count": 1,
        "tasks_error": 0,
        "tasks": [
            {
                "id": "10051429-2806-0216-0000-74f7a98536e8",
                "status_code": 20000,
                "status_message": "Ok.",
                "time": "0.0581 sec.",
                "cost": 0,
                "result_count": 1,
                "path": [
                    "v3",
                    "on_page",
                    "raw_html"
                ],
                "data": {
                    "api": "on_page",
                    "function": "raw_html",
                    "url": "https://dataforseo.com/apis/serp-api",
                    "target": "dataforseo.com",
                    "max_crawl_pages": 10,
                    "store_raw_html": "true"
                },
                "result": [
                    {
                        "crawl_progress": "finished",
                        "crawl_status": {
                            "max_crawl_pages": 10,
                            "pages_in_queue": 0,
                            "pages_crawled": 10
                        },
                        "items_count": 1,
                        "items": {
                            "html": "\n\n\n\n\n\n\n\nSERP rank position checker API. SERP analysis and keyword tracker API.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    \n
    \n
    \n\n\n
    \n
    \n\n
    \n\n\n \n\n
    \n
    \n
    \n
    \n
    \n
    \nSERP API
    \n
    \nYour one-stop datasource of structured SERP data
    \nTry now\n\n\n\nContact us\n\n
    \n
    \n
    \n
    \n

    Get actionable SERP data hassle-free

    \n
    \n
    \n
    \n
    \n
    \n
    \n

    Data mining can be complicated. Mining search engine data is even more complicated. With DataForSEO SERP API you don’t need to think about the proxies, networks and create parsers for hundreds of constantly changing variables.

    \n

    Focus on the product while we supply all the necessary data for it.

    \n
    \n
    \n
    \n
    \n
    \n
    \"\"
    \n
    \n
    \n
    \n
    \n
    \n
    \"\"
    \n
    \n
    \n
    \n
    \n
    \n
    \n

    Build up the product, not expenses

    \n
    \n
    \n
    \n
    \n
    \n
    \n

    Cost efficiency for search engine data scraping is one of the strongest benefits we can deliver to your business. Working with us, you will no longer need to pay extra. Having millions of IP addresses and our own infrastructure, we can keep the price down with no trade-offs.

    \n
    \n
    \n
    \n
    \n
    \n
    \n

    All the data you need, under one roof

    \n
    \n
    \n
    \n
    \n
    \n
    \n

    We provide our clients with a full spectrum of data. From competitor analysis to rank tracking – you will get everything you need to build an innovative and effective solution.

    \n
    \n
    \n
    \n
    \n
    \n
    \"\"
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n

    Start your unlimited free trial

    \n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n
    \n

    The most comprehensive reflection of SERP at your fingertips

    \n
    \n
    \n
    \n
    \n\n\n\n
    \n
    \n
    \n

    All major search engines supported

    \n
    \n
    \n

    SERP API will provide you with structured data from Google, Bing, Yahoo and Yandex results pages

    \n
    \n
    \n
    \n
    \n\n\n\n
    \n
    \n
    \n

    Advanced SERP features

    \n
    \n
    \n

    \n
    \n
    \n
    \n
    \n
    \n

    In addition to organic and paid results for Bing and Yahoo, you will get a complete overview of Google SERP advanced features, including featured snippets, knowledge graphs and more

    \n
    \n
    \n
    \n
    \n\n\n\n
    \n
    \n
    \n

    Google vertical search

    \n
    \n
    \n

    We can provide you with data from Google Maps, News and Images

    \n
    \n
    \n
    \n
    \n\n\n\n
    \n
    \n
    \n

    Device and OS

    \n
    \n
    \n

    You can set the device and the OS that you want to obtain SERP results for. We support Android/iOS for mobile and Windows/macOS for desktop

    \n
    \n
    \n
    \n
    \n\n\n\n
    \n
    \n
    \n

    Сhoose the format that’s right for you

    \n
    \n
    \n

    We can provide results either in parsed JSON or raw HTML

    \n
    \n
    \n
    \n
    \n\n\n\n
    \n
    \n
    \n

    All locations supported

    \n
    \n
    \n

    For each of the search engines, we support all possible locations

    \n
    \n
    \n
    \n
    \n\n\n\n
    \n
    \n
    \n

    Location-specific results

    \n
    \n
    \n

    Get data for a specific city, GPS coordinates or ZIP code. Narrow down the search area, and see SERPs the way your customers do

    \n
    \n
    \n
    \n
    \n\n\n\n
    \n
    \n
    \n

    100% accuracy

    \n
    \n
    \n

    Our sophisticated technology guarantees that the SERP data you receive is an accurate reflection of what a user sees in the browser

    \n
    \n
    \n
    \n
    \n\n\n\n
    \n
    \n
    \n

    Real-time results

    \n
    \n
    \n

    Using the Live mode of SERP API you’ll get all the data you need right away

    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n

    Didn’t find the feature you were looking for?

    \n

    Want to discuss your use case?

    \n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n

    Release in days, not weeks

    \n
    \n
    \n
    \n
    \n

    Moving a product to the market or integrating a new data source can take a lot of time and money. We accelerate this process by providing everything you need to build an efficient product. 

    \n
    \n
    \n
    \n
    \n
    \n
    \"\"
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n

    Well-rounded documentation

    \n
    \nView\n\n
    \n
    \n
    \n
    \n
    \n

    GUI for API usage control

    \n
    \nRegister\n\n
    \n
    \n
    \n
    \n
    \n

    Comprehensive client libraries for a variety of programming languages

    \n
    \nDownload\n\n
    \n
    \n
    \n
    \n
    \n

    Free sandbox API testing

    \n
    \nLearn more\n\n
    \n
    \n
    \n
    \n
    \n

    Ad hoc integration and deployment support

    \n
    \nContact us\n\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n

    If you need any assistance with DataForSEO APIs integration into your system, or looking for best practices to implement in your solution, we’re always happy to help!

    \n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n
    \n

    Business benefits

    \n
    \n
    \n
    \n\n\n\n\n
    \n
    \n
    \n
    Pay-as-you-go pricing model
    \n
    \n
    \n
    \n
    \n
    \n

    You don’t need to pay fees or subscribe to plans. Just add funds to your account and use them for obtaining data. The balance has no expiry date.

    \n
    \n
    \n
    \n\n\n\n\n
    \n
    \n
    \n
    No bureaucracy
    \n
    \n
    \n
    \n
    \n
    \n

    You don’t need to sign any contracts and be bound by any conditions.

    \n
    \n
    \n
    \n\n\n\n\n
    \n
    \n
    \n
    24/7 support
    \n
    \n
    \n
    \n
    \n
    \n

    Need assistance? Our proactive support team is ready to help you anytime.

    \n
    \n
    \n
    \n\n\n\n\n
    \n
    \n
    \n
    SLA
    \n
    \n
    \n
    \n
    \n
    \n

    We can provide a service-level agreement for enterprise customers.

    \n
    \n
    \n
    \n\n\n\n\n
    \n
    \n
    \n
    Custom solutions
    \n
    \n
    \n
    \n
    \n
    \n

    We can help you find and develop a custom solution that would meet your business needs.

    \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n
    \n\n\n
    Rated 5 from 5 stars
    \n
    \n
    \n\n\n
    Rated 5 from 5 stars
    \n
    \n
    \n
    \n
    \n
    \n
    \nYou’re in a good company
    \n
    \n
    \n

    Join over 750 businesses who made the right choice when selecting their SERP data provider.

    \n
    \n
    \n
    \nJoin Now\n\n
    \n
    \n
    \n

    Reviews

    \n
    \n
    \n
    \n\n\n\n
    \n
    \n
    \n
    \"kaspars-milbergs-review\"
    \n
    \n
    \n
    \n
    \n
    \n
    “We can recommend DataForSEO for any company that needs SEO related APIs. We have been satisfied with the speed, cost, and accuracy.”
    \n
    \n
    \n
    \n
    \n

    Kaspars Milbergs, CTO at On The Map, Inc

    \n
    \n
    \n
    \nSee success story\n\n
    \n\n\n\n
    \n
    \n
    \n
    \"neil-patel-review\"
    \n
    \n
    \n
    \n
    \n
    \n
    “One of the things I like most about DataForSEO is that you have the opportunity to filter keywords and sort them by the particular metrics. This way you can compare ideas against each other and select the most powerful keywords relevant to your project.”
    \n
    \n
    \n
    \n
    \n

    Neil Patel, Co-Founder of Neil Patel Digital and Crazy Egg

    \n
    \n
    \n
    \n\n\n\n
    \n
    \n
    \n
    \"sean-cooney-review\"
    \n
    \n
    \n
    \n
    \n
    \n
    “Our experience of working with DataForSEO has been fantastic at all levels. In particular, we have been blown away by the professionalism and help we have received from the support team. Not only are they quick to find answers to our questions, but more importantly, their knowledge of the product is what truly stands out. Being so proactive in building upscale data solutions, adding new services, and troubleshooting – that is something unseen among other data providers.”
    \n
    \n
    \n
    \n
    \n

    Sean Cooney, Co-Founder & CEO of Omologist.com

    \n
    \n
    \n
    \nSee success story\n\n
    \n\n\n\n
    \n
    \n
    \n
    \"andreas-dzumlas-review\"
    \n
    \n
    \n
    \n
    \n
    \n
    “We run 100,000s of longtail keyword position and competition queries for our client implementations in the US, Australia and Latin America on a monthly basis with DataForSEO - and we've been amazed about the accuracy of rankings and all other data across all regions and device types. We're also extremely happy with the prompt and professional support. Anyone who needs large sets of SEO rankings or competition metrics should be using them. DataForSEO provide 100% accurate data, great value for money and a very flexible API for a great range of queries.”
    \n
    \n
    \n
    \n
    \n

    Andreas Dzumla, Co-CEO & Co-Founder at Longtail UX

    \n
    \n
    \n
    \n\n\n\n
    \n
    \n
    \n
    \"kieran-headley-review\"
    \n
    \n
    \n
    \n
    \n
    \n
    “DataForSEO have been great to work with right from the start. They offer a wide range of different APIs and are constantly adding to their offerings. They are always on hand to help with any questions or queries that we have. I would recommend to anyone looking for SEO data.”
    \n
    \n
    \n
    \n
    \n

    Kieran Headley, Co-Founder of Hike

    \n
    \n
    \n
    \nSee success story\n\n
    \n\n\n\n
    \n
    \n
    \n
    \"blake-acheson-review\"
    \n
    \n
    \n
    \n
    \n
    \n
    “DataForSEO saves us time, money, and resources by eliminating the need to scrape every little thing in-house. This frees up our developers to work on core features that deliver impactful value to our clients. Thanks for creating such a great service!”
    \n
    \n
    \n
    \n
    \n

    Blake Acheson, Founder of AgencyAnalytics

    \n
    \n
    \n
    \n\n\n\n
    \n
    \n
    \n
    \"marston-gould-review\"
    \n
    \n
    \n
    \n
    \n
    \n
    “We collect daily rank data for all of our major keywords across all our major markets. We use this data as an input to dynamically modify the internal linking, sitemaps and page headers of our websites using machine learning.”
    \n
    \n
    \n
    \n
    \n

    Marston Gould, The Senior Director of Search Marketing at A Place For Mom

    \n
    \n
    \n
    \nSee success story\n\n
    \n\n\n\n
    \n
    \n
    \n
    \"heather-mullen-review\"
    \n
    \n
    \n
    \n
    \n
    \n
    “My only regret with DataForSEO is that we didn't start using them sooner. Their service is reliable and well-documented, and the support team is one of the best I've ever interacted with. They are friendly and helpful, and every request has been resolved within 24 hours. They've even implemented multiple features based on our discussions. When we have queries from our customers, I know we can resolve them quickly, because we can rely on DataForSEO for fast responses and solutions.”
    \n
    \n
    \n
    \n
    \n

    Heather Mullen, CEO of Long Tail Pro

    \n
    \n
    \n
    \n\n\n\n
    \n
    \n
    \n
    \"anders-pedersen-review\"
    \n
    \n
    \n
    \n
    \n
    \n
    “With DataForSEO we are able to deliver the world’s simplest rank tracker, we can make it really simple and understandable for everyone. We enriched our keywords and no longer wake up to banned proxies.”
    \n
    \n
    \n
    \n
    \n

    Anders Pedersen, CEO of Tiny Ranker

    \n
    \n
    \n
    \nSee success story\n\n
    \n\n\n\n
    \n
    \n
    \n
    \"lazar-kovacevic-review\"
    \n
    \n
    \n
    \n
    \n
    \n
    “With the help of DataForSEO API our users are able to setup simple topical crawls by choosing a phrase instead of manually collecting few dozen URLs, which makes our service *much* easier to use. I am impressed with the very granular geo-targeting options they provide. It enabled us to publish a unique SEO tool which combines their API with our machine learning algorithms. With their SERP API I will also be able to revive an old SEO tool where I was scrapping Google myself before they introduced fancy anti-scrapping measures, which requires serious investment and skill to bypass. Their pricing is very friendly for both startup volume and high-volume analysis, which is awesome. Also, they are extremely nice in communication. Highly recommended!”
    \n
    \n
    \n
    \n
    \n

    Lazar Kovacevic, Founder of Semantic Juice

    \n
    \n
    \n
    \n\n\n\n
    \n
    \n
    \n
    \"filippo-rancan-review\"
    \n
    \n
    \n
    \n
    \n
    \n
    “DataForSEO APIs allowed us to develop a product that we can adapt to the needs of our customers without excessive costs. Since the beginning, it has been simple to get in touch with online support to solve implementation issues.”
    \n
    \n
    \n
    \n
    \n

    Filippo Rancan, Director at Content Marketing Suite

    \n
    \n
    \n
    \nSee success story\n\n
    \n
    \n
    \n

    Insights, trends and related articles

    \n
    \n
    \n
    \n
    \n
    \n\"Making-your-first-call-to-SERP-API-img\"\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n

    Making your first call to SERP API

    \n
    \n
    \n
    \n
    \n
    \nLearn more\n\n
    \n
    \n
    \n\"software-trends-img\"\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n

    SERP API Use Cases

    \n
    \n
    \n
    \n
    \n
    \nLearn more\n\n
    \n
    \n
    \n\"Google-SERP-extra-elements-img\"\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n

    Google SERP extra elements

    \n
    \n
    \n
    \n
    \n
    \nLearn more\n\n
    \n
    \n
    \n

    SERP API in figures

    \n
    \n
    \n
    \n
    \n
    \n
    \"\"
    \n
    \n
    \n
    \n
    \n
    \n
    \"\"
    \n
    \n
    \n
    \n
    \n
    \n
    \"\"
    \n
    \n
    \n
    \n
    \n
    \n

    SERP API Pricing

    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n

    Live priority

    \n
    \nAvg. turnaround time
    \nup to 11 seconds
    \n
    \n
    \n$\n0.003\nSERP\n
    \n
    \n$\n3\n1000 SERPs\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n

    High priority

    \n
    \nAvg. turnaround time
    \nup to 1 minute
    \n
    \n
    \n$\n0.0015\nSERP\n
    \n
    \n$\n1.5\n1000 SERPs\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n

    Standard priority

    \n
    \nAvg. turnaround time
    \nup to 45 minutes
    \n
    \n
    \n$\n0.00075\nSERP\n
    \n
    \n$\n0.75\n1000 SERPs\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n

    Want to get an even better price? Top up your account now to double your balance! View pricing.

    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n

    Want to discuss individual pricing or custom solutions?

    \n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n

    SERP API response examples

    \n
    \n
    \n
    \n\n
    \n
    \"Response-Examples-serp-google-organic-1\"
    \n
    \n
    \"Response-Examples-serp-google-maps\"
    \n
    \n
    \"Response-Examples-serp-google-news\"
    \n
    \n
    \"Response-Examples-serp-google-images\"\"Response-Examples-serp-google-images-1\"
    \n
    \n
    \n
    \n
    \n

    Questions and answers

    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n

    Can I test your service for free?

    \n
    \n
    \n
    \n

    Yes, you can. In fact, we offer an unlimited trial period. On signing up, you’ll get access to the free Sandbox feature and receive a $1 credit on your balance, which you can use to test our service.

    \n

    Sign up to access Sandbox

    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n

    What Search Engines are supported in SERP API?

    \n
    \n
    \n
    \n

    SERP API supports Google, Bing, Yahoo and Yandex search engines, as well as their country-specific versions.

    \n

    We also provide results for Google Images, Google News, Google Maps and Bing Local Pack search engines.

    \n

    Check our docs to learn more

    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n

    How can I make sure that your data is accurate?

    \n
    \n
    \n
    \n

    We take pride in the accuracy of our data. We’ve invested years of work to advance our data mining system and design what we believe is the most accurate source of SEO data available on the market.

    \n

    You can verify this by comparing the original search engine results page with the data we provided. Each result array of SERP API includes the “check_url” field containing the link to the original SERP page. Just copy and paste it into the address bar of your browser’s Incognito window.

    \n

    Sign up to see for yourself

    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n

    Is the data you provide real-time?

    \n
    \n
    \n
    \n

    Yes, it is. We deliver data immediately after collection. When you make an API call, our system collects, processes and returns the data for the search engine, language, location and other parameters you specified.

    \n

    Sign up to try it out

    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n

    What countries and languages are supported in SERP API?

    \n
    \n
    \n
    \n

    We use Google Geographical Targeting, so our APIs cover all the locations supported by Google. You can also narrow down the search by using specific GPS coordinates.

    \n

    Check our docs to learn more

    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n

    Do you have limitations on the number of concurrent calls I can make to your APIs?

    \n
    \n
    \n
    \n

    Yes, we do. The default limit is 2000 calls per minute. However, our system is flexible, and it is possible to increase this number at your request.

    \n

    Contact us

    \n
    \n
    \n
    \n
    \n
    \n\n\n
    \n
    \n\n
    \n
    \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n" } } ] } ] }