Get Business
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"
}Business
Get
Get Business API gets business information, including product features opted and profile information.
GET
/
v1
/
business
/
{business_id}
Get Business
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
Response
OK