Skip to main content
GET
Yelp Business Info
Retrieve public Yelp business details using a 22-character business ID, or a canonical yelp.com/biz URL containing that ID. Business aliases are not accepted. Returns contact details, rating, review totals, photos, source-text hours and features. Current open/closed status is not inferred. Successful uncached requests cost 1 credits. Cache hits and failed requests cost zero. Provider availability and free allowance may change.

Authorizations

x-api-key
string
header
required

Headers

Cache-Control
string
Idempotency-Key
string
X-Max-Credits
integer

Optional nonnegative integer cap on the maximum request hold. A live request whose hold exceeds this cap returns 422 CREDIT_BUDGET_EXCEEDED before spending. Metered holds use the requested limit; cache hits and successful idempotent replays cost zero.

Required range: x >= 0

Query Parameters

id
string

22-character Yelp business ID (encid). Aliases are unsupported.

url
string

Canonical HTTPS URL containing the product ID or 22-character Yelp business ID. Query strings, fragments and aliases are unsupported.

Response

Retrieve public Yelp business details using a 22-character business ID, or a canonical yelp.com/biz URL containing that ID. Business aliases are not accepted. Returns contact details, rating, review totals, photos, source-text hours and features. Current open/closed status is not inferred.

success
boolean
required
platform
string
required
endpoint
string
required
credits_used
integer
required
Required range: x >= 0
credits_remaining
integer | null
required
request_id
string
required
cached
boolean
required
data
object
required

The selected operation determines the resource fields in this object. Source data can omit a metric or report it as null.