DataForSEO
SEO, search-engine results, keyword research, backlinks and AI visibility data.
Live Business Listings Search Tasks
Searches DataForSEO's own index of local business listings by categories, description, title and location_coordinate - a latitude, longitude and radius triple. Returns total_count, count, offset, offset_token and items, paged with the token. Wrapped in DataForSEO's envelope: data in tasks[0].result, outcome in tasks[0].status_code - a rejected request still returns HTTP 200. This reads an index and answers immediately; everything else here queues a live scrape of the source. Start with this and drill in only where it matters.
- 類型: array object[]
- categories類型: array string[]
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 characters
- 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,orbetween the conditions the following operators are supported:regex,not_regex,, `>=`, `=`,,in,not_in,like,not_like,ilike,not_ilike,match,not_matchyou can use the%operator withlikeandnot_liketo 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 tohttps://api.dataforseo.com/v3/business_data/business_listings/available_filters - is類型: boolean
_claimed indicates whether the business is verified by its owner on Google Maps optional field
- limit類型: integer
the maximum number of returned businesses optional field default value:
100maximum value:1000 - location類型: string
_coordinate GPS coordinates of a location optional field
location_coordinateparameter should be specified in the “latitude,longitude,radius” format the maximum number of decimal digits for “latitude” and “longitude”: 7 the value of “radius” is specified in kilometres (km) the minimum value for “radius”:1the maximum value for “radius”:100000example:53.476225,-2.243572,200 - offset類型: integer
offset in the results array of returned businesses optional field default value:
0if you specify the10value, the first ten entities in the results array will be omitted and the data will be provided for the successive entities - offset類型: string
_token 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_tokenvalue from the response array, you will get the subsequent results of the initial task;offset_tokenvalues are unique for each subsequent task Note: if theoffset_tokenis specified in the request, all other parameters should be identical to the previous request - order類型: array string[]
_by results sorting rules optional field you can use the same values as in the
filtersarray to sort the results possible sorting types:asc– results will be sorted in the ascending orderdesc– 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"] - 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
tagvalue in thedataobject of the response - 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 characters
- 類型: object200
Successful response
- 類型: array string[]contact
_info available contacts of the business list of contacts to interact with the business
- 類型: stringcontact
_info .check _url direct URL to search engine results you can use it to make sure that we provided accurate results
- 類型: stringcontact
_info .first _seen date and time when our crawler found the business listing element for the first time in the UTC format: “yyyy-mm-dd hh-mm-ss +00:00” example:
2023-03-11 10:04:11 +00:00 - 類型: stringcontact
_info .last _updated _time 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 - 類型: stringcontact
_info .source data source
- 類型: stringcontact
_info .type type of contact element
- 類型: stringcontact
_info .value contact displayed in SERP example:
"+119797979736" - 類型: array string[]items
encountered item types types of search engine results encountered in the
itemsarray; possible item types:business_listing - 類型: integeritems
.1 the number of 1-star ratings
- 類型: integeritems
.2 the number of 2-star ratings
- 類型: integeritems
.3 the number of 3-star ratings
- 類型: integeritems
.4 the number of 4-star ratings
- 類型: integeritems
.5 the number of 5-star ratings
- 類型: array string[]items
.additional _categories additional business categories additional Google My Business categories that describe the services provided by the business entity in more detail
- 類型: stringitems
.address street address of the business entity
- 類型: objectitems
.address _info object containing address components of the business entity
- 類型: objectitems
.attributes 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 - 類型: objectitems
.available _attributes available attributes indicates attributes a business entity can offer
- 類型: stringitems
.borough administrative unit or district the business entity location belongs to
- 類型: stringitems
.category business category Google My Business general category that best describes the services provided by the business entity
- 類型: array string[]items
.category _ids global category IDs universal category IDs that do not change based on the selected country
- 類型: stringitems
.cid google-defined client id unique id of a local establishment learn more about the identifier in this help center article
- 類型: stringitems
.city name of the city where the business entity is located
- 類型: objectitems
.close closing time
- 類型: stringitems
.country _code ISO country code of the business entity location
- 類型: stringitems
.current _status current status of the establishment possible values:
open,close,temporarily_closed,closed_forever - 類型: stringitems
.description description of the element in SERP the description of the business entity for which the results are collected
- 類型: stringitems
.domain domain of the business entity
- 類型: stringitems
.feature _id the unique identifier of the element in SERP learn more about the identifier in this help center article
- 類型: integeritems
.hotel _rating hotel class rating class ratings range between 1-5 stars, learn more if there is no hotel class rating information, the value will be
null - 類型: integeritems
.hour hours in the 24-hour format
- 類型: booleanitems
.is _claimed shows whether the entity is verified by its owner on Google Maps
- 類型: numberitems
.latitude latitude coordinate of the local establishments in google maps example:
"latitude": 51.584091 - 類型: stringitems
.logo URL of the logo featured in Google My Business profile
- 類型: numberitems
.longitude longitude coordinate of the local establishment in google maps example:
"longitude": -0.31365919999999997 - 類型: stringitems
.main _image URL of the main image featured in Google My Business profile
- 類型: integeritems
.minute minutes
- 類型: objectitems
.open opening time
- 類型: stringitems
.original _title original title of the element original title not translated by Google
- 類型: array string[]items
.people _also _search related business entities
- 類型: stringitems
.phone phone number of the business entity
- 類型: stringitems
.place _id unique place identifier place id of the local establishment featured in the element learn more about the identifier in this help center article
- 類型: objectitems
.place _topics 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} - 類型: stringitems
.price _level property price level can take values:
inexpensive,moderate,expensive,very_expensiveif there is no price level information, the value will benull - 類型: objectitems
.rating the element’s rating the popularity rate based on reviews and displayed in SERP
- 類型: objectitems
.rating _distribution the distribution of ratings of the business entity the object displays the number of 1-star to 5-star ratings, as reviewed by users
- 類型: integeritems
.rating _max the maximum value for a
rating_type - 類型: stringitems
.rating _type the type of rating here you can find the following elements:
Max5,Percents,CustomMax - 類型: stringitems
.region DMA region of the business entity location
- 類型: stringitems
.snippet additional information on the business entity
- 類型: array string[]items
.sunday work hours on Sunday can take values of the corresponding days of the week
- 類型: objectitems
.timetable work hours timetable
- 類型: stringitems
.title title of the element in SERP the name of the business entity for which the results are collected
- 類型: integeritems
.total _photos total count of images featured in Google My Business profile
- 類型: stringitems
.type type of element = ‘business_listing’
- 類型: object
unavailable attributes indicates attributes a business entity cannot offer
- 類型: stringitems
.url absolute url of the business entity
- 類型: integeritems
.value the value of the rating
- 類型: integeritems
.votes _count the amount of feedback
- 類型: objectitems
.work _hours open hours information about work hours of the local establishment
- 類型: objectitems
.work _time work time details information related to operational hours of the business entity
- 類型: stringitems
.zip ZIP code of the business entity
- 類型: array string[]local
_business _links available interactions with the business list of options to interact with the business directly from search results
- 類型: stringlocal
_business _links .title title of the element domain of the reservation software
- 類型: stringlocal
_business _links .type type of element possible values:
"reservation""order""delivery_services_element""menu" - 類型: stringlocal
_business _links .url URL to the services
- 類型: objectpopular
_times popular times information related to busy hours of the business entity
- 類型: integerpopular
_times .hour hours in a 24-hour format
- 類型: integerpopular
_times .minute minutes
- 類型: integerpopular
_times .popular _index popularity index relative time-bound popularity index measured from
0to100; higher value corresponds to a busier time of a day - 類型: objectpopular
_times .popular _times _by _days popular hours information about busy hours of the local establishment on each day of the week
- 類型: array string[]popular
_times .sunday busy hours on Sunday can take values of the corresponding days of the week
- 類型: objectpopular
_times .time busy hours
- 類型: array string[]result
array of results
- 類型: integerresult
.count item types the number of items in the
itemsarray - 類型: integerresult
.offset offset in the results array of returned businesses
- 類型: stringresult
.offset _token token for subsequent requests by specifying the unique
offset_tokenwhen setting a new task, you will get the subsequent results of the initial task;offset_tokenvalues are unique for each subsequent task - 類型: integerresult
.total _count total number of results in our database relevant to your request
- 類型: array string[]tasks
array of tasks
- 類型: numbertasks
.cost cost of the task, USD
- 類型: objecttasks
.data contains the same parameters that you specified in the POST request
- 類型: stringtasks
.id unique task identifier in our system in the Universally unique identifier (UUID) format
- 類型: array string[]tasks
.path URL path
- 類型: integertasks
.result _count number of elements in the
resultarray - 類型: integertasks
.status _code status code of the task generated by DataForSEO; can be within the following range: 10000-60000
- 類型: stringtasks
.status _message informational message of the task
- 類型: stringtasks
.time execution time, seconds
- 類型: stringversion
the current version of the API
- 類型: numberversion
.cost total tasks cost, USD
- 類型: integerversion
.status _code 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
- 類型: stringversion
.status _message general informational message you can find the full list of general informational messages here
- 類型: integerversion
.tasks _count *the number of tasks in the **
tasks*array - 類型: integerversion
.tasks _error the number of tasks in the
tasksarray returned with an error - 類型: stringversion
.time execution time, seconds
application/json - 400
Bad request
- 401
Unauthorized
- 402
The request cannot proceed because a billing requirement is not met.
- 403
The account is not permitted to perform this operation.
- 429
Rate limit exceeded
- 500
Internal server error
- 502
The service could not complete the request.
- 503
The API or billing service is temporarily unavailable.
- 504
The service timed out while processing the request.
- default
The operation failed. Keep the response request ID when contacting Felo support.
curl https://openapi.felo.ai/v1/beta/dataforseo/business_data/business_listings/search/live \
--request POST \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--data '[
{
"title": "Starbucks",
"location_coordinate": "35.6595,139.7005,5",
"limit": 1
}
]'
{
"version": "string",
"version.status_code": 1,
"version.status_message": "string",
"version.time": "string",
"version.cost": 1,
"version.tasks_count": 1,
"version.tasks_error": 1,
"tasks": [
"string"
],
"tasks.id": "string",
"tasks.status_code": 1,
"tasks.status_message": "string",
"tasks.time": "string",
"tasks.cost": 1,
"tasks.result_count": 1,
"tasks.path": [
"string"
],
"tasks.data": {},
"result": [
"string"
],
"result.total_count": 1,
"result.count": 1,
"result.offset": 1,
"result.offset_token": "string",
"items": [
"string"
],
"items.type": "string",
"items.title": "string",
"items.original_title": "string",
"items.description": "string",
"items.category": "string",
"items.category_ids": [
"string"
],
"items.additional_categories": [
"string"
],
"items.cid": "string",
"items.feature_id": "string",
"items.address": "string",
"items.address_info": {},
"items.borough": "string",
"items.city": "string",
"items.zip": "string",
"items.region": "string",
"items.country_code": "string",
"items.place_id": "string",
"items.phone": "string",
"items.url": "string",
"items.domain": "string",
"items.logo": "string",
"items.main_image": "string",
"items.total_photos": 1,
"items.snippet": "string",
"items.latitude": 1,
"items.longitude": 1,
"items.is_claimed": true,
"items.attributes": {},
"items.available_attributes": {},
"items.unavailable_attributes": {},
"items.place_topics": {},
"items.rating": {},
"items.rating_type": "string",
"items.value": 1,
"items.votes_count": 1,
"items.rating_max": 1,
"items.hotel_rating": 1,
"items.price_level": "string",
"items.rating_distribution": {},
"items.1": 1,
"items.2": 1,
"items.3": 1,
"items.4": 1,
"items.5": 1,
"items.people_also_search": [
"string"
],
"items.work_time": {},
"items.work_hours": {},
"items.timetable": {},
"items.sunday": [
"string"
],
"items.open": {},
"items.hour": 1,
"items.minute": 1,
"items.close": {},
"items.current_status": "string",
"popular_times": {},
"popular_times.popular_times_by_days": {},
"popular_times.sunday": [
"string"
],
"popular_times.time": {},
"popular_times.hour": 1,
"popular_times.minute": 1,
"popular_times.popular_index": 1,
"local_business_links": [
"string"
],
"local_business_links.type": "string",
"local_business_links.title": "string",
"local_business_links.url": "string",
"contact_info": [
"string"
],
"contact_info.type": "string",
"contact_info.value": "string",
"contact_info.source": "string",
"contact_info.check_url": "string",
"contact_info.last_updated_time": "string",
"contact_info.first_seen": "string"
}