100 free credits. No credit card required. Get a key

Get a Yelp business API

A Yelp business: rating and distribution, categories, price, contact, address, hours, amenities, photos.

GET /v1/yelp/businesses/{business}Beta1 credit per callRefunded on failure
import os, requests

res = requests.get(
    "https://api.groundsocial.dev/v1/yelp/businesses/katzs-delicatessen-new-york",
    headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()
Response
200 · 1 credit
{
"business": {
"id": "V7lXZKBDzScDeGB8JmnzSA",
"alias": "katzs-delicatessen-new-york",
"name": "Katz's Delicatessen",
"url": "https://www.yelp.com/biz/katzs-delicatessen-new-york",
"image_url": "https://s3-media0.fl.yelpcdn.com/bphoto/qFUso4Q0D3QACv0jTd7Zlg/l.jpg",
"is_closed": false,
"closed_until": null,
"is_claimed": true,
"rating": 4.1,
"review_count": 17146,
"rating_distribution": {
"1": 1075,
"2": 961,
"3": 1910,
"4": 4425,
"5": 8780
},
"price": "$$",
"categories": [
{
"alias": "delis",
"title": "Delis",
"root_alias": "restaurants"
},
{
"alias": "tradamerican",
"title": "American",
"root_alias": "restaurants"
}
],
"alternate_names": [],
"summary": "Iconic New York deli famous for thick-cut pastrami sandwiches and bustling vibes.",
"phone": "(212) 254-2246",
"website": "https://www.katzsdelicatessen.com",
"coordinates": {
"latitude": 40.72228023,
"longitude": -73.98738542
},
"location": {
"address1": "205 E Houston St",
"address2": null,
"address3": null,
"city": "New York",
"state": "NY",
"zip_code": "10002",
"country": "US",
"display_address": [
"205 E Houston St",
"New York, NY 10002",
"… 1 more"
],
"neighborhoods": [
"Lower East Side"
]
},
"service_area": [],
"hours": [
{
"hours_type": "REGULAR",
"open": [
{
"day": 0,
"start": "0800",
"end": "2300",
"is_overnight": false
},
{
"day": 1,
"start": "0800",
"end": "2300",
"is_overnight": false
},
"… 5 more"
],
"is_open_now": true,
"today": [
"8:00 AM - 11:00 PM"
],
"last_updated": "Updated 1 month ago"
}
],
"special_hours": [],
"attributes": [
{
"alias": "www_platform",
"title": null,
"attributes": [
{
"alias": "RestaurantsDelivery",
"label": "Offers delivery",
"is_active": true
},
{
"alias": "RestaurantsTakeOut",
"label": "Offers take-out",
"is_active": true
},
"… 29 more"
]
}
],
"photo_count": 20144,
"…": "3 more fields"
}
}

Parameters

NameTypeDescription
businesspath · requiredstringThe business: its alias (the part after /biz/ in its link), its Yelp id, or the link itself (any Yelp site), URL-encoded. Example: katzs-delicatessen-new-york.
Response fields

200 with a YelpBusinessResponse, in Yelp’s own JSON.

FieldTypeDescription
businessYelpBusinessA business, after Yelp Fusion’s Business object.
Status codes
StatusMeaning
200The business.
400Invalid input. Nothing was charged.
401Missing or invalid API key.
402Not enough credits, a spend cap was reached, or payment is required.
403The target is private, or the account is suspended.
404No Yelp business by that alias, id or link.
429Too many requests. Wait for Retry-After seconds.
503Yelp is temporarily unavailable. Retryable; nothing was charged.

Every error has code, message, hint and retryable. All error codes

Yelp is a trademark of its owner. We are not affiliated with or endorsed by it.