Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Yelp API v2 Java Code Sample


This program demonstrates the capability of the Yelp API version 2.0 by using the Search API to query for businesses by a search term and location, and the Business API to query additional information about the top result from the search query.

Please refer to API documentation for more details.

Steps to run

Run the code sample without specifying any arguments: ./

Run the code sample by specifying the optional arguments: ./ --term "bars" --location "San Francisco, CA"

Something went wrong with that request. Please try again.