---
title: "Search Yelp businesses"
method: POST
path: "/v1/yelp/search"
tags: ["Yelp"]
---

# Search Yelp businesses

`POST /v1/yelp/search`

## Request

- Base URL: `https://api.fiber.ai`
- URL: `https://api.fiber.ai/v1/yelp/search`
- Auth: none declared

Searches Yelp for businesses matching a query in a location, and returns matching businesses with ratings, review counts, and contact details.

<span>⚡ <strong>Rate limit:</strong> 120 requests per 1 minute</span>

<span>💰 <strong>Cost:</strong> 2 credits per search&nbsp;<span title="Pricing shown is default pricing. Actual pricing may vary.">ⓘ</span></span>

## Request body

- object
  - `apiKey` string, required: Your Fiber API key
  - `categories` string[], nullable: Categories or terms to search for (e.g. ['pizza', 'italian'] or ['coffee shop']). A business name ('Sushi Ran') also works as a term. Omit (or pass []) to browse all businesses in the location.
  - `location` string, required: Where to search. Accepts a city and state ('Austin, TX'), a full address ('706 Mission St, San Francisco, CA'), or a ZIP code ('94103').
  - `sortBy` 'relevance' | 'highestRated' | 'mostReviewed' | 'null', nullable: Sort criterion for results. 'relevance' ranks by overall match. 'highestRated' sorts by rating. 'mostReviewed' sorts by review count. Omit to sort by relevance.
  - `nextPageToken` string, nullable: Pagination token from a prior search response's `nextPageToken`. Omit (or pass null) to fetch the first page.

## Response `200`

Default Response

- object
  - `output` object, required
    - `businesses` object[], required: Matching businesses.
      - `placeId` string, required: Yelp business ID. Use with POST /v1/yelp/place and POST /v1/yelp/reviews.
      - `name` string, required: Business display name.
      - `url` string, nullable: yelp.com page for this business.
      - `rating` number, nullable: Average star rating from 0 to 5.
      - `reviewCount` integer, nullable: Total review count.
      - `phoneNumber` string, nullable: Contact phone number normalized to E.164 format.
      - `priceLevel` integer, nullable: Price level from 1 (least expensive) to 4 (most expensive), as classified on Yelp. Null when no price is shown.
      - `categories` string[], required: Business categories (e.g. 'Coffee Roasteries').
      - `neighborhood` string, nullable: Neighborhood the business is located in.
      - `thumbnailUrl` string, nullable: Thumbnail image URL for this business.
    - `nextPageToken` string, nullable: Token to retrieve the next page. Pass as `nextPageToken` in the next request. Null if no more pages.
  - `chargeInfo` union, required
    - object: Credits were charged immediately for this operation
      - `method` 'charged-now', required
      - `creditsCharged` number, required
      - `lowCreditAlert` object, nullable: Contains a link to get more credits, a warning message, and the remaining credit count.
        - `getMoreCreditsUrl` string, uri, required: URL to top up credits or restart billing cycle to get fresh credits.
        - `message` string, required: Human-readable credits warning.
        - `availableCredits` number, required: Number of credits remaining in the current billing period.
    - object: Credits will be charged after the operation completes
      - `method` 'charging-later', required
      - `message` string, required
      - `lowCreditAlert` object, nullable: Contains a link to get more credits, a warning message, and the remaining credit count.
        - `getMoreCreditsUrl` string, uri, required: URL to top up credits or restart billing cycle to get fresh credits.
        - `message` string, required: Human-readable credits warning.
        - `availableCredits` number, required: Number of credits remaining in the current billing period.
    - object: Credits that were charged for an asynchronous operation
      - `method` 'charged-for-async-process', required
      - `creditsCharged` number, required
      - `message` string, required
      - `lowCreditAlert` object, nullable: Contains a link to get more credits, a warning message, and the remaining credit count.
        - `getMoreCreditsUrl` string, uri, required: URL to top up credits or restart billing cycle to get fresh credits.
        - `message` string, required: Human-readable credits warning.
        - `availableCredits` number, required: Number of credits remaining in the current billing period.
    - object: No credits were charged for this operation
      - `method` 'free', required
      - `message` string, required
      - `lowCreditAlert` object, nullable: Contains a link to get more credits, a warning message, and the remaining credit count.
        - `getMoreCreditsUrl` string, uri, required: URL to top up credits or restart billing cycle to get fresh credits.
        - `message` string, required: Human-readable credits warning.
        - `availableCredits` number, required: Number of credits remaining in the current billing period.
    - object: Credits were refunded for this operation
      - `method` 'credits-refunded', required
      - `creditsRefunded` number, required
      - `message` string, required
      - `lowCreditAlert` object, nullable: Contains a link to get more credits, a warning message, and the remaining credit count.
        - `getMoreCreditsUrl` string, uri, required: URL to top up credits or restart billing cycle to get fresh credits.
        - `message` string, required: Human-readable credits warning.
        - `availableCredits` number, required: Number of credits remaining in the current billing period.
  - `warnings` object[], nullable: Warnings about extraneous fields in request
    - `field` string, required: Full path to extraneous field (e.g., 'searchParams.ExtraField')
    - `message` string, required: Warning message
  - `advice` string[], nullable: Tips, recommendations, and suggestions for using this API effectively.

## Other responses

- `400`: Default Response
- `401`: Default Response
- `402`: Default Response
- `403`: Default Response
- `404`: Default Response
- `422`: Default Response
- `429`: Default Response
- `500`: Default Response
- `503`: Default Response

## Changes

- **2026-09-01** `f8a78c729da9`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/fiber/apis/fiber-ai-api/changes/v1/yelp/search/post.md)

---

[API](https://skmtc.dev/fiber/apis/fiber-ai-api.md) - [All operations](https://skmtc.dev/fiber/apis/fiber-ai-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fiber/apis/fiber-ai-api/revisions/d8237cb5c35e?raw)
