# Beveragetradenetwork — Wrapped API

> **You are on:** `https://api.paywithlocus.com/api` | [llms.txt](https://paywithlocus.com/llms.txt) | [docs](https://docs.paywithlocus.com)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API | Docs |
> |---|---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com | docs.paywithlocus.com |
> | Beta | beta.paywithlocus.com | api.beta.paywithlocus.com | docs.paywithlocus.com |
> | Stage | stage.paywithlocus.com | api.stage.paywithlocus.com | docs.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> Search beverage industry brands, discover buying leads and supplier contacts, compare membership pricing, and browse a comprehensive company directory to grow your beverage business network. Access real-time competition results from beverage industry rankings to stay informed on market standings.

**Category:** Business Directories | **Website:** [beveragetradenetwork.com/](https://beveragetradenetwork.com/) | **Docs:** [parse.bot/marketplace/a8596b17-500c-4ab9-a516-e7d824e00a1e/beveragetradenetwork-com-api](https://parse.bot/marketplace/a8596b17-500c-4ab9-a516-e7d824e00a1e/beveragetradenetwork-com-api)

Pay-per-use API proxy. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-beveragetradenetwork-com-api-a8596b17/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_buying_leads

Retrieve the latest buying leads from the marketplace. Each lead represents a buyer seeking a specific beverage product category, with the buyer's country identified. Results are paginated, approximately 10 leads per page.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `page` | integer | No | Page number for pagination, starting at 1. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-beveragetradenetwork-com-api-a8596b17/get_buying_leads \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"page":"<integer>"}'
```

### get_companies

Browse the company directory of wineries, distilleries, importers, and distributors. Returns paginated results with company name, type, country, and profile URL. Approximately 10 companies per page, ordered by most recently added.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `page` | integer | No | Page number for pagination, starting at 1. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-beveragetradenetwork-com-api-a8596b17/get_companies \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"page":"<integer>"}'
```

### get_competition_results

Fetch competition results (e.g., Sommeliers Choice Awards) via external JSON API.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `event_id` | string | No | Year or identifier of the competition event |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-beveragetradenetwork-com-api-a8596b17/get_competition_results \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"event_id":"<string>"}'
```

### get_pricing

Get membership pricing plans for sellers and buyers on Beverage Trade Network. Returns available subscription tiers with name, price, and currency. No input parameters required.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-beveragetradenetwork-com-api-a8596b17/get_pricing \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### search_brands

Search for brands on Beverage Trade Network by product name keyword. Returns paginated results. POST-based server-side filter matches brand/product names. Empty query returns all brands. Each page returns approximately 10-20 results.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `page` | integer | No | Page number for pagination, starting at 1. |
| `query` | string | No | Keyword to search in brand names (e.g. 'vodka', 'wine', 'whiskey'). Empty string returns all brands. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-beveragetradenetwork-com-api-a8596b17/search_brands \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"page":"<integer>","query":"<string>"}'
```
