# Yelp Business Search API. Businesses matching your search.

> Setting SocialTap up for your user? Follow https://socialtap.dev/setup.md.

Businesses by kind or name, in any city. We handle the proxies, blocks and platform changes.

[Get API key](https://socialtap.dev/signup/?next=%2Fdashboard%2Fplayground%2F%3Fendpoint%3Dyelp.search_businesses)

[In your agent: **Yelp MCP server** →](https://socialtap.dev/mcp/yelp/index.md)

## Yelp Business Search API at a glance

Returns the Yelp businesses a web search finds for your words and location, each with its Yelp link. Most have a name and city, and some an address, category, review count, star rating and price range. Send words and a location, or a Yelp search link.

GET `/v1/yelp/search_businesses`

[Read the API reference](https://socialtap.dev/docs/reference/yelp/search-businesses/index.md)

- **1 credit** per page, $0.75–$1.97 per 1,000 pages
- **16 typed fields** null when unknown
- **50** businesses per page, the search engine's ranking (most relevant first)
- **`query`** is all it needs, e.g. `pizza`

## Send one request. Get up to 50 businesses back.

Copy the request in your language, or hand it to your agent. Sign up for an API key and your first 100 credits are free.

`$ npm install socialtap`

`query = pizza`

[Open in playground](https://socialtap.dev/playground/?endpoint=yelp.search_businesses)

cURL:

```shell
curl -G 'https://socialtap.dev/v1/yelp/search_businesses' \
  --data-urlencode 'location=San Francisco, CA' \
  --data-urlencode 'query=pizza' \
  -H "x-api-key: $SOCIALTAP_API_KEY"
```

TypeScript SDK:

```typescript
// Save this as app.mjs (an ES module) and run: node app.mjs
import { SocialTap } from "socialtap";

const client = new SocialTap(); // apiKey defaults to process.env.SOCIALTAP_API_KEY

const res = await client.yelp.searchBusinesses.list({ query: "pizza", location: "San Francisco, CA" });
console.log(res.data);
console.log(res.credits.charged, res.meta.request_id);
```

Python SDK:

```python
from socialtap import SocialTap

client = SocialTap()  # api_key defaults to os.environ["SOCIALTAP_API_KEY"]

res = client.yelp.search_businesses.list(query="pizza", location="San Francisco, CA")
print(res.data)
print(res.credits.charged, res.meta.request_id)
```

Go SDK:

```go
package main

import (
	"context"
	"fmt"
	"log"

	socialtap "socialtap.dev/sdk/go"
)

func main() {
	ctx := context.Background()
	client, err := socialtap.NewClient() // the API key defaults to $SOCIALTAP_API_KEY
	if err != nil {
		log.Fatal(err)
	}
	res, err := client.Yelp.SearchBusinesses.List(ctx, socialtap.YelpSearchBusinessesParams{Query: "pizza", Location: socialtap.String("San Francisco, CA")})
	if err != nil {
		log.Fatal(err)
	}
	fmt.Println(res.Data)
	fmt.Println(res.Credits.Charged, res.Meta.RequestID)
}
```

200 OK:

```json
{
  "data": [
    {
      "approximate_fields": [],
      "community": null,
      "details": null,
      "hashtag": null,
      "matched_url": "https://www.yelp.com/biz/the-pizza-shop-san-francisco",
      "place": {
        "address": null,
        "category": null,
        "city": "San Francisco",
        "country_code": "US",
        "id": null,
        "latitude": null,
        "longitude": null,
        "metrics": {
          "image_count": null,
          "post_count": null,
          "review_count": null
        },
        "name": "The Pizza Shop",
        "url": "https://www.yelp.com/biz/the-pizza-shop-san-francisco"
      },
      "platform": "yelp",
      "platform_specific": {
        "yelp": {
          "is_claimed": null,
          "is_closed": null,
          "price_range": null,
          "rating": null,
          "region": "CA"
        }
      },
      "position": 0,
      "post": null,
      "profile": null,
      "snippet": "Wood Fired Pizza in San Francisco, CA Chicago Style Pizza in San Francisco, CA Stromboli in San Francisco, CA Takeout in San Francisco, CA",
      "sound": null,
      "title": "The Pizza Shop - San Francisco, CA - Yelp",
      "type": "place",
      "unknown_fields": [],
      "url": "https://www.yelp.com/biz/the-pizza-shop-san-francisco"
    },
    {
      "approximate_fields": [],
      "community": null,
      "details": null,
      "hashtag": null,
      "matched_url": "https://www.yelp.com/biz/angies-pizza-san-francisco",
      "place": {
        "address": null,
        "category": null,
        "city": "San Francisco",
        "country_code": "US",
        "id": null,
        "latitude": null,
        "longitude": null,
        "metrics": {
          "image_count": null,
          "post_count": null,
          "review_count": null
        },
        "name": "Angie's Pizza",
        "url": "https://www.yelp.com/biz/angies-pizza-san-francisco"
      },
      "platform": "yelp",
      "platform_specific": {
        "yelp": {
          "is_claimed": null,
          "is_closed": null,
          "price_range": null,
          "rating": null,
          "region": "CA"
        }
      },
      "position": 1,
      "post": null,
      "profile": null,
      "snippet": "Specialties: Thin crust wood fired pizzas, beer, natural wine and house made ice cream",
      "sound": null,
      "title": "Angie's Pizza - San Francisco, CA",
      "type": "place",
      "unknown_fields": [],
      "url": "https://www.yelp.com/biz/angies-pizza-san-francisco"
    },
    {
      "approximate_fields": [],
      "community": null,
      "details": null,
      "hashtag": null,
      "matched_url": "https://www.yelp.com/biz/sabrosa-pizza-san-francisco",
      "place": {
        "address": "4124 Geary Blvd San Francisco, CA 94118",
        "category": null,
        "city": "San Francisco",
        "country_code": "US",
        "id": null,
        "latitude": null,
        "longitude": null,
        "metrics": {
          "image_count": null,
          "post_count": null,
          "review_count": null
        },
        "name": "Sabrosa Pizza",
        "url": "https://www.yelp.com/biz/sabrosa-pizza-san-francisco"
      },
      "platform": "yelp",
      "platform_specific": {
        "yelp": {
          "is_claimed": null,
          "is_closed": null,
          "price_range": null,
          "rating": null,
          "region": "CA"
        }
      },
      "position": 2,
      "post": null,
      "profile": null,
      "snippet": "People also searched for Location & hours Suggest an edit 4124 Geary Blvd San Francisco, CA 94118 Inner Richmond Get directions",
      "sound": null,
      "title": "Sabrosa Pizza - San Francisco, CA - Yelp",
      "type": "place",
      "unknown_fields": [],
      "url": "https://www.yelp.com/biz/sabrosa-pizza-san-francisco"
    }
  ],
  "page": {
    "has_more": false,
    "next_cursor": null,
    "next_cursor_expires_at": null,
    "end_reason": "platform_limit"
  },
  "meta": {
    "request_id": "req_3f9c2a7d1e8b4c6a9f0e2d4b6a8c0e1f",
    "platform": "yelp",
    "source": "web_search",
    "is_cached": false,
    "credits_charged": 1,
    "latency_ms": 1000,
    "fetched_at": "2026-10-25T12:00:00Z",
    "input": null,
    "credits_remaining": 9999,
    "client_request_id": null,
    "warnings": []
  }
}
```

Long arrays and strings are shortened here. Real responses are complete.

## One schema on 7 platforms.

The [response reference](https://socialtap.dev/docs/reference/yelp/search-businesses/index.md#response) lists every field, its type and when it is `null`. [See the full schema](https://socialtap.dev/resources/web_result/index.md).

- ### Null means unknown

  A field Yelp doesn't show is null, never zero or an empty string, so a real zero always means zero.
- ### What it accepts

  What the business is or is called (pizza, plumber, tartine bakery), or a Yelp search link (yelp.com/search?find_desc=\<words>&find_loc=\<place>, or cflt=\<category> for its words).
- ### Write one parser

  Yelp, TikTok, Instagram and 4 more platforms answer in these fields, so the code that reads one reads them all.

- **`platform`string**: Platform the item is on.
- **`platform`string**: In the example `"yelp"`
- **`type`string**: The kind of item the result names, by the resource that describes it; its summary is the field of that name, and a filled result's record is details.\<type>. A platform's top search mixes kinds. New values may be added; treat unknown values as other.
- **`type`string**: In the example `"place"`
- **`position`integer**: Zero-based rank of the result in the list, across pages: the search engine's order, counting only the results kept.
- **`position`integer**: In the example `0`
- **`url`string**: The item's canonical link on the platform (the account's page for a profile, the post's for a post).
- **`url`string**: In the example `"https://www.yelp.com/biz/the-pizza-shop-san-francisco"`
- **`matched_url`string**: The page the index listed: the item's own page, or one of its pages that names it (a video of an account, for a profile found through it).
- **`matched_url`string**: In the example `"https://www.yelp.com/biz/the-pizza-shop-san-francisco"`
- **`title`string**: The page's title as the index shows it: often the item's name, but not the item's own field. Null when the index shows none.
- **`title`string**: In the example `"The Pizza Shop - San Francisco, CA - Yelp"`
- **`snippet`string**: The index's excerpt of the page, often the item's description and counts as of indexing, days or weeks ago; null when none.
- **`snippet`string**: In the example `"Wood Fired Pizza in San Francisco, CA Chicago Style Pizza in San Franci…"`
- **`profile`object**: The account the result names (type profile): what its link and the index's text say of it, completed from details when the result is filled. Null for every other type.
- **`profile`object**: In the example `null`

Live data from 38 platforms.

[TikTok](https://socialtap.dev/apis/tiktok/index.md) · [Instagram](https://socialtap.dev/apis/instagram/index.md) · [Facebook](https://socialtap.dev/apis/facebook/index.md) · [YouTube](https://socialtap.dev/apis/youtube/index.md) · [Reddit](https://socialtap.dev/apis/reddit/index.md) · [Threads](https://socialtap.dev/apis/threads/index.md) · [GitHub](https://socialtap.dev/apis/github/index.md) · [LinkedIn](https://socialtap.dev/apis/linkedin/index.md) · [X](https://socialtap.dev/apis/x/index.md) · [Spotify](https://socialtap.dev/apis/spotify/index.md) · [Hacker News](https://socialtap.dev/apis/hackernews/index.md) · [Amazon](https://socialtap.dev/apis/amazon/index.md) · [Apple Music](https://socialtap.dev/apis/applemusic/index.md) · [Fandom](https://socialtap.dev/apis/fandom/index.md) · [Pinterest](https://socialtap.dev/apis/pinterest/index.md) · [Cosmos](https://socialtap.dev/apis/cosmos/index.md) · [Rumble](https://socialtap.dev/apis/rumble/index.md) · [Bluesky](https://socialtap.dev/apis/bluesky/index.md) · [Twitch](https://socialtap.dev/apis/twitch/index.md) · [Telegram](https://socialtap.dev/apis/telegram/index.md) · [TikTok Shop](https://socialtap.dev/apis/tiktokshop/index.md) · [Kwai](https://socialtap.dev/apis/kwai/index.md) · [Snapchat](https://socialtap.dev/apis/snapchat/index.md) · [SoundCloud](https://socialtap.dev/apis/soundcloud/index.md) · [Truth Social](https://socialtap.dev/apis/truthsocial/index.md) · [Kick](https://socialtap.dev/apis/kick/index.md) · [Komi](https://socialtap.dev/apis/komi/page/index.md) · [Lnk.Bio](https://socialtap.dev/apis/linkbio/profile/index.md) · [Linkme](https://socialtap.dev/apis/linkme/profile/index.md) · [Linktree](https://socialtap.dev/apis/linktree/profile/index.md) · [Pillar](https://socialtap.dev/apis/pillar/page/index.md) · [Yelp](https://socialtap.dev/apis/yelp/search-businesses/index.md) · [TikTok Ad Library](https://socialtap.dev/apis/tiktok-ad-library/index.md) · [Facebook Ad Library](https://socialtap.dev/apis/facebook-ad-library/index.md) · [Facebook Events](https://socialtap.dev/apis/facebook-events/index.md) · [Facebook Marketplace](https://socialtap.dev/apis/facebook-marketplace/index.md) · [Google Ads Transparency Center](https://socialtap.dev/apis/google-ads-transparency/index.md) · [LinkedIn Ad Library](https://socialtap.dev/apis/linkedin-ad-library/index.md)

## What teams build with the Yelp Business Search API.

- ### List the businesses of a kind in a city

  Search a kind of business with a location (plumber, Austin, TX) and keep each result's name, city and Yelp link for your lead list.
- ### Find a business's Yelp page

  Search the business's name and city and take the top result's url, its Yelp page, to link it or match it to your records.
- ### Turn a Yelp search link into data

  Paste the address of a Yelp search or category page as the query: its words and place are read from the link, so you get that search as data.

## Good to know before you build.

- Yelp's own search turns away logged-out visitors, so results come from a web search engine's index of Yelp's business pages: a business it hasn't crawled is missing.
- Category, counts, star rating, price range, is_claimed and is_closed come from the index's copy of the page, often weeks old, and are listed in approximate_fields.
- Results come in the index's order, with no sort, fill or phone number.
- A search returns the index's first page alone, ending with page.end_reason platform_limit when the index has more.

## 1 credit per page. Failed requests are free.

Buy credits once and spend them on any endpoint, on any platform.

[Plans and packs](https://socialtap.dev/pricing/index.md) · [How this endpoint is priced](https://socialtap.dev/docs/reference/yelp/search-businesses/index.md#pricing) · [How credits work](https://socialtap.dev/docs/credits/index.md)

| Source | Price per successful page | Per 1,000 pages |
| --- | --- | --- |
| Any source | 1 credit | $0.75–$1.97 |

- Cache hits are free.
- Credits from packs and top-ups never expire.
- A monthly plan's credits are spent first, and what is left of them ends at each renewal.
- Prices exclude tax: sales tax is added at checkout where it applies.
- Outside the US, plans and packs are sold to businesses: checkout asks for your VAT, GST or other business tax ID.

## Questions about the Yelp Business Search API.

More in the [API reference](https://socialtap.dev/docs/reference/yelp/search-businesses/index.md).

**Does it use Yelp's own search?**

No. Yelp shows logged-out visitors a captcha, so it reads the Yelp business pages a web search engine has indexed, in that engine's order.

**Does it return star ratings?**

Yes, when the search result shows Yelp's rating line: platform_specific.yelp.rating holds the average out of 5. Most results show none, and then it is null.

**Do I need a Yelp API key?**

No. You send your words and a location with your SocialTap key, and get each business's Yelp link, with its name, city and address when the search result shows them.

**How much does the Yelp Business Search API cost?**

A page of up to 50 businesses costs 1 credit. Every successful page is charged, empty pages included. SocialTap credits cost $0.75–$1.97 per 1,000, depending on the plan or pack.

**How do I get the next page?**

Repeat the same request with cursor set to page.next_cursor from the previous response, keeping the other parameters. When page.has_more is false there are no more pages. Cursors expire after 24 hours.

Other platforms

## Web results on 6 more platforms.

- [TikTok Top Search API](https://socialtap.dev/apis/tiktok/search-top/index.md) (From 1 credit / page · `GET /v1/tiktok/search_top`)
- [Instagram User Search API](https://socialtap.dev/apis/instagram/search-profiles/index.md) (From 1 credit / page · `GET /v1/instagram/search_profiles`)
- [Facebook Post Search API](https://socialtap.dev/apis/facebook/search-posts/index.md) (From 1 credit / page · `GET /v1/facebook/search_posts`)
- [LinkedIn Post Search API](https://socialtap.dev/apis/linkedin/search-posts/index.md) (From 1 credit / page · `GET /v1/linkedin/search_posts`)
- [X (Twitter) Post Search API](https://socialtap.dev/apis/x/search-posts/index.md) (From 1 credit / page · `GET /v1/x/search_posts`)
- [Telegram Channel Search API](https://socialtap.dev/apis/telegram/search-channels/index.md) (From 1 credit / page · `GET /v1/telegram/search_channels`)

## Try it with your own search.

Type it in the playground, or copy the request into your code.

100free credits

- No credit card
- Failed requests are free
- Works on all 310 endpoints

[Start for free](https://socialtap.dev/signup/) [Read the docs](https://socialtap.dev/docs/index.md)

---

[HTML version](https://socialtap.dev/apis/yelp/search-businesses/) · [Docs index for AI agents](https://socialtap.dev/llms.txt) · [All docs in one file](https://socialtap.dev/llms-full.txt)
