yelpapi
yelpapi is a pure Python implementation of the Yelp Fusion API.
What it is and what it does
yelpapi is a pure Python client for the Yelp Fusion API that abstracts away HTTP details and session management. It provides methods to search for businesses, retrieve business details, read reviews, look up events, and access engagement metrics—all through a simple, context-manager-friendly interface. The library uses requests.Session internally for connection pooling, which improves performance when making multiple API calls.
The package is designed to be robust to Yelp API changes and requires only requests as a runtime dependency. It supports Python 3.9 through 3.14 and has been actively maintained since 2013. You instantiate YelpAPI with your API key, optionally set a timeout, and then call methods like search_query(), business_query(), reviews_query(), or event_search_query() to retrieve data.
Use it for:
- Search for restaurants, shops, or services in a specific location and retrieve ratings, hours, and contact info.
- Aggregate and analyze customer reviews and review highlights for businesses you track.
- Build a local business directory or comparison tool that pulls live data from Yelp.
- Query Yelp's event listings and featured events for a given area.
- Match business names and phone numbers against Yelp's database to enrich your own data.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
yelpapi wraps the Yelp Fusion API, letting you search for businesses, retrieve reviews, check events, and query business details programmatically from Python.
Yes. yelpapi is actively maintained, has no known vulnerabilities, low install friction, and a permissive license. Install it if you need to integrate Yelp business data into a Python application. The main prerequisite is obtaining a Yelp Fusion API key; the library itself is straightforward to use.
Install
yelpapi on PyPI
pip
pip install yelpapiuv
uv add yelpapipoetry
poetry add yelpapiInstalling yelpapi
Before you install
Low install friction with a single dependency on requests. The package is actively maintained with a recent release (149 days ago) and has been stable since its early releases in 2013.
License in practice
BSD 3-Clause License (permissive) requires attribution but places no restrictions on commercial or private use. You are free to use, modify, and distribute this code provided you retain the license notice.
Quickstart
pip install yelpapi
from yelpapi import YelpAPI
with YelpAPI(api_key) as yelp_api:
search_results = yelp_api.search_query(location='San Francisco', term='coffee')
Requires a valid Yelp Fusion API key (obtain from Yelp's developer portal) and Python 3.9 or higher.
Verify before relying
- Rate limits and quota behavior of the Yelp Fusion API and how yelpapi handles them.
- Whether all Yelp Fusion API endpoints are fully covered or if some are missing.
- Performance characteristics when making large numbers of concurrent requests.
Package facts
| License | Copyright (c) 2013, Triad National Security, LLC All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following… (full text in the JSON record) (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — requests |
| Maintenance | actively maintained — 149 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 92,674/month — #13,434 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: yelpapi-2.6.0-py3-none-any.whl
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 on PyPI
brave-searchWrapper for the Brave Search API that provides…
unclear · top 15,000 on PyPI
ytmusicapiytmusicapi lets you programmatically interact…
permissive · top 15,000 on PyPI
bravadoBravado generates a dynamic REST client from an…
permissive · top 15,000 on PyPI
wechatpayv3SDK for integrating WeChat Pay API v3 into…
permissive · top 5,000 on PyPI
facebook-businessProvides Python bindings to Facebook's Business…
unclear · top 5,000 on PyPI
edx-rest-api-clientProvides OAuth2 and JWT utilities for…
permissive · top 15,000 on PyPI
smartapi-pythonA Python client library for Angel Broking's…
unclear · top 15,000 on PyPI
serpapiOfficial Python client for SerpApi that queries…
permissive · top 15,000 on PyPI
klaviyo-apiPython client library for the Klaviyo marketing…
permissive · top 15,000 on PyPI
orb-billingA Python client library for the Orb billing…
permissive · top 5,000 on PyPI