# Better Business Bureau · Search

Get places and reviews from maps with Better Business Bureau · Search from Alexandria through one Spiral API key. Start here to find a business and its `id` for profile / complaints / resolve, or to list businesses in a category and place. It runs in the background and returns structured JSON. Pay as you go, with no subscription.

- Provider: Alexandria
- Category: Maps & Reviews
- Runs: In the background
- Returns: json
- Tool id: `alexandria` / `bbb-org/businesses/search`
- Page: https://spiral.ai/tools/alexandria/bbb-org/businesses/search

## Pricing

$0.00873 per call.

## Limits

- Longest queue wait: 1 hour
- Run deadline: 5 minutes
- Longest run, end to end: 225 minutes
- Largest inline input: 1 MB
- Largest input file: 2 GB
- Largest output: 5 GB

## Input

| Field | Kind | Allowed | Default | Description |
| --- | --- | --- | --- | --- |
| `page` | number | 1 to 50 | 1 | 1-based result page of 15 items; bbb.org exposes at most 15 pages per query. |
| `sort` | one of | Relevance, Distance, Rating, AToZ, ZToA | Relevance | bbb.org sort order. Distance requires `location`. |
| `query` | text |  | — | Business name or category words (bbb.org `find_text`). Required unless `category_id` is given. |
| `state` | text |  | — | Restrict to one state/province code (`filter_state`). Pattern: ^[A-Z]{2}$. |
| `country` | one of | USA, CAN | USA | Market to search: bbb.org serves the United States and Canada. |
| `location` | text |  | — | City and state/province (`Austin, TX`), or a ZIP / postal code (bbb.org `find_loc`). Omit for a nationwide search. |
| `min_rating` | one of | A, B, C, D, F | — | Minimum BBB letter grade (`filter_ratings`): A means A and above. |
| `category_id` | text |  | — | Restrict to one BBB type-of-business id (`filter_category`), taken from a previous search's `filters.categories`. Pattern: ^[0-9]{5}-[0-9]{3}$. |
| `distance_miles` | one of | 5, 10, 25, 50, 100 | — | Radius around `location` (`filter_distance`); requires `location`. |
| `accredited_only` | true or false |  | — | Only BBB Accredited Businesses (`filter_accredited`). |

## Example

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "bbb-org/businesses/search",
    "input": {
      "query": "<query>"
    }
  }'
```

Try it in the Playground: https://spiral.ai/start?provider=alexandria&model=bbb-org%2Fbusinesses%2Fsearch

## Common questions

### Better Business Bureau · Search

**How much does Better Business Bureau · Search cost?**

$0.00873 per call. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.

**How do I use Better Business Bureau · Search through an API?**

Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "bbb-org/businesses/search"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.

**Do I need an account with Alexandria to use Better Business Bureau · Search?**

No. Spiral runs it on its own Alexandria account and charges your Spiral balance.

**Can my AI agent use Better Business Bureau · Search?**

Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.

