curl --request GET \
--url https://api.birdeye.com/resources/v1/business/{business_id}import requests
url = "https://api.birdeye.com/resources/v1/business/{business_id}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.birdeye.com/resources/v1/business/{business_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.birdeye.com/resources/v1/business/{business_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.birdeye.com/resources/v1/business/{business_id}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.birdeye.com/resources/v1/business/{business_id}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.birdeye.com/resources/v1/business/{business_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"businessId": 12345678,
"name": "Dieci Lifestyle Spa",
"alias": "Dieci Lifestyle Spa - Livingston, NJ",
"emailId": "4568@livelovespa.com",
"phone": "(973) 716-0101",
"fax": "(973) 716-0102",
"websiteURL": "http://www.diecispa.com/",
"description": "Specialties\nBridal ServicesMakeup: Makeovers/Lessons/ Faux Lash applicationMassagesFacialsMicrocurrentMicrodermabrasionBody…",
"keywords": "Hair Salons,Day Spas,Beauty Salon,Beauty Salons,Salons,Massage Therapists",
"services": "Beauty Salon, Hair Spa",
"logoURL": "http://d3cnqzq0ivprch.cloudfront.net/prod/css/images/logo.jpg",
"coverImageURL": "http://d3cnqzq0ivprch.cloudfront.net/common/css/images/profile/spa.jpg",
"gmbCover": "http://d3cnqzq0ivprch.cloudfront.net/common/css/images/profile/abcd.jpg",
"facebookCover": "http://d3cnqzq0ivprch.cloudfront.net/common/css/images/profile/fb.jpg",
"timezone": "Pacific Standard Time",
"isServiceAreaProvider": "Yes",
"serviceAreas": [
{
"description": "2390 Boston Street, Seattle, WA, 98109",
"placeId": "ChIJ9YasdSKZs0wRSt--7QSjsd3"
},
{
"description": "400 Boston Street, Seattle, WA, 98109",
"placeId": "ChIJ9aasdAOKZasdaSt--7QsdLja4"
}
],
"languages": [
"English",
"Spanish"
],
"payment": "Visa, MasterCard, American Express, Debit Cards, Check",
"hoursOfOperations": [
{
"day": "0",
"isOpen": 1,
"workingHours": [
{
"startHour": "09:00",
"endHour": "13:30"
},
{
"startHour": "14:30",
"endHour": "19:00"
}
],
"comment": ""
},
{
"day": "1",
"isOpen": 1,
"workingHours": [
{
"startHour": "09:00",
"endHour": "13:30"
},
{
"startHour": "14:30",
"endHour": "19:00"
}
],
"comment": ""
},
{
"day": "2",
"isOpen": 1,
"workingHours": [
{
"startHour": "09:00",
"endHour": "13:30"
},
{
"startHour": "14:30",
"endHour": "19:00"
}
],
"comment": ""
},
{
"day": "3",
"isOpen": 1,
"workingHours": [
{
"startHour": "09:00",
"endHour": "13:30"
},
{
"startHour": "14:30",
"endHour": "19:00"
}
],
"comment": ""
},
{
"day": "4",
"isOpen": 1,
"workingHours": [
{
"startHour": "09:00",
"endHour": "13:30"
},
{
"startHour": "14:30",
"endHour": "19:00"
}
],
"comment": ""
},
{
"day": "5",
"isOpen": 1,
"workingHours": [
{
"startHour": "09:00",
"endHour": "13:30"
},
{
"startHour": "14:30",
"endHour": "19:00"
}
],
"comment": ""
},
{
"day": "6",
"isOpen": 0
}
],
"working24x7": 0,
"location": {
"address1": "90 W Mount Pleasant Ave",
"address2": "(btwn Preston Dr. & N. Mitchell Ave.)",
"subLocality": "Auckland CBD",
"city": "Livingston",
"state": "NJ",
"zip": "07039",
"countryCode": "US",
"countryName": "United States of America"
},
"reviewCount": 53,
"avgRating": 3.4,
"status": "active",
"type": "Business",
"category": "Hair Salons,Day Spas,Beauty Salon,Beauty Salons,Salons,Massage Therapists",
"socialProfileURLs": {
"googleUrl": "null",
"facebookUrl": null,
"twitterUrl": null,
"linkedinUrl": null,
"youTubeUrl": null
},
"isSEOEnabled": "false",
"baseUrl": "https://birdeye.com/diecispa-755009344"
}{
"code": 1161,
"message": "Invalid API key"
}{
"code": 1011,
"message": "Business id is invalid"
}{
"code": 89,
"message": "Rate limit exceeded"
}Get
Get Business API gets business information, including product features opted and profile information.
curl --request GET \
--url https://api.birdeye.com/resources/v1/business/{business_id}import requests
url = "https://api.birdeye.com/resources/v1/business/{business_id}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.birdeye.com/resources/v1/business/{business_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.birdeye.com/resources/v1/business/{business_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.birdeye.com/resources/v1/business/{business_id}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.birdeye.com/resources/v1/business/{business_id}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.birdeye.com/resources/v1/business/{business_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"businessId": 12345678,
"name": "Dieci Lifestyle Spa",
"alias": "Dieci Lifestyle Spa - Livingston, NJ",
"emailId": "4568@livelovespa.com",
"phone": "(973) 716-0101",
"fax": "(973) 716-0102",
"websiteURL": "http://www.diecispa.com/",
"description": "Specialties\nBridal ServicesMakeup: Makeovers/Lessons/ Faux Lash applicationMassagesFacialsMicrocurrentMicrodermabrasionBody…",
"keywords": "Hair Salons,Day Spas,Beauty Salon,Beauty Salons,Salons,Massage Therapists",
"services": "Beauty Salon, Hair Spa",
"logoURL": "http://d3cnqzq0ivprch.cloudfront.net/prod/css/images/logo.jpg",
"coverImageURL": "http://d3cnqzq0ivprch.cloudfront.net/common/css/images/profile/spa.jpg",
"gmbCover": "http://d3cnqzq0ivprch.cloudfront.net/common/css/images/profile/abcd.jpg",
"facebookCover": "http://d3cnqzq0ivprch.cloudfront.net/common/css/images/profile/fb.jpg",
"timezone": "Pacific Standard Time",
"isServiceAreaProvider": "Yes",
"serviceAreas": [
{
"description": "2390 Boston Street, Seattle, WA, 98109",
"placeId": "ChIJ9YasdSKZs0wRSt--7QSjsd3"
},
{
"description": "400 Boston Street, Seattle, WA, 98109",
"placeId": "ChIJ9aasdAOKZasdaSt--7QsdLja4"
}
],
"languages": [
"English",
"Spanish"
],
"payment": "Visa, MasterCard, American Express, Debit Cards, Check",
"hoursOfOperations": [
{
"day": "0",
"isOpen": 1,
"workingHours": [
{
"startHour": "09:00",
"endHour": "13:30"
},
{
"startHour": "14:30",
"endHour": "19:00"
}
],
"comment": ""
},
{
"day": "1",
"isOpen": 1,
"workingHours": [
{
"startHour": "09:00",
"endHour": "13:30"
},
{
"startHour": "14:30",
"endHour": "19:00"
}
],
"comment": ""
},
{
"day": "2",
"isOpen": 1,
"workingHours": [
{
"startHour": "09:00",
"endHour": "13:30"
},
{
"startHour": "14:30",
"endHour": "19:00"
}
],
"comment": ""
},
{
"day": "3",
"isOpen": 1,
"workingHours": [
{
"startHour": "09:00",
"endHour": "13:30"
},
{
"startHour": "14:30",
"endHour": "19:00"
}
],
"comment": ""
},
{
"day": "4",
"isOpen": 1,
"workingHours": [
{
"startHour": "09:00",
"endHour": "13:30"
},
{
"startHour": "14:30",
"endHour": "19:00"
}
],
"comment": ""
},
{
"day": "5",
"isOpen": 1,
"workingHours": [
{
"startHour": "09:00",
"endHour": "13:30"
},
{
"startHour": "14:30",
"endHour": "19:00"
}
],
"comment": ""
},
{
"day": "6",
"isOpen": 0
}
],
"working24x7": 0,
"location": {
"address1": "90 W Mount Pleasant Ave",
"address2": "(btwn Preston Dr. & N. Mitchell Ave.)",
"subLocality": "Auckland CBD",
"city": "Livingston",
"state": "NJ",
"zip": "07039",
"countryCode": "US",
"countryName": "United States of America"
},
"reviewCount": 53,
"avgRating": 3.4,
"status": "active",
"type": "Business",
"category": "Hair Salons,Day Spas,Beauty Salon,Beauty Salons,Salons,Massage Therapists",
"socialProfileURLs": {
"googleUrl": "null",
"facebookUrl": null,
"twitterUrl": null,
"linkedinUrl": null,
"youTubeUrl": null
},
"isSEOEnabled": "false",
"baseUrl": "https://birdeye.com/diecispa-755009344"
}{
"code": 1161,
"message": "Invalid API key"
}{
"code": 1011,
"message": "Business id is invalid"
}{
"code": 89,
"message": "Rate limit exceeded"
}Headers
e.g. application/json
e.g. [Required] Partner specific API key provided by Birdeye for data exchange.
Path Parameters
Id of the Business.
Response
OK
Services (Comma separated list of services offered; used for SEO).
Id of the Business (Long).
Name of the Business/Product (Max 1000 character long).
Alias, Your internal way of identifying this location.
Business Email ID.
Business Phone (Required) Format is (xxx) xxx-xxxx.
Fax number Format is (xxx) xxx-xxxx.
Business website url.
Description of the business (10 to 4000 character long).
Keywords (Comma separated list of keywords; Max 10 keywords; used for SEO).
Logo Image. Minimum 250 x 250px. Recommended: 720 X 720 px. 10 KB min.
Cover Image (Dimension should be 1296 x 367 px).
Google Cover Image Url.
Facebook Cover Image Url.
Timezone of the business.
Language.
To select whether the business is Service Area Business Type. Default value is : No. Possible values are:
Service Area information.
Show child attributes
Show child attributes
Payment Type (Max 250 character long).
Working hours of business for each day.
Show child attributes
Show child attributes
Whether business is 24x7 open or not (0-false, 1-true).
Business address
Show child attributes
Show child attributes
Total review count of the business.
Average rating of the business.
Business status. Valid values are demo, active, inactive. Default is
Business type. Valid values are "Business, Enterprise-Location, Enterprise-Product, Reseller or a existing custom hierarchy type". Default is:
Category (Mapped to Google Category).
Profile URLs for business on top rated social sites
Show child attributes
Show child attributes
Enable/Disbale search engine indexing of business profile. Valid values are "true","false". Default is "true"