## yelp/search

`GET /v1/yelp/search`

Businesses matching a query near a place, twenty per page, with rating, review count, price range, contact details and coordinates.

*Yelp business search*

| Parameter | Required | Description |
| --- | --- | --- |
| `query` | yes | What to look for — e.g. `Cheese Curds` |
| `location` | yes | City, address or postcode — e.g. `Madison, WI` |
| `page` | no | Page number (20 per page) — e.g. `1` |
| `sort` | no | Result ordering — e.g. `recommended` |
| `dry_run` | no | Read a zero-credit estimate without fetching sources, running AI, or reserving credits. Cache status is a snapshot, not a guarantee at execution. Accepted values: 1, 0, true, false. Case, spaces, hyphens and underscores are interchangeable. — e.g. `1` |

### Useful optional inputs

- `sort`: Choose the documented source ordering before paging through results. Ordering keeps the normal endpoint price and does not guarantee exhaustive results.
- `dry_run`: Read a free estimate before fetching sources or scheduling paid work. Zero credits; cache status and availability are snapshots rather than guarantees.

**Cost:** 1 credit at list price per successful uncached response; variable-cost operations may quote or settle a different charge. Confirmed uncharged or refunded failures report zero. Pending reconciliation can report credits_used:null; retain request_id and the original idempotency key.

```bash
curl "https://www.monocrawl.com/v1/yelp/search?query=Cheese%20Curds&location=Madison%2C%20WI" \
  -H "x-api-key: mn_your_key_here"
```

### Response data

Illustrative abbreviated data; documented core fields are optional and may be null. Additional source fields are allowed.

```json
{
  "count": 0,
  "cursor": null,
  "has_more": false,
  "items": [
    {
      "address": "example",
      "alias": "example",
      "categories": [
        "example"
      ],
      "city": "example",
      "id": "example",
      "images": [
        "example"
      ],
      "latitude": 0,
      "longitude": 0,
      "name": "example",
      "neighborhoods": [],
      "phone": "example",
      "platform": "example",
      "postal_code": "example",
      "price_range": "example",
      "rating": {
        "max": 0,
        "value": 0,
        "votes": 0
      },
      "reviews_count": 0,
      "state": "example",
      "type": "example",
      "url": "https://example.com/example"
    }
  ],
  "location": "example",
  "page": 0,
  "query": "example",
  "total": 0,
  "total_pages": 0
}
```

[Field reference](https://www.monocrawl.com/docs/endpoints/yelp/search#response) · [JSON Schema for response.data](https://www.monocrawl.com/schemas/yelp/search.json)
