# Yellow Pages Australia

> Businesses in a category and place, 30 a page, with the source's own total.
> ReefAPI engine `yellowpages-au` · 4 endpoints · clean JSON, no scraping or browsers to manage.

## How to call
- **Endpoint:** `POST https://api.reefapi.com/yellowpages-au/v1/<action>` with a JSON body.
- **Auth:** header `x-api-key: <YOUR_REEFAPI_KEY>` — create one free (1,000 credits, no card): https://reefapi.com/signup
- **Response (every call):** `{ ok: boolean, data: ..., meta: { record_count, credits, ... }, error: { code, message } }` — branch on `ok`. Failed calls are free.
- **One key + one shared credit pool** across every ReefAPI API. Per-call credits are listed on each endpoint below.
- **Use it from an AI agent (MCP):** connect `https://api.reefapi.com/mcp` (remote streamable-http). Clients that add connectors by URL, such as ChatGPT and the Claude app, connect with OAuth 2.1 (the user pastes their key once on a ReefAPI page; discovery at `/.well-known/oauth-protected-resource/mcp`). Config files send the key as `Authorization: Bearer <key>`. `?key=<key>` in the URL also works as a last-resort fallback.

## Endpoints

### POST https://api.reefapi.com/yellowpages-au/v1/search — 1 credit
Businesses in a category and place, 30 a page, with the source's own total.

**Parameters:**
- `category` (string, optional) — Category or keyword as typed on the site.
- `location` (string, optional) — Suburb + state, city or 4-digit postcode.
- `url` (string, optional) — Instead of category/location: a category list page from action sitemap.
- `page` (integer, optional, default 1) — First page to read (30 per page).
- `max_pages` (integer, optional, default 1) — Read up to this many consecutive pages in one call (billed per page read).

**Returns:** total, total_pages, page, pages_read, has_more, next_page, results[] (source_id, name, url, phone, website, address, categories, rating, review_count, listing_type), sponsored[].

**Example request body:**
```json
{
  "category": "plumbers",
  "location": "Sydney NSW"
}
```

### POST https://api.reefapi.com/yellowpages-au/v1/lookup — 1 credit
Find a business by name (optionally near a place); rows are marked name_match/place_match.

**Parameters:**
- `name` (string, required) — Business name.
- `location` (string, optional) — Suburb + state or postcode (default: all of Australia).
- `page` (integer, optional, default 1) — Result page.
- `only_matches` (boolean, optional, default false) — Keep only rows whose name matches.

**Returns:** results[] as in search plus name_match (exact/partial/null) and place_match.

**Example request body:**
```json
{
  "name": "Koala Plumbing",
  "location": "Cheltenham SA"
}
```

### POST https://api.reefapi.com/yellowpages-au/v1/profile — 1 credit
One business profile: phone(s), e-mail, website, address, ABN/ACN, facts, hours.

**Parameters:**
- `source_id` (string, optional) — source_id from search or lookup.
- `url` (string, optional) — Profile address /<place>/bpp/<name>-<id>.
- `include_reviews` (boolean, optional, default false) — Add the reviews shown on the profile page.

**Returns:** source_id, name, phone, phones, email, website, address, abn, abn_valid, acn, founded, employees_range, licenses, categories, rating, review_count, opening_hours, social, people (not published: []).

**Example request body:**
```json
{
  "source_id": "580279355"
}
```

### POST https://api.reefapi.com/yellowpages-au/v1/sitemap — 1 credit
The site's own directory map: states -> cities -> category list pages.

**Parameters:**
- `state` (string, optional) — nsw, vic, qld, wa, sa, tas, act or nt.
- `city` (string, optional) — City key from this action (name-postcode), with state.
- `letter` (string, optional) — One letter a-z (the full list for that letter instead of the popular list).

**Returns:** results[] (kind state/city/category_list, name, path; category_list paths go to search url).

**Example request body:**
```json
{
  "state": "tas"
}
```

## At scale
- **Volume:** 5M+ requests a day, measured at 60 requests a second across the fleet with no
  central bottleneck. Per-key limits are raised for high-volume accounts; volume pricing on request.
- **Missing a source:** tell us a site we do not cover and it becomes an engine. A customer asked
  for bestprice.gr on 21 Sep 2026 and it was in the catalog on 22 Sep.
- **Support:** 2 minute median time from a question in the live chat to the first answer. Setup
  help included, no support tier to buy.
- **One key, one credit pool** across every API. No per-site plans, no separate subscriptions.

## More
- Try it live, no code: https://reefapi.com/playground?engine=yellowpages-au
- Human docs page: https://reefapi.com/docs/yellowpages-au
- Overview page: https://reefapi.com/yellowpages-au-api
- Every ReefAPI API in one file (for your AI): https://reefapi.com/llms-full.txt
