100 free credits. No credit card required.Start building
Logo
Yelp logoYelp API

Get Yelp business and review data with one API

Fetch a Yelp business and its customer reviews as structured JSON with one SocialCrawl API key. Shared place and review schema. Reads are priced in credits.

Yelp logo
/v1/yelp

2 active endpoints. Business info then reviews.

  • GET /v1/yelp/business/info
  • GET /v1/yelp/business/reviews

What Yelp endpoints does SocialCrawl ship?

Two live read endpoints for Yelp. Look up a business by its encid, then page reviews 10 at a time. No search on this surface. Alias slugs are not found.

/v1/yelp/business/info

One Yelp business by 22-character encid. Name, unrounded rating, exact review count, price level, address, coordinates, categories, photos, timezone. Alias URLs return 404 and are not billed. Standard tier (1 credit).

id or url

/v1/yelp/business/reviews

Customer reviews for that encid. 10 per page with a cursor, owner replies, photos, language, and HELPFUL votes. Page 2 does not overlap page 1. Advanced tier (5 credits).

id or url, cursor

Yelp API2 endpoints supported
View docs
Business
Reviews

Returns one Yelp business by its 22-character encid: name, unrounded rating, review count, price level, address, coordinates, categories, photos, and timezone.

Use it when you already have a Yelp encid. Alias slugs return not found. There is no search on this surface.

1 credit

GET/v1/yelp/business/info?id=zj8Lq1T8KIC5zwFief15jg
$ curl https://www.socialcrawl.dev/v1/yelp/business/info?id=zj8Lq1T8KIC5zwFief15jg \
    -H "x-api-key: sc_YOUR_API_KEY"
idle
// No example response recorded for this endpoint yet. The endpoint docs cover the response shape and every field

How the Yelp API works

Yelp is a normal SocialCrawl data surface. You call GET /v1/yelp/… with an API key, spend credits on live misses, and get a single JSON envelope back.

Authenticate every call

Send your key in the x-api-key header. No Yelp OAuth app for public reads. The same key works across SocialCrawl platforms.

GET with query params

Both Yelp routes are GET. Pass id (the encid) or a /biz/{encid} URL. cursor pages reviews. We validate formats before charging.

Pay in credits, not seats

business/info costs 1 credit. business/reviews costs 5 credits. Cache hits cost 0. Empty or hard failures refund.

Read one JSON envelope

Every response is the same shape: success, data, credits_used, credits_remaining, request_id, cached. Review lists carry next_cursor when another page exists.

The usual integration chain

You already hold a Yelp encid. Look the business up, then page reviews.

01Business info
GET /v1/yelp/business/info?id=…

Place with rating, address, coordinates, photos

Confirms the encid before you spend on reviews.

02Reviews
GET /v1/yelp/business/reviews?id=…

ReviewList of 10 reviews

Customer language plus owner replies.

03Next page
GET /v1/yelp/business/reviews?id=…&cursor=…

The next 10 reviews, no overlap

cursor from the previous page.

request
GET /v1/yelp/business/info?id=zj8Lq1T8KIC5zwFief15jg
Host: www.socialcrawl.dev
x-api-key: sc_your_api_key_here

GET /v1/yelp/business/reviews?id=zj8Lq1T8KIC5zwFief15jg
response envelope
{
  "success": true,
  "data": {
    "place": {
      "id": "zj8Lq1T8KIC5zwFief15jg",
      "name": "Prince Street Pizza",
      "rating": { "value": 4.3, "max": 5 },
      "reviews_count": 5712
    }
  },
  "credits_used": 1,
  "credits_remaining": 9999,
  "request_id": "req_…",
  "cached": false
}

What lands in data

Field names match the rest of SocialCrawl where archetypes align. Parse once, reuse across platforms.

Placebusiness/info

id, name, url, rating, reviews_count, price_level, address, coordinates, categories, photos

ReviewListbusiness/reviews

items[] with text, rating, author, responses[], images, published_at

Review page 2reviews page 2

next_cursor, 10 new ids, zero overlap

Inside the gateway

Same request lifecycle as every other /v1 platform endpoint. Yelp is not a sidecar.

  1. 01

    Edge receives the call

    Next.js catch-all routes into the Hono social API. We mint a request_id, authenticate the key, then enforce rate limit (600/min) and concurrency (50 in flight per key).

  2. 02

    Validate, then debit

    Registry lookup finds yelp/business/info (or business/reviews). Required params and format checks run first. Invalid input returns 400 with no charge. Valid calls debit the tier cost atomically before upstream work.

  3. 03

    Cache or fetch

    A deterministic cache key is built from platform + resource + params. Hit: return immediately, credits_used = 0. Miss: we fetch, retry on 5xx/network, and trip a circuit breaker if the source is unhealthy.

  4. 04

    Normalize and return

    Upstream JSON is mapped to Place and ReviewList, validated against the canonical Zod schema, then wrapped in the success envelope and logged for billing audit.

Billing rules that matter in production

  • business/info: 1 credit
  • business/reviews: 5 credits
  • Cache hit: 0 credits
  • Unknown encid: 404, auto-refund
  • Empty review page: auto-refund
  • Bad params: 400, never charged
  • No credits: 402, never charged
  • Reviews page size is 10
  • No search on this surface

How we get the data

Yelp is public read data. We normalize it into the SocialCrawl schema so your code does not learn a second vendor SDK.

What Yelp is for this API

Public business profiles and customer reviews about a local business. Not a keyword search.

How SocialCrawl reaches it

Business and review reads run as ordinary GETs. Identity is the 22-character encid.

What leaves our edge

Place for the business and ReviewList for its reviews.

What we do not ship live

No search, nearby, menus, or Q&A. Alias slugs are not found.

field map sketch
Yelp businessplace.*encid as place.id
review bodyReviewList items[]stars, text, owner replies
cursorquery controlcursor pages 10 reviews

What this API is used for

The jobs this API is most often used for.

2active Yelp endpoints in the registry
1 / 5credit ladder for business/info vs reviews

Local-business reputation and review mining

Callers hold an encid, confirm the place, then page reviews. Yelp Place plus ReviewList on the same schema as Tripadvisor, keyed by encid, with a 5-credit review page after a 1-credit lookup.

Live misses are typically under two seconds for info and a few seconds for a review page.

Use case examples

Common ways teams put this data to work, and the stack each one tends to run.

Local SEO

Python, Sheets

business/info for rating and review count, reviews for recent language.

VoC research

Node, notebooks

page reviews with cursor and keep owner replies.

Competitive intel

BI loads

same Place schema as Tripadvisor for a restaurant set.

Call it in two lines

Info is 1 credit. Reviews are 5. Cache hits are free.

curl "https://www.socialcrawl.dev/v1/yelp/business/info?id=zj8Lq1T8KIC5zwFief15jg" \
  -H "x-api-key: sc_your_api_key_here"
curl "https://www.socialcrawl.dev/v1/yelp/business/reviews?id=zj8Lq1T8KIC5zwFief15jg" \
  -H "x-api-key: sc_your_api_key_here"
Yelp logoYelp on SocialCrawl

Same key as the rest of the catalog

Endpoints

What data does the Yelp API return?

Every endpoint returns structured JSON in a unified envelope. Computed fields such as engagement rate and content category are included only where the endpoint supports them and the required source inputs are present.

FAQ

Have a question? We got answers

Find answers to frequently asked questions about SocialCrawl's API, pricing, and capabilities.

Contact us
How much does the Yelp API cost?
Yelp endpoints are billed per call in credits: standard endpoints cost 1 credit, advanced 5, and premium 10. On Yelp that works out to between 1 and 5 credits per call. Every account starts with 100 free credits, and there is no subscription. You only pay for the calls you make.
Is scraping Yelp data legal?
SocialCrawl returns publicly available Yelp data and does not access private or login-gated content. Whether scraping fits your project depends on your use case and jurisdiction. You are responsible for complying with Yelp's terms of service and applicable data-protection laws such as GDPR and CCPA. This is general information, not legal advice.
Yelp scraping API vs the official Yelp API: what's the difference?
With SocialCrawl there is no app review or approval queue. Sign up and call Yelp endpoints immediately with a single x-api-key. Responses share one unified schema with every other SocialCrawl platform, and credit-based pricing replaces per-platform quotas. Official APIs are still the right choice for posting and other write actions: SocialCrawl is read-only data.

Read the Yelp API reference in the docs

🤖 AI agent or LLM? Read this page as markdown