NAVNavbar
Logo
cURL php NodeJS Python cSharp

Live Business Listings Search Tasks

‌‌
Business Listings Search API provides results containing information about business entities listed on Google Maps in the specified categories. You will receive the address, contacts, rating, working hours, and other relevant data. The provided results are specific to the selected location (see the List of Locations) settings.

Instead of ‘login’ and ‘password’ use your credentials from https://app.dataforseo.com/api-dashboard

<?php
// You can download this file from here https://cdn.dataforseo.com/v3/examples/php/php_RestClient.zip?202197
require('RestClient.php');
$api_url = 'https://api.dataforseo.com/';
// Instead of 'login' and 'password' use your credentials from https://app.dataforseo.com/api-dashboard
$client = new RestClient($api_url, null, 'login', 'password');

$post_array = array();
// simple way to get a result
$post_array[] = array(
   "categories" => ["pizza_restaurant"],
   "description" => "pizza",
   "title" => "pizza",
   "is_claimed" => true,
   "location_coordinate" => "53.476225,-2.243572,10",
   "order_by" => ["rating.value,desc"],
   "filters" => [
      [ "rating.value",">",3 ]
   ],
   "limit" => 3
);
try {
   // POST /v3/business_data/business_listings/search/live
   // the full list of possible parameters is available in documentation
   $result = $client->post('/v3/business_data/business_listings/search/live', $post_array);
   print_r($result);
   // do something with post result
} catch (RestClientException $e) {
   echo "n";
   print "HTTP code: {$e->getHttpCode()}n";
   print "Error code: {$e->getCode()}n";
   print "Message: {$e->getMessage()}n";
   print  $e->getTraceAsString();
   echo "n";
}
$client = null;
?>

The above command returns JSON structured like this:

{
  "version": "0.1.20221214",
  "status_code": 20000,
  "status_message": "Ok.",
  "time": "0.3222 sec.",
  "cost": 0.0109,
  "tasks_count": 1,
  "tasks_error": 0,
  "tasks": [
    {
      "id": "04251331-4426-0544-0000-a7fd8c9afd37",
      "status_code": 20000,
      "status_message": "Ok.",
      "time": "0.2697 sec.",
      "cost": 0.0109,
      "result_count": 1,
      "path": [
        "v3",
        "business_data",
        "business_listings",
        "search",
        "live"
      ],
      "data": {
        "api": "business_data",
        "function": "search",
        "categories": [
          "pizza_restaurant"
        ],
        "description": "pizza",
        "title": "pizza",
        "is_claimed": true,
        "location_coordinate": "53.476225,-2.243572,10",
        "order_by": [
          "rating.value,desc"
        ],
        "filters": [
          [
            "rating.value",
            ">",
            3
          ]
        ],
        "limit": 3
      },
      "result": [
        {
          "total_count": 32,
          "count": 3,
          "offset": 0,
          "offset_token": "eyJDdXJyZW50T2Zmc2V0IjozLCJSZXF1ZXN0RGF0YSI6eyJuYW1lIjoicGl6emEiLCJkZXNjcmlwdGlvbiI6InBpenphIiwiY2F0ZWdvcmllcyI6WyJwaXp6YV9yZXN0YXVyYW50Il0sImNvdW50cnlfY29kZSI6bnVsbCwiY2l0eSI6bnVsbCwiaXNfY2xhaW1lZCI6dHJ1ZSwib25seV9nb29nbGVfYnVzaW5lc3MiOmZhbHNlLCJnZW8iOnsibG9uZ2l0dWRlIjotMi4yNDM1NzIsImxhdGl0dWRlIjo1My40NzYyMjUsInJhZGl1cyI6MTAuMH0sInNlYXJjaF9hZnRlcl90b2tlbiI6bnVsbCwib3JkZXJfYnkiOnsib3JkZXJfZmllbGQiOiJyYXRpbmcudmFsdWUiLCJvcmRlcl90eXBlIjoiRGVzYyIsIm5leHQiOm51bGx9LCJsaW1pdCI6Mywib2Zmc2V0IjpudWxsfSwiUmF3UXVlcnkiOnsiZmllbGQiOiJyYXRpbmcudmFsdWUiLCJ0eXBlIjoiZ3QiLCJ2YWx1ZSI6M30sIlNlYXJjaEFmdGVyRGF0YSI6WzQuNywiLTY0MTU0NjM4NzA3MzI2MTU0MTgiXX0=",
          "items": [
            {
              "type": "business_listing",
              "title": "Rudy's Pizza Napoletana - Peter Street",
              "description": "For us it’s all about the pizza. Just like in Naples, our dough is made on site every day, takes 24 hours to double ferment and just 60 seconds to cook. It is soft, light and floppy… so fold for strength or tuck in with a knife and fork. Enjoy.",
              "category": "Neapolitan restaurant",
              "category_ids": [
                "neapolitan_restaurant",
                "italian_restaurant",
                "pizza_restaurant",
                "restaurant"
              ],
              "additional_categories": [
                "Italian restaurant",
                "Pizza restaurant",
                "Restaurant"
              ],
              "cid": "11185039208312255219",
              "feature_id": "0x487bb1c27003cbed:0x9b393de62a44b2f3",
              "address": "Petersfield House, Peter St, Manchester M2 5QJ",
              "address_info": {
                "borough": null,
                "address": "Petersfield House, Peter St",
                "city": "Manchester",
                "zip": "M2 5QJ",
                "region": null,
                "country_code": "GB"
              },
              "place_id": "ChIJ7csDcMKxe0gR87JEKuY9OZs",
              "phone": "+441616608040",
              "url": "http://www.rudyspizza.co.uk/peterstreet",
              "domain": "www.rudyspizza.co.uk",
              "logo": "https://lh6.googleusercontent.com/-LHLR9vtmnJU/AAAAAAAAAAI/AAAAAAAAAAA/fRut8Thd0B8/s44-p-k-no-ns-nd/photo.jpg",
              "main_image": "https://lh5.googleusercontent.com/p/AF1QipPKrTP6MjeAzxWvuTHcg8i-k5oSI6nFBOPia24c=w408-h306-k-no",
              "total_photos": 1290,
              "snippet": "Petersfield House, Peter St, Manchester M2 5QJ",
              "latitude": 53.4781966,
              "longitude": -2.2474716999999997,
              "is_claimed": true,
              "attributes": {
                "available_attributes": {
                  "service_options": [
                    "has_seating_outdoors",
                    "has_delivery",
                    "has_takeout",
                    "serves_dine_in"
                  ],
                  "accessibility": [
                    "has_wheelchair_accessible_entrance",
                    "has_wheelchair_accessible_seating",
                    "has_wheelchair_accessible_restroom"
                  ],
                  "offerings": [
                    "serves_alcohol",
                    "serves_beer",
                    "serves_cocktails",
                    "serves_coffee",
                    "has_free_water_refills",
                    "serves_liquor",
                    "serves_vegan",
                    "serves_vegetarian",
                    "serves_wine"
                  ],
                  "dining_options": [
                    "serves_lunch",
                    "serves_dinner",
                    "serves_dessert",
                    "has_seating"
                  ],
                  "amenities": [
                    "has_bar_onsite",
                    "welcomes_children",
                    "has_high_chairs",
                    "has_restroom"
                  ],
                  "atmosphere": [
                    "feels_casual",
                    "feels_cozy",
                    "is_recently_popular"
                  ],
                  "crowd": [
                    "welcomes_families",
                    "suitable_for_groups",
                    "welcomes_lgbtq",
                    "is_transgender_safespace"
                  ],
                  "planning": [
                    "accepts_reservations"
                  ],
                  "payments": [
                    "pay_debit_card",
                    "pay_mobile_nfc"
                  ]
                },
                "unavailable_attributes": {
                  "accessibility": [
                    "has_wheelchair_accessible_parking"
                  ]
                }
              },
              "place_topics": {
                "dough": 41,
                "buffalo mozzarella": 17,
                "queue": 15,
                "topping": 15,
                "white pizza": 11,
                "wood fired": 8,
                "stone baked": 7,
                "incredible pizza": 5,
                "vegan cheese": 5,
                "wild boar": 5
              },
              "rating": {
                "rating_type": "Max5",
                "value": 4.7,
                "votes_count": 2902,
                "rating_max": null
              },
              "rating_distribution": {
                "1": 45,
                "2": 45,
                "3": 90,
                "4": 444,
                "5": 2278
              },
              "people_also_search": [
                {
                  "cid": "3433913040112965233",
                  "feature_id": "0x0:0x2fa7b5b76183d671",
                  "title": "Noi Quattro - Pizzeria",
                  "rating": {
                    "rating_type": "Max5",
                    "value": 4.6,
                    "votes_count": 1064,
                    "rating_max": null
                  }
                },
                {
                  "cid": "1416331994015789952",
                  "feature_id": "0x0:0x13a7d271cb54f380",
                  "title": "Crazy Pedro's Bridge Street",
                  "rating": {
                    "rating_type": "Max5",
                    "value": 4.3,
                    "votes_count": 1690,
                    "rating_max": null
                  }
                },
                {
                  "cid": "782585807451016673",
                  "feature_id": "0x0:0xadc4da543614de1",
                  "title": "Don Marco",
                  "rating": {
                    "rating_type": "Max5",
                    "value": 4.4,
                    "votes_count": 1042,
                    "rating_max": null
                  }
                },
                {
                  "cid": "13945137393035157451",
                  "feature_id": "0x0:0xc18714930fe09fcb",
                  "title": "PLY",
                  "rating": {
                    "rating_type": "Max5",
                    "value": 4.1,
                    "votes_count": 1301,
                    "rating_max": null
                  }
                },
                {
                  "cid": "213701385891634133",
                  "feature_id": "0x0:0x2f738473a145bd5",
                  "title": "Franco Manca Manchester - Piccadilly Gardens",
                  "rating": {
                    "rating_type": "Max5",
                    "value": 4.3,
                    "votes_count": 856,
                    "rating_max": null
                  }
                }
              ],
              "work_time": {
                "work_hours": {
                  "timetable": {
                    "sunday": [
                      {
                        "open": {
                          "hour": 12,
                          "minute": 0
                        },
                        "close": {
                          "hour": 21,
                          "minute": 0
                        }
                      }
                    ],
                    "monday": [
                      {
                        "open": {
                          "hour": 12,
                          "minute": 0
                        },
                        "close": {
                          "hour": 22,
                          "minute": 0
                        }
                      }
                    ],
                    "tuesday": [
                      {
                        "open": {
                          "hour": 12,
                          "minute": 0
                        },
                        "close": {
                          "hour": 22,
                          "minute": 0
                        }
                      }
                    ],
                    "wednesday": [
                      {
                        "open": {
                          "hour": 12,
                          "minute": 0
                        },
                        "close": {
                          "hour": 22,
                          "minute": 0
                        }
                      }
                    ],
                    "thursday": [
                      {
                        "open": {
                          "hour": 12,
                          "minute": 0
                        },
                        "close": {
                          "hour": 22,
                          "minute": 0
                        }
                      }
                    ],
                    "friday": [
                      {
                        "open": {
                          "hour": 12,
                          "minute": 0
                        },
                        "close": {
                          "hour": 22,
                          "minute": 0
                        }
                      }
                    ],
                    "saturday": [
                      {
                        "open": {
                          "hour": 12,
                          "minute": 0
                        },
                        "close": {
                          "hour": 22,
                          "minute": 0
                        }
                      }
                    ]
                  },
                  "current_status": "open"
                }
              },
              "popular_times": {
                "popular_times_by_days": {
                  "sunday": [
                    {
                      "time": {
                        "hour": 6,
                        "minute": 0
                      },
                      "popular_index": 0
                    },
                    {
                      "time": {
                        "hour": 7,
                        "minute": 0
                      },
                      "popular_index": 0
                    },
                    {
                      "time": {
                        "hour": 8,
                        "minute": 0
                      },
                      "popular_index": 0
                    },
                    {
                      "time": {
                        "hour": 9,
                        "minute": 0
                      },
                      "popular_index": 0
                    },
                    {
                      "time": {
                        "hour": 10,
                        "minute": 0
                      },
                      "popular_index": 0
                    },
                    {
                      "time": {
                        "hour": 11,
                        "minute": 0
                      },
                      "popular_index": 0
                    },
                    {
                      "time": {
                        "hour": 12,
                        "minute": 0
                      },
                      "popular_index": 30
                    },
                    {
                      "time": {
                        "hour": 13,
                        "minute": 0
                      },
                      "popular_index": 52
                    },
                    {
                      "time": {
                        "hour": 14,
                        "minute": 0
                      },
                      "popular_index": 66
                    },
                    {
                      "time": {
                        "hour": 15,
                        "minute": 0
                      },
                      "popular_index": 64
                    },
                    {
                      "time": {
                        "hour": 16,
                        "minute": 0
                      },
                      "popular_index": 57
                    },
                    {
                      "time": {
                        "hour": 17,
                        "minute": 0
                      },
                      "popular_index": 60
                    },
                    {
                      "time": {
                        "hour": 18,
                        "minute": 0
                      },
                      "popular_index": 69
                    },
                    {
                      "time": {
                        "hour": 19,
                        "minute": 0
                      },
                      "popular_index": 68
                    },
                    {
                      "time": {
                        "hour": 20,
                        "minute": 0
                      },
                      "popular_index": 51
                    },
                    {
                      "time": {
                        "hour": 21,
                        "minute": 0
                      },
                      "popular_index": 0
                    },
                    {
                      "time": {
                        "hour": 22,
                        "minute": 0
                      },
                      "popular_index": 0
                    },
                    {
                      "time": {
                        "hour": 23,
                        "minute": 0
                      },
                      "popular_index": 0
                    }
                  ],
                  "monday": [
                    {
                      "time": {
                        "hour": 6,
                        "minute": 0
                      },
                      "popular_index": 0
                    },
                    {
                      "time": {
                        "hour": 7,
                        "minute": 0
                      },
                      "popular_index": 0
                    },
                    {
                      "time": {
                        "hour": 8,
                        "minute": 0
                      },
                      "popular_index": 0
                    },
                    {
                      "time": {
                        "hour": 9,
                        "minute": 0
                      },
                      "popular_index": 0
                    },
                    {
                      "time": {
                        "hour": 10,
                        "minute": 0
                      },
                      "popular_index": 0
                    },
                    {
                      "time": {
                        "hour": 11,
                        "minute": 0
                      },
                      "popular_index": 0
                    },
                    {
                      "time": {
                        "hour": 12,
                        "minute": 0
                      },
                      "popular_index": 28
                    },
                    {
                      "time": {
                        "hour": 13,
                        "minute": 0
                      },
                      "popular_index": 36
                    },
                    {
                      "time": {
                        "hour": 14,
                        "minute": 0
                      },
                      "popular_index": 41
                    },
                    {
                      "time": {
                        "hour": 15,
                        "minute": 0
                      },
                      "popular_index": 42
                    },
                    {
                      "time": {
                        "hour": 16,
                        "minute": 0
                      },
                      "popular_index": 44
                    },
                    {
                      "time": {
                        "hour": 17,
                        "minute": 0
                      },
                      "popular_index": 49
                    },
                    {
                      "time": {
                        "hour": 18,
                        "minute": 0
                      },
                      "popular_index": 58
                    },
                    {
                      "time": {
                        "hour": 19,
                        "minute": 0
                      },
                      "popular_index": 64
                    },
                    {
                      "time": {
                        "hour": 20,
                        "minute": 0
                      },
                      "popular_index": 60
                    },
                    {
                      "time": {
                        "hour": 21,
                        "minute": 0
                      },
                      "popular_index": 44
                    },
                    {
                      "time": {
                        "hour": 22,
                        "minute": 0
                      },
                      "popular_index": 0
                    },
                    {
                      "time": {
                        "hour": 23,
                        "minute": 0
                      },
                      "popular_index": 0
                    }
                  ],
                  "tuesday": [
                    {
                      "time": {
                        "hour": 6,
                        "minute": 0
                      },
                      "popular_index": 0
                    },
                    {
                      "time": {
                        "hour": 7,
                        "minute": 0
                      },
                      "popular_index": 0
                    },
                    {
                      "time": {
                        "hour": 8,
                        "minute": 0
                      },
                      "popular_index": 0
                    },
                    {
                      "time": {
                        "hour": 9,
                        "minute": 0
                      },
                      "popular_index": 0
                    },
                    {
                      "time": {
                        "hour": 10,
                        "minute": 0
                      },
                      "popular_index": 0
                    },
                    {
                      "time": {
                        "hour": 11,
                        "minute": 0
                      },
                      "popular_index": 0
                    },
                    {
                      "time": {
                        "hour": 12,
                        "minute": 0
                      },
                      "popular_index": 39
                    },
                    {
                      "time": {
                        "hour": 13,
                        "minute": 0
                      },
                      "popular_index": 45
                    },
                    {
                      "time": {
                        "hour": 14,
                        "minute": 0
                      },
                      "popular_index": 46
                    },
                    {
                      "time": {
                        "hour": 15,
                        "minute": 0
                      },
                      "popular_index": 44
                    },
                    {
                      "time": {
                        "hour": 16,
                        "minute": 0
                      },
                      "popular_index": 46
                    },
                    {
                      "time": {
                        "hour": 17,
                        "minute": 0
                      },
                      "popular_index": 55
                    },
                    {
                      "time": {
                        "hour": 18,
                        "minute": 0
                      },
                      "popular_index": 67
                    },
                    {
                      "time": {
                        "hour": 19,
                        "minute": 0
                      },
                      "popular_index": 75
                    },
                    {
                      "time": {
                        "hour": 20,
                        "minute": 0
                      },
                      "popular_index": 69
                    },
                    {
                      "time": {
                        "hour": 21,
                        "minute": 0
                      },
                      "popular_index": 52
                    },
                    {
                      "time": {
                        "hour": 22,
                        "minute": 0
                      },
                      "popular_index": 0
                    },
                    {
                      "time": {
                        "hour": 23,
                        "minute": 0
                      },
                      "popular_index": 0
                    }
                  ],
                  "wednesday": [
                    {
                      "time": {
                        "hour": 6,
                        "minute": 0
                      },
                      "popular_index": 0
                    },
                    {
                      "time": {
                        "hour": 7,
                        "minute": 0
                      },
                      "popular_index": 0
                    },
                    {
                      "time": {
                        "hour": 8,
                        "minute": 0
                      },
                      "popular_index": 0
                    },
                    {
                      "time": {
                        "hour": 9,
                        "minute": 0
                      },
                      "popular_index": 0
                    },
                    {
                      "time": {
                        "hour": 10,
                        "minute": 0
                      },
                      "popular_index": 0
                    },
                    {
                      "time": {
                        "hour": 11,
                        "minute": 0
                      },
                      "popular_index": 0
                    },
                    {
                      "time": {
                        "hour": 12,
                        "minute": 0
                      },
                      "popular_index": 38
                    },
                    {
                      "time": {
                        "hour": 13,
                        "minute": 0
                      },
                      "popular_index": 44
                    },
                    {
                      "time": {
                        "hour": 14,
                        "minute": 0
                      },
                      "popular_index": 43
                    },
                    {
                      "time": {
                        "hour": 15,
                        "minute": 0
                      },
                      "popular_index": 41
                    },
                    {
                      "time": {
                        "hour": 16,
                        "minute": 0
                      },
                      "popular_index": 45
                    },
                    {
                      "time": {
                        "hour": 17,
                        "minute": 0
                      },
                      "popular_index": 58
                    },
                    {
                      "time": {
                        "hour": 18,
                        "minute": 0
                      },
                      "popular_index": 73
                    },
                    {
                      "time": {
                        "hour": 19,
                        "minute": 0
                      },
                      "popular_index": 79
                    },
                    {
                      "time": {
                        "hour": 20,
                        "minute": 0
                      },
                      "popular_index": 69
                    },
                    {
                      "time": {
                        "hour": 21,
                        "minute": 0
                      },
                      "popular_index": 47
                    },
                    {
                      "time": {
                        "hour": 22,
                        "minute": 0
                      },
                      "popular_index": 0
                    },
                    {
                      "time": {
                        "hour": 23,
                        "minute": 0
                      },
                      "popular_index": 0
                    }
                  ],
                  "thursday": [
                    {
                      "time": {
                        "hour": 6,
                        "minute": 0
                      },
                      "popular_index": 0
                    },
                    {
                      "time": {
                        "hour": 7,
                        "minute": 0
                      },
                      "popular_index": 0
                    },
                    {
                      "time": {
                        "hour": 8,
                        "minute": 0
                      },
                      "popular_index": 0
                    },
                    {
                      "time": {
                        "hour": 9,
                        "minute": 0
                      },
                      "popular_index": 0
                    },
                    {
                      "time": {
                        "hour": 10,
                        "minute": 0
                      },
                      "popular_index": 0
                    },
                    {
                      "time": {
                        "hour": 11,
                        "minute": 0
                      },
                      "popular_index": 0
                    },
                    {
                      "time": {
                        "hour": 12,
                        "minute": 0
                      },
                      "popular_index": 46
                    },
                    {
                      "time": {
                        "hour": 13,
                        "minute": 0
                      },
                      "popular_index": 70
                    },
                    {
                      "time": {
                        "hour": 14,
                        "minute": 0
                      },
                      "popular_index": 58
                    },
                    {
                      "time": {
                        "hour": 15,
                        "minute": 0
                      },
                      "popular_index": 43
                    },
                    {
                      "time": {
                        "hour": 16,
                        "minute": 0
                      },
                      "popular_index": 49
                    },
                    {
                      "time": {
                        "hour": 17,
                        "minute": 0
                      },
                      "popular_index": 63
                    },
                    {
                      "time": {
                        "hour": 18,
                        "minute": 0
                      },
                      "popular_index": 71
                    },
                    {
                      "time": {
                        "hour": 19,
                        "minute": 0
                      },
                      "popular_index": 69
                    },
                    {
                      "time": {
                        "hour": 20,
                        "minute": 0
                      },
                      "popular_index": 58
                    },
                    {
                      "time": {
                        "hour": 21,
                        "minute": 0
                      },
                      "popular_index": 41
                    },
                    {
                      "time": {
                        "hour": 22,
                        "minute": 0
                      },
                      "popular_index": 0
                    },
                    {
                      "time": {
                        "hour": 23,
                        "minute": 0
                      },
                      "popular_index": 0
                    }
                  ],
                  "friday": [
                    {
                      "time": {
                        "hour": 6,
                        "minute": 0
                      },
                      "popular_index": 0
                    },
                    {
                      "time": {
                        "hour": 7,
                        "minute": 0
                      },
                      "popular_index": 0
                    },
                    {
                      "time": {
                        "hour": 8,
                        "minute": 0
                      },
                      "popular_index": 0
                    },
                    {
                      "time": {
                        "hour": 9,
                        "minute": 0
                      },
                      "popular_index": 0
                    },
                    {
                      "time": {
                        "hour": 10,
                        "minute": 0
                      },
                      "popular_index": 0
                    },
                    {
                      "time": {
                        "hour": 11,
                        "minute": 0
                      },
                      "popular_index": 0
                    },
                    {
                      "time": {
                        "hour": 12,
                        "minute": 0
                      },
                      "popular_index": 31
                    },
                    {
                      "time": {
                        "hour": 13,
                        "minute": 0
                      },
                      "popular_index": 44
                    },
                    {
                      "time": {
                        "hour": 14,
                        "minute": 0
                      },
                      "popular_index": 55
                    },
                    {
                      "time": {
                        "hour": 15,
                        "minute": 0
                      },
                      "popular_index": 63
                    },
                    {
                      "time": {
                        "hour": 16,
                        "minute": 0
                      },
                      "popular_index": 68
                    },
                    {
                      "time": {
                        "hour": 17,
                        "minute": 0
                      },
                      "popular_index": 77
                    },
                    {
                      "time": {
                        "hour": 18,
                        "minute": 0
                      },
                      "popular_index": 90
                    },
                    {
                      "time": {
                        "hour": 19,
                        "minute": 0
                      },
                      "popular_index": 100
                    },
                    {
                      "time": {
                        "hour": 20,
                        "minute": 0
                      },
                      "popular_index": 95
                    },
                    {
                      "time": {
                        "hour": 21,
                        "minute": 0
                      },
                      "popular_index": 75
                    },
                    {
                      "time": {
                        "hour": 22,
                        "minute": 0
                      },
                      "popular_index": 0
                    },
                    {
                      "time": {
                        "hour": 23,
                        "minute": 0
                      },
                      "popular_index": 0
                    }
                  ],
                  "saturday": [
                    {
                      "time": {
                        "hour": 6,
                        "minute": 0
                      },
                      "popular_index": 0
                    },
                    {
                      "time": {
                        "hour": 7,
                        "minute": 0
                      },
                      "popular_index": 0
                    },
                    {
                      "time": {
                        "hour": 8,
                        "minute": 0
                      },
                      "popular_index": 0
                    },
                    {
                      "time": {
                        "hour": 9,
                        "minute": 0
                      },
                      "popular_index": 0
                    },
                    {
                      "time": {
                        "hour": 10,
                        "minute": 0
                      },
                      "popular_index": 0
                    },
                    {
                      "time": {
                        "hour": 11,
                        "minute": 0
                      },
                      "popular_index": 0
                    },
                    {
                      "time": {
                        "hour": 12,
                        "minute": 0
                      },
                      "popular_index": 41
                    },
                    {
                      "time": {
                        "hour": 13,
                        "minute": 0
                      },
                      "popular_index": 63
                    },
                    {
                      "time": {
                        "hour": 14,
                        "minute": 0
                      },
                      "popular_index": 79
                    },
                    {
                      "time": {
                        "hour": 15,
                        "minute": 0
                      },
                      "popular_index": 85
                    },
                    {
                      "time": {
                        "hour": 16,
                        "minute": 0
                      },
                      "popular_index": 82
                    },
                    {
                      "time": {
                        "hour": 17,
                        "minute": 0
                      },
                      "popular_index": 80
                    },
                    {
                      "time": {
                        "hour": 18,
                        "minute": 0
                      },
                      "popular_index": 83
                    },
                    {
                      "time": {
                        "hour": 19,
                        "minute": 0
                      },
                      "popular_index": 85
                    },
                    {
                      "time": {
                        "hour": 20,
                        "minute": 0
                      },
                      "popular_index": 78
                    },
                    {
                      "time": {
                        "hour": 21,
                        "minute": 0
                      },
                      "popular_index": 61
                    },
                    {
                      "time": {
                        "hour": 22,
                        "minute": 0
                      },
                      "popular_index": 0
                    },
                    {
                      "time": {
                        "hour": 23,
                        "minute": 0
                      },
                      "popular_index": 0
                    }
                  ]
                }
              },
              "local_business_links": [
                {
                  "type": "reservation",
                  "title": "rudyspizza.co.uk",
                  "url": "https://www.rudyspizza.co.uk/peter-st/"
                },
                {
                  "type": "order",
                  "delivery_services": [
                    {
                      "type": "delivery_services_element",
                      "title": "deliveroo.co.uk",
                      "url": "https://deliveroo.co.uk/menu/manchester/manchester-central/rudys-pizza-peter-street?utm_medium=affiliate&utm_source=google_maps_link"
                    }
                  ]
                },
                {
                  "type": "menu",
                  "title": "rudyspizza.co.uk",
                  "url": "http://rudyspizza.co.uk/menus/"
                }
              ],
              "contact_info": [
                {
                  "type": "telephone",
                  "value": "+441616608040",
                  "source": "google_business"
                },
                {
                  "type": "telephone",
                  "value": "01213145880",
                  "source": "backlinks"
                },
                {
                  "type": "telephone",
                  "value": "01519095505",
                  "source": "backlinks"
                },
                {
                  "type": "telephone",
                  "value": "01142992550",
                  "source": "backlinks"
                },
                {
                  "type": "telephone",
                  "value": "01619690196",
                  "source": "backlinks"
                },
                {
                  "type": "telephone",
                  "value": "01519095109",
                  "source": "backlinks"
                },
                {
                  "type": "mail",
                  "value": "liverpoolcastlest@rudyspizza.co.uk",
                  "source": "backlinks"
                },
                {
                  "type": "mail",
                  "value": "peterstreet@rudyspizza.co.uk",
                  "source": "backlinks"
                },
                {
                  "type": "mail",
                  "value": "sheffield@rudyspizza.co.uk",
                  "source": "backlinks"
                },
                {
                  "type": "mail",
                  "value": "leeds@rudyspizza.co.uk",
                  "source": "backlinks"
                },
                {
                  "type": "mail",
                  "value": "sale@rudyspizza.co.uk",
                  "source": "backlinks"
                }
              ],
              "check_url": "https://www.google.co.uk/maps?cid=11185039208312255219&hl=en&gl=GB",
              "last_updated_time": "2023-02-03 13:14:17 +00:00"
            }
          ]
        }
      ]
    }
  ]
}

All POST data should be sent in the JSON format (UTF-8 encoding). The task setting is done using the POST method. When setting a task, you should send all task parameters in the task array of the generic POST array. You can send up to 2000 API calls per minute.

Below you will find a detailed description of the fields you can use for setting a task.

Description of the fields for setting a task:

Field name Type Description
categories array business categories
optional field
the categories you specify are used to search for business listings;
if you don’t use this field, we will return business listings found in the specified location;
you can specify up to 10 categories
description string description of the element in SERP
optional field
the description of the business entity for which the results are collected;
can contain up to 200 symbols
title string title of the element in SERP
optional field
the name of the business entity for which the results are collected;
can contain up to 200 symbols
is_claimed boolean indicates whether the business is verified by its owner on Google Maps
optional field
location_coordinate string GPS coordinates of a location
optional field
location_coordinate parameter should be specified in the “latitude,longitude,radius” format
the maximum number of decimal digits for “latitude” and “longitude”: 7
the minimum value for “radius”: 1
the maximum value for “radius”: 100000
example:
53.476225,-2.243572,200
filters array array of results filtering parameters
optional field
you can add several filters at once (8 filters maximum)
you should set a logical operator and, or between the conditions
the following operators are supported:
regex, <, <=, >, >=, =, <>, in, not_in, like, not_like
you can use the % operator with like and not_like to match any string of zero or more characters
example:
["rating.value",">",3]
you can receive the list of available filters by making a separate request to https://api.dataforseo.com/v3/business_data/business_listings/available_filters
order_by array results sorting rules
optional field
you can use the same values as in the filters array to sort the results
possible sorting types:
asc – results will be sorted in the ascending order
desc – results will be sorted in the descending order
you should use a comma to set up a sorting parameter
example:
["rating.value,desc"]note that you can set no more than three sorting rules in a single request
you should use a comma to separate several sorting rules
example:
["rating.value,desc","rating.votes_count,desc"]
limit integer the maximum number of returned businesses
optional field
default value: 100
maximum value: 1000
offset integer offset in the results array of returned businesses
optional field
default value: 0
if you specify the 10 value, the first ten entities in the results array will be omitted and the data will be provided for the successive entities
offset_token string token for subsequent requests
optional field
provided in the identical filed of the response to each request;
use this parameter to avoid timeouts while trying to obtain over 100,000 results in a single request;
by specifying the unique offset_token value from the response array, you will get the subsequent results of the initial task;
offset_token values are unique for each subsequent task
Note: if the offset_token is specified in the request, all other parameters should be identical to the previous request
tag string user-defined task identifier
optional field
the character limit is 255
you can use this parameter to identify the task and match it with the result
you will find the specified tag value in the data object of the response

‌‌‌‌‌
As a response of the API server, you will receive JSON-encoded data containing a tasks array with the information specific to the set tasks.

Description of the fields in the results array:

5integerthe number of 5-star ratings

Field name Type Description
version string the current version of the API
status_code integer general status code
you can find the full list of the response codes here
Note: we strongly recommend designing a necessary system for handling related exceptional or error conditions
status_message string general informational message
you can find the full list of general informational messages here
time string execution time, seconds
cost float total tasks cost, USD
tasks_count integer the number of tasks in the tasksarray
tasks_error integer the number of tasks in the tasks array returned with an error
tasks array array of tasks
        id string unique task identifier in our system
in the Universally unique identifier (UUID) format
        status_code integer status code of the task
generated by DataForSEO; can be within the following range: 10000-60000
        status_message string informational message of the task
        time string execution time, seconds
        cost float cost of the task, USD
        result_count integer number of elements in the result array
        path array URL path
        data object contains the same parameters that you specified in the POST request
        result array array of results
            total_count integer total number of results in our database relevant to your request
            count integer item types
the number of items in the items array
           offset integer offset in the results array of returned businesses
           offset_token string token for subsequent requests
by specifying the unique offset_token when setting a new task, you will get the subsequent results of the initial task;
offset_token values are unique for each subsequent task
            items array encountered item types
types of search engine results encountered in the items array;
possible item types: business_listing
                type string type of element = ‘business_listing’
                title string title of the element in SERP
the name of the business entity for which the results are collected
                description string description of the element in SERP
the description of the business entity for which the results are collected
                category string business category
Google My Business general category that best describes the services provided by the business entity
                category_ids array global category IDs
universal category IDs that do not change based on the selected country
                additional_categories array additional business categories
additional Google My Business categories that describe the services provided by the business entity in more detail
                cid string google-defined client id
unique id of a local establishment
learn more about the identifier in this help center article
                feature_id string the unique identifier of the element in SERP
learn more about the identifier in this help center article
                address string address of the business entity
                address_info object object containing address components of the business entity
                    borough string administrative unit or district the business entity location belongs to
                    address string street address of the business entity
                    city string name of the city where the business entity is located
                    zip string ZIP code of the business entity
                    region string DMA region of the business entity location
                    country_code string ISO country code of the business entity location
                place_id string unique place identifier
place id of the local establishment featured in the element
learn more about the identifier in this help center article
                phone string phone number of the business entity
                url string absolute url of the business entity
                domain string domain of the business entity
                logo string URL of the logo featured in Google My Business profile
                main_image string URL of the main image featured in Google My Business profile
                total_photos integer total count of images featured in Google My Business profile
                snippet string additional information on the business entity
                latitude float latitude coordinate of the local establishments in google maps
example:
"latitude": 51.584091
                longitude float longitude coordinate of the local establishment in google maps
example:
"longitude": -0.31365919999999997
                is_claimed boolean shows whether the entity is verified by its owner on Google Maps
                attributes object service details in a form of user-reviewed checks;
service details of a business entity displayed in a form of checks and based on user feedback and business category
                    available_attributes object available attributes
indicates attributes a business entity can offer
                    unavailable_attributes object unavailable attributes
indicates attributes a business entity cannot offer
                place_topics object keywords mentioned in customer reviews
contains most popular keywords related to products/services mentioned in customer reviews of a business entity and the number of reviews mentioning each keyword
example:
"place_topics": {
"egg roll": 48,
"birthday": 33
}
                rating object the element’s rating
the popularity rate based on reviews and displayed in SERP
                    rating_type string the type of rating
here you can find the following elements: Max5, Percents, CustomMax
                    value integer the value of the rating
                    votes_count integer the amount of feedback
                    rating_max integer the maximum value for a rating_type
                rating_distribution object the distribution of ratings of the business entity
the object displays the number of 1-star to 5-star ratings, as reviewed by users
                    1 integer the number of 1-star ratings
                    2 integer the number of 2-star ratings
                    3 integer the number of 3-star ratings
                    4 integer the number of 4-star ratings
                people_also_search array related business entities
                    cid string google-defined client id
unique id of a local establishment
learn more about the identifier in this help center article
                    feature_id string the unique identifier of the element in SERP
learn more about the identifier in this help center article
                    title string title of the element in SERP
the name of the business entity for which the results are collected
                    rating object the element’s rating
the popularity rate based on reviews and displayed in SERP
                        rating_type string the type of rating
here you can find the following elements: Max5, Percents, CustomMax
                        value integer the value of the rating
                        votes_count integer the amount of feedback
                        rating_max integer the maximum value for a rating_type
                work_time object work time details
information related to operational hours of the business entity
                    work_hours object open hours
information about work hours of the local establishment
                        timetable object work hours timetable
                            sunday array work hours on Sunday
can take values of the corresponding days of the week
                                open object opening time
                                    hour integer hours in the 24-hour format
                                    minute integer minutes
                                close object closing time
                                    hour integer hours in the 24-hour format
                                    minute integer minutes
                        current_status string current status of the establishment
possible values: open, close, temporarily_closed, closed_forever
                popular_times object popular times
information related to busy hours of the business entity
                    popular_times_by_days object popular hours
information about busy hours of the local establishment on each day of the week
                        sunday array busy hours on Sunday
can take values of the corresponding days of the week
                            time object busy hours
                                hour integer hours in a 24-hour format
                                minute integer minutes
                            popular_index integer popularity index
relative time-bound popularity index measured from 0 to 100;
higher value corresponds to a busier time of a day
                local_business_links array available interactions with the business
list of options to interact with the business directly from search results
                    type string type of element
possible values:
"reservation"
"order"
"delivery_services_element"
"menu"
                    title string title of the element
domain of the reservation software
                    url string URL to the services
                contact_info array available contacts of the business
list of contacts to interact with the business
                    type string type of contact element
                    value string contact displayed in SERP
example:
"+119797979736"
                    source string data source
                check_url string direct URL to search engine results
you can use it to make sure that we provided accurate results
                last_updated_time string date and time when the data was last updated
in the UTC format: “yyyy-mm-dd hh-mm-ss +00:00”
example:
2023-01-26 09:03:15 +00:00

‌‌