Yelp API

Give your agents access to Yelp API. Bring your own Yelp key, or skip the signup and pay per call from your Composio balance with Composio Instant.

Yelp logoYelp
Instant

Yelp is a local business directory and review platform with millions of listings. Instantly access rich business data, ratings, and customer reviews for location-based services.

12 Tools
COMPOSIO INSTANT

What is Composio Instant?

Composio Instant lets your agent use paid APIs like Yelp without a separate account or API key for each one. New accounts start with $2 of free credit.

No Yelp account or key

Your agent calls Yelp through Composio, so there is nothing to sign up for, store, or rotate.

Pay per call, at cost

Estimated $0.021 per successful API call, paid from your Composio balance with zero markup.

Works in any agent

Claude, ChatGPT, Cursor, and other MCP clients, or your own code with the Composio SDK.

Works with your apps

Use Yelp with Gmail, Slack, Google Sheets, and 1,700+ other apps you connect.

AI ASSISTANTS

Connect the Yelp API to your AI assistant

Use Yelp from the AI assistant you already work in. Connect Composio once, then paste the prompt.

  1. 1

    Open the Connectors menu

    Use the button to open Claude's Add connector dialog with Composio filled in. Or click + in the message box, then Connectors, Add connector and Add custom connector.
    Add Composio to Claude
  2. 2

    Add the Composio MCP server

    Name it Composio, paste the MCP server URL and click Add.
    https://connect.composio.dev/mcp
  3. 3

    Authorize in your browser

    A browser window opens. Sign in to Composio to approve the connection.
  4. 4

    Paste the prompt

    Start a new chat and paste the prompt. Claude runs the call on Composio Instant.
  1. 1

    Install the Composio plugin

    Open Composio's plugin page in ChatGPT and click Install. Sign in to ChatGPT first if it asks.
    Install in ChatGPT
  2. 2

    Authorize in your browser

    Connect the plugin, then sign in to Composio to approve the connection.
  3. 3

    Turn on Composio in your chat

    In a new chat, click +, then More, and select Composio.
  4. 4

    Paste the prompt

    Paste the prompt into that chat. ChatGPT runs the call on Composio Instant.
  1. 1

    Install the Composio plugin

    Open Composio in the Cursor marketplace, click Install Composio Plugin for Cursor and approve the connection in your browser.
    Install in Cursor
  2. 2

    Paste the prompt

    Open the Agent chat and paste the prompt. Cursor runs the call on Composio Instant.
  1. 1

    Add the Composio plugin

    Open Composio's listing on x.ai and click Add to Grok Bot. When Grok Bot opens the plugin, click Add.
    Add to Grok Bot
  2. 2

    Authenticate

    Go to Installed, open Composio and click Authenticate. Sign in to Composio and click Authorize.
  3. 3

    Paste the prompt

    Paste the prompt into your bot's chat. Grok Bot runs the call on Composio Instant.
  1. 1

    Paste the setup prompt

    Copy this into your Hermes chat. Hermes adds the Composio MCP server for you.
    Set up Composio from composio.dev/hermes
  2. 2

    Authorize in your browser

    A browser window opens. Sign in to Composio to approve the connection.
  3. 3

    Paste the prompt

    Start a new chat and paste the prompt. Hermes runs the call on Composio Instant.
ClaudeNew chat

Paste this prompt

Use Yelp through Composio Instant to find three coffee businesses in New York. Return their names and ratings.

What success looks like

YELP_SEARCH_BUSINESSES

Your assistant runs Yelp and replies with up to three coffee businesses in New York, with each business's name and rating.

Runs on Composio Instant
SDK

Use the Yelp API in your code

Call Yelp from your own agent with the Composio SDK. Four steps and one tool call.

  1. 1

    Set up Composio

    Turn on Instant Toolkits in your project settings and check your prepaid balance in Billing. Then set your API key.
    export COMPOSIO_API_KEY="your_composio_api_key"
  2. 2

    Install the SDK

    The Python SDK needs Python 3.11 through 3.15.
    pip install composio
  3. 3

    Run the call

    Create a session that keeps Instant to this toolkit and reports the charge, then run the tool on the Instant account.
    YELP_SEARCH_BUSINESSES
  4. 4

    Read the response

    When the call runs on Instant, the response includes its charge: the amount as an exact USD decimal string, the currency and charged_by.
agent.py
from composio import Composio

composio = Composio()

session = composio.sessions.create(
    user_id="user_123",
    toolkits=["yelp"],
    instant={
        "toolkits": {"enable": ["yelp"]},
        "return_instant_charge": True,
    },
)

result = session.execute(
    "YELP_SEARCH_BUSINESSES",
    arguments={
        "term": "coffee",
        "limit": 3,
        "location": "New York",
    },
    account="instant_account",
)
print(result)
print("Instant charge:", result.instant_charge)
TOOLS

Available Yelp API tools

10 Yelp tools run on Instant, priced per call with no Yelp key. Tools marked Your key need your own Yelp account.

ActionTool slugWhat it doesAvailability
Search BusinessesYELP_SEARCH_BUSINESSESFind Yelp businesses by location, term, category, or other filters.
InstantEstimated $0.021 per successful API call
Get Business DetailsYELP_GET_BUSINESS_DETAILSRetrieve a business's location, photos, rating, reviews, and available contact details.
InstantEstimated $0.021 per successful API call
Get ReviewsYELP_GET_BUSINESS_REVIEWSRetrieve reviews for a Yelp business.
InstantEstimated $0.021 per successful API call
Search EventsYELP_SEARCH_EVENTSFind Yelp events by location, category, and other filters.
InstantEstimated $0.021 per successful API call
Autocomplete SearchYELP_GET_AUTOCOMPLETEGet autocomplete suggestions for businesses, categories, and search terms on Yelp based on partial text input.
InstantEstimated $0.021 per successful API call
Get Category DetailsYELP_GET_CATEGORYGet detailed information about a specific Yelp category by its alias.
InstantEstimated $0.021 per successful API call
Get Event DetailsYELP_GET_EVENTGet details of a Yelp event by its event ID, including dates, location, cost, attendance counts and, when available, the associated business ID.
InstantEstimated $0.021 per successful API call
Get Featured EventYELP_GET_FEATURED_EVENTGet the featured event for a given location on Yelp.
InstantEstimated $0.021 per successful API call
List CategoriesYELP_LIST_CATEGORIESList all Yelp business categories across all locales by default.
InstantEstimated $0.021 per successful API call
Search Business by PhoneYELP_SEARCH_BY_PHONESearch for a business by phone number on Yelp.
InstantEstimated $0.021 per successful API call
Chat with YelpYELP_SEARCH_AND_CHATAsk Yelp's AI assistant for business searches, recommendations, and answers.Your key

Instant prices are Yelp's list prices with 0% markup, paid from your Composio balance and updated every hour. Instant calls also count toward your plan's tool calls. See all plans on the pricing page.

USE CASES

Yelp API use cases and example prompts

Copy a prompt into your agent. Each one uses Yelp with apps you connect through Composio.

  • Shortlist venues for client meetings

    Use Yelp to find restaurants near our office for client meetings. Compare their locations, ratings, and reviews, then add the strongest options to my Client Meeting Venues sheet in Google Sheets. Post the shortlist in Slack's #sales-ops channel.

    Apps used: Yelp, Google Sheets, Slack

  • Build a local workspace guide

    Use Yelp to find coworking spaces near our satellite office and review their business details and reviews. Save a page with the best options in my Operations Handbook in Notion.

    Apps used: Yelp, Notion

  • Research local partner prospects

    Use Yelp to find businesses in our target area that could be partners for Acme. Review their locations, ratings, and reviews, add promising businesses to my Partner Prospects list in HubSpot, and log the same shortlist in my Partner Research sheet in Google Sheets.

    Apps used: Yelp, HubSpot, Google Sheets

  • Share local events with marketing

    Use Yelp to find business events in the city where our office is based. Put the matching events in my Community Events Brief in Google Docs, then share the document in Slack's #marketing channel.

    Apps used: Yelp, Google Docs, Slack

TROUBLESHOOTING

Yelp API troubleshooting

Still stuck? The Instant tools docs cover limits, charges and session settings.

Start with Yelp.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Yelp tool your agent needs.Free to start.

Start building