Help Center

  • Fill out my online form
  • I have a list of domains: is there a way to score my domains by traffic?

    If you have a list of domains and want to score them by traffic, you can achieve that with one of the following methods.

    1 First off, you can make a separate request to the Domain Rank Overview endpoint for each of your domains.

    https://api.dataforseo.com/v3/dataforseo_labs/domain_rank_overview/live

    In the API response, you will find the organic and paid ETV values for the specified domain.

    {
        "version": "0.1.20210917",
        "status_code": 20000,
        "status_message": "Ok.",
        "time": "1.0092 sec.",
        "cost": 0.0101,
        "tasks_count": 1,
        "tasks_error": 0,
        "tasks": [
            {
                "id": "10291548-2806-0159-0000-fed2c437e74e",
                "status_code": 20000,
                "status_message": "Ok.",
                "time": "0.9791 sec.",
                "cost": 0.0101,
                "result_count": 1,
                "path": [
                    "v3",
                    "dataforseo_labs",
                    "domain_rank_overview",
                    "live"
                ],
                "data": {
                    "api": "dataforseo_labs",
                    "function": "domain_rank_overview",
                    "target": "google.com",
                    "language_name": "English",
                    "location_code": 2840
                },
                "result": [
                    {
                        "target": "google.com",
                        "location_code": 2840,
                        "language_code": "en",
                        "total_count": 1,
                        "items_count": 1,
                        "items": [
                            {
                                "location_code": 2840,
                                "language_code": "en",
                                "metrics": {
                                    "organic": {
                                        "pos_1": 648323,
                                        "pos_2_3": 867717,
                                        "pos_4_10": 3026765,
                                        "pos_11_20": 4972810,
                                        "pos_21_30": 4849032,
                                        "pos_31_40": 4916486,
                                        "pos_41_50": 5259759,
                                        "pos_51_60": 6071643,
                                        "pos_61_70": 7436952,
                                        "pos_71_80": 9232914,
                                        "pos_81_90": 12232636,
                                        "pos_91_100": 26261508,
                                        "etv": 2973618506.3996162,
                                        "impressions_etv": 73801882.10800996,
                                        "count": 85777707,
                                        "estimated_paid_traffic_cost": 3036953767.181263,
                                        "is_new": 72575589,
                                        "is_up": 6181930,
                                        "is_down": 5639988,
                                        "is_lost": 52485688
                                    },
                                    "paid": {
                                        "pos_1": 1751,
                                        "pos_2_3": 730,
                                        "pos_4_10": 100,
                                        "pos_11_20": 0,
                                        "pos_21_30": 0,
                                        "pos_31_40": 0,
                                        "pos_41_50": 0,
                                        "pos_51_60": 0,
                                        "pos_61_70": 0,
                                        "pos_71_80": 0,
                                        "pos_81_90": 0,
                                        "pos_91_100": 0,
                                        "etv": 190937.26718139648,
                                        "impressions_etv": 69490.54389178753,
                                        "count": 2581,
                                        "estimated_paid_traffic_cost": 466085.2281314917,
                                        "is_new": 2530,
                                        "is_up": 9,
                                        "is_down": 12,
                                        "is_lost": 2690
                                    }
                                }
                            }
                        ]
                    }
                ]
            }
        ]
    }

    Once you get the metrics for all the domains, you can score them by organic or paid traffic on your side.

    2 To reduce the number of requests, you can call the Domain Whois Overview endpoint and use a filter to receive data only for the domains you are interested in.

    POST https://api.dataforseo.com/v3/dataforseo_labs/domain_whois_overview/live

    To do that, apply the following filter: ["domain", "=", "example.com"]. Instead of example.com, specify your domain. If the domain is present in our database, the API response will return the data for it. You can apply up to 8 filters per one request, which will allow you to get the etv data for 8 domains in a single request. That way, you can minimize the number of requests and save your budget.

    Moreover, you can order the results by organic or paid traffic if you include the following line: "order_by": ["metrics.organic.etv,desc"] or "order_by": ["metrics.paid.etv,desc"]. To order them in ascending order, use asc instead of desc.

    Your POST request should be structured as in the example below:

    [
        {
            "limit": 10,
            "filters": [
                ["domain", "=", "dataforseo.com"],
            "or",
            [
            ["domain", "=", "rankactive.com"],
            "or",
            ["domain", "=", "ahrefs.com"]
            ]
            ],
            "order_by": ["metrics.organic.etv,desc"]
        }
    ]

    Example of the API response:

    {
        "version": "0.1.20210917",
        "status_code": 20000,
        "status_message": "Ok.",
        "time": "0.2169 sec.",
        "cost": 0.103,
        "tasks_count": 1,
        "tasks_error": 0,
        "tasks": [
            {
                "id": "10291616-2806-0281-0000-3600cb222ce3",
                "status_code": 20000,
                "status_message": "Ok.",
                "time": "0.1713 sec.",
                "cost": 0.103,
                "result_count": 1,
                "path": [
                    "v3",
                    "dataforseo_labs",
                    "domain_whois_overview",
                    "live"
                ],
                "data": {
                    "api": "dataforseo_labs",
                    "function": "domain_whois_overview",
                    "limit": 10,
                    "filters": [
                        [
                            "domain",
                            "=",
                            "dataforseo.com"
                        ],
                        "or",
                        [
                            [
                                "domain",
                                "=",
                                "rankactive.com"
                            ],
                            "or",
                            [
                                "domain",
                                "=",
                                "ahrefs.com"
                            ]
                        ]
                    ],
                    "order_by": [
                        "metrics.organic.etv,desc"
                    ]
                },
                "result": [
                    {
                        "total_count": 3,
                        "items_count": 3,
                        "items": [
                            {
                                "domain": "ahrefs.com",
                                "created_datetime": "2010-11-25 13:32:54 +00:00",
                                "changed_datetime": "2020-03-26 04:21:50 +00:00",
                                "expiration_datetime": "2029-11-25 13:32:54 +00:00",
                                "updated_datetime": "2021-07-27 23:49:41 +00:00",
                                "epp_status_codes": [
                                    "client_transfer_prohibited"
                                ],
                                "tld": "com",
                                "registered": true,
                                "metrics": {
                                    "organic": {
                                        "pos_1": 6681,
                                        "pos_2_3": 10395,
                                        "pos_4_10": 37671,
                                        "pos_11_20": 33657,
                                        "pos_21_30": 24058,
                                        "pos_31_40": 23490,
                                        "pos_41_50": 24773,
                                        "pos_51_60": 25669,
                                        "pos_61_70": 27094,
                                        "pos_71_80": 28119,
                                        "pos_81_90": 29062,
                                        "pos_91_100": 24306,
                                        "etv": 4089458.930537004,
                                        "impressions_etv": 304491.18528684275,
                                        "count": 294978,
                                        "estimated_paid_traffic_cost": 8624873.138777161
                                    },
                                    "paid": {
                                        "pos_1": 19,
                                        "pos_2_3": 15,
                                        "pos_4_10": 1,
                                        "pos_11_20": 0,
                                        "pos_21_30": 0,
                                        "pos_31_40": 0,
                                        "pos_41_50": 0,
                                        "pos_51_60": 0,
                                        "pos_61_70": 0,
                                        "pos_71_80": 0,
                                        "pos_81_90": 0,
                                        "pos_91_100": 0,
                                        "etv": 773.5950004756451,
                                        "impressions_etv": 97.9499379992485,
                                        "count": 35,
                                        "estimated_paid_traffic_cost": 6466.911832630634
                                    }
                                }
                            },
                            {
                                "domain": "dataforseo.com",
                                "created_datetime": "2016-10-24 14:35:49 +00:00",
                                "changed_datetime": "2021-09-24 03:14:14 +00:00",
                                "expiration_datetime": "2022-10-24 14:35:49 +00:00",
                                "updated_datetime": "2021-09-30 14:13:12 +00:00",
                                "epp_status_codes": [
                                    "client_transfer_prohibited"
                                ],
                                "tld": "com",
                                "registered": true,
                                "metrics": {
                                    "organic": {
                                        "pos_1": 46,
                                        "pos_2_3": 73,
                                        "pos_4_10": 140,
                                        "pos_11_20": 479,
                                        "pos_21_30": 651,
                                        "pos_31_40": 725,
                                        "pos_41_50": 634,
                                        "pos_51_60": 665,
                                        "pos_61_70": 576,
                                        "pos_71_80": 572,
                                        "pos_81_90": 500,
                                        "pos_91_100": 409,
                                        "etv": 12445.202226540074,
                                        "impressions_etv": 1023.1760827200487,
                                        "count": 5470,
                                        "estimated_paid_traffic_cost": 31120.851608053927
                                    },
                                    "paid": {
                                        "pos_1": 47,
                                        "pos_2_3": 19,
                                        "pos_4_10": 0,
                                        "pos_11_20": 0,
                                        "pos_21_30": 0,
                                        "pos_31_40": 0,
                                        "pos_41_50": 0,
                                        "pos_51_60": 0,
                                        "pos_61_70": 0,
                                        "pos_71_80": 0,
                                        "pos_81_90": 0,
                                        "pos_91_100": 0,
                                        "etv": 148.12800288200378,
                                        "impressions_etv": 88.67358034849167,
                                        "count": 66,
                                        "estimated_paid_traffic_cost": 331.96510687470436
                                    }
                                }
                            },
                            {
                                "domain": "rankactive.com",
                                "created_datetime": "2015-06-26 10:45:15 +00:00",
                                "changed_datetime": "2020-05-27 04:03:32 +00:00",
                                "expiration_datetime": "2021-06-26 10:45:15 +00:00",
                                "updated_datetime": "2021-04-18 18:31:37 +00:00",
                                "epp_status_codes": [
                                    "client_transfer_prohibited"
                                ],
                                "tld": "com",
                                "registered": true,
                                "metrics": {
                                    "organic": {
                                        "pos_1": 10,
                                        "pos_2_3": 34,
                                        "pos_4_10": 187,
                                        "pos_11_20": 520,
                                        "pos_21_30": 777,
                                        "pos_31_40": 835,
                                        "pos_41_50": 827,
                                        "pos_51_60": 680,
                                        "pos_61_70": 565,
                                        "pos_71_80": 463,
                                        "pos_81_90": 417,
                                        "pos_91_100": 345,
                                        "etv": 4402.097900850698,
                                        "impressions_etv": 531.6265213238075,
                                        "count": 5660,
                                        "estimated_paid_traffic_cost": 21522.466742732795
                                    },
                                    "paid": {
                                        "pos_1": 0,
                                        "pos_2_3": 0,
                                        "pos_4_10": 0,
                                        "pos_11_20": 0,
                                        "pos_21_30": 0,
                                        "pos_31_40": 0,
                                        "pos_41_50": 0,
                                        "pos_51_60": 0,
                                        "pos_61_70": 0,
                                        "pos_71_80": 0,
                                        "pos_81_90": 0,
                                        "pos_91_100": 0,
                                        "etv": 0,
                                        "impressions_etv": 0,
                                        "count": 0,
                                        "estimated_paid_traffic_cost": 0
                                    }
                                }
                            }
                        ]
                    }
                ]
            }
        ]
    }