# Bark public service directory and professional profiles

> Read the public service catalog for a Bark market.
> ReefAPI engine `bark-directory` · 4 endpoints · clean JSON, no scraping or browsers to manage.

## How to call
- **Endpoint:** `POST https://api.reefapi.com/bark-directory/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/bark-directory/v1/categories — 1 credit
Read the public service catalog for a Bark market.

**Parameters:**
- `country` (enum, optional, default "gb") — Bark market code. Canada is supported for categories only. [one of: gb, ie, us, ca]

**Example request body:**
```json
{
  "country": "gb"
}
```

### POST https://api.reefapi.com/bark-directory/v1/locations — 1 credit
Read the published city and region links for a service.

**Parameters:**
- `url` (string, required) — Bark service URL from the GB, IE, or US catalog.

**Example request body:**
```json
{
  "url": "/en/gb/photographer/"
}
```

### POST https://api.reefapi.com/bark-directory/v1/search — 1 credit
Read the featured professional cards for a service and place.

**Parameters:**
- `url` (string, required) — Bark category and location URL in GB, IE, or US.

**Example request body:**
```json
{
  "url": "/en/gb/photographer/london/"
}
```

### POST https://api.reefapi.com/bark-directory/v1/detail — 3 credits
Read a public professional profile and its available reviews.

**Parameters:**
- `url` (string, required) — Published Bark /b/ profile URL in GB, IE, or US.
- `review_rating` (integer, optional) — Show only the embedded reviews at this exact star rating.

**Example request body:**
```json
{
  "url": "/en/gb/b/diamond-ace-events/1PNEK/"
}
```

## 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=bark-directory
- Human docs page: https://reefapi.com/docs/bark-directory
- Overview page: https://reefapi.com/bark-directory-api
- Every ReefAPI API in one file (for your AI): https://reefapi.com/llms-full.txt
