Get Yelp Reviews for a Topic

View all Yelp Business, Reviews & Restaurant Data endpoints →

Request reviews associated with one topic for a specific Yelp business. Supply the business alias, 22-character business ID or Yelp business URL together with a topic name obtained from the Review Topics operation for that business. The documented result contains reviews about the selected topic and a matching snippet, with 20 reviews per page. page defaults to 1 and has a documented range of 1–1000; this endpoint does not expose a page_size input. This operation has no saved response probe, and its supplied response example is an empty object. Topic-matching reviews and supporting snippets are documented response content, not independently observed fields. Exact JSON property names, the snippet layout, pagination metadata, review identifiers and empty-result behavior are not established by the available evidence. Do not infer that it uses the general business-review response schema. Use the snippets to inspect evidence for a returned topic rather than treating a topic label as a complete account of customer experience or as a sentiment score.

API Features

Business-specific topic selection Use a topic name obtained from Review Topics for the same business. The input identifies an existing topic, not an arbitrary text-classification instruction.
Matching-passage context The documented response pairs topic-related reviews with a matching snippet, helping an operator inspect the passage behind a theme. The exact snippet field layout has not been verified.
Fixed twenty-review topic pages Request a topic page using page, with 20 reviews per page documented and no page_size control. This page size is described by the contract rather than a saved observation.
Theme-level evidence inspection Keep the selected business and topic attached to each retrieval so a reader can evaluate supporting passages without mistaking a theme label for a full customer-experience summary.

Live API Demo

GET /api/project/yelp/reviews-by-topic

Request cost is temporarily unavailable. No price is assumed.

View pricing

API Response (JSON)

{}
curl -X GET 'https://api.opendata-api.com/api/project/yelp/reviews-by-topic?key=<API_KEY>&business=gary-danko-san-francisco&page=1&topic=<topic>'
📢
Need Help?
If you encounter API issues or need other API requirements, please contact us.
Contact Us

Use Cases

Frequently asked questions

Where should I obtain the topic value?

Use a topic name from the Review Topics operation for the same business. service is the documented example, not a guarantee that every business exposes that topic.

Is a topic the same as a keyword search?

No. topic selects a name supplied by Review Topics. This endpoint does not expose the general review endpoint's query parameter, so do not assume that arbitrary keywords will resolve to a topic.

Can I change the number of topic reviews per page?

The contract documents 20 reviews per page and exposes page but not page_size. page defaults to 1 and accepts documented values from 1 to 1000. The response size and availability have not been independently verified.

Which response fields and snippet format are verified?

None have been independently verified for this endpoint. The documented content is reviews about the selected topic with a matching snippet, but there is no saved probe and the supplied example is an empty object. Confirm actual field names, pagination metadata and snippet layout before depending on a parser.

Does a topic snippet establish overall customer sentiment?

No. A matching snippet is supporting context for a selected topic, not a documented sentiment score or proof that the topic represents every review. Inspect the returned passages and retain the business and topic context.

Related operations

Guides

View Subscription Plans →