# Findmeglutenfree — 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 for gluten-free friendly restaurants, cafes, chains, and airports worldwide, and get detailed information about their menus, celiac-friendly features, and ratings. Find nearby dining options by location, discover the best-rated chains, and browse businesses organized by city, state, or country.

**Category:** Food & Dining | **Website:** [findmeglutenfree.com/](https://findmeglutenfree.com/) | **Docs:** [parse.bot/marketplace/43745355-88f3-4d9f-adaf-b9e18867cdcd/findmeglutenfree-com-api](https://parse.bot/marketplace/43745355-88f3-4d9f-adaf-b9e18867cdcd/findmeglutenfree-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-findmeglutenfree-com-api-43745355/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_best_rated_chains

Get chain restaurants sorted by best overall rating. Returns chains ordered from highest to lowest rated with gluten-free options.

**Estimated cost:** Metered

_No parameters required._

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

### get_business_detail

Get detailed information for a specific business including address, phone, website, ratings, gluten-free status, and user reviews. Business slug and ID are obtainable from get_restaurants_by_city or get_nearby_restaurants results.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `biz_id` | string | Yes | Numeric business ID (e.g. '6062465660092416'). Obtainable from get_restaurants_by_city or get_nearby_restaurants results. |
| `slug` | string | Yes | Business slug identifier (e.g. 'modern-bread-and-bagel'). Obtainable from get_restaurants_by_city or get_nearby_restaurants results. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-findmeglutenfree-com-api-43745355/get_business_detail \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"biz_id":"<string>","slug":"<string>"}'
```

### get_most_celiac_friendly_chains

Get chain restaurants sorted by celiac-friendliness. Returns chains ordered from most to least celiac-friendly.

**Estimated cost:** Metered

_No parameters required._

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

### get_nearby_restaurants

Get nearby gluten-free restaurants given coordinates and a reference business ID. Returns a list of nearby businesses sorted by proximity with rich detail including ratings, menu items, and review snippets.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `biz_id` | string | Yes | Reference business ID (e.g. '6062465660092416'). Obtainable from get_restaurants_by_city results. |
| `lat` | string | Yes | Latitude coordinate (e.g. '40.7128'). |
| `lng` | string | Yes | Longitude coordinate (e.g. '-74.0060'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-findmeglutenfree-com-api-43745355/get_nearby_restaurants \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"biz_id":"<string>","lat":"<string>","lng":"<string>"}'
```

### get_restaurants_by_city

Get gluten-free restaurants in a specific US city, optionally filtered by a food feature category. Returns a list of businesses in the city with basic identification info.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `city` | string | Yes | City name in URL slug format (e.g. 'new-york', 'los-angeles', 'chicago'). |
| `feature` | string | No | Gluten-free feature slug to filter by (e.g. 'pizza', 'bakeries', 'celiac-friendly', 'dedicated-facilities'). Obtainable from list_gf_features. The full vocabulary is large and city-dependent. |
| `state` | string | Yes | US state abbreviation in lowercase (e.g. 'ny', 'ca', 'il'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-findmeglutenfree-com-api-43745355/get_restaurants_by_city \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"city":"<string>","feature":"<string>","state":"<string>"}'
```

### list_airlines

List airlines with gluten-free meal ratings and information. Returns the full list sorted by rating.

**Estimated cost:** Metered

_No parameters required._

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

### list_airports

List airports that have gluten-free dining options catalogued on the site. Returns the full global list with IDs, slugs, and names.

**Estimated cost:** Metered

_No parameters required._

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

### list_chains

List chain restaurants with gluten-free options. Optionally sorted by rating or celiac-friendliness. Without a sort parameter, returns alphabetical listing with ratings.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `sort` | string | No | Sort order for chains. |

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

### list_cities_by_state

List all US states available on the site. Each entry includes the state name and abbreviation, useful for navigating to city-level restaurant listings.

**Estimated cost:** Metered

_No parameters required._

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

### list_countries

List all countries covered by the site's gluten-free restaurant directory. Each entry includes the country name and ISO 2-letter code slug.

**Estimated cost:** Metered

_No parameters required._

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

### list_gf_features

List gluten-free food feature categories available for filtering restaurants. Includes food types (pizza, bakeries), dining styles (restaurants), and specialty filters (dedicated-facilities, celiac-friendly). Features are used as the 'feature' parameter in get_restaurants_by_city.

**Estimated cost:** Metered

_No parameters required._

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

### search_businesses

Search for gluten-free friendly businesses by keyword and location. Returns a list of matching businesses with basic info. Requires lat/lng for location-based results.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `address` | string | No | City, state, or zip code (e.g. 'New York, NY'). |
| `lat` | string | No | Latitude coordinate (e.g. '40.7128'). |
| `lng` | string | No | Longitude coordinate (e.g. '-74.0060'). |
| `query` | string | No | Search keyword (e.g. 'pizza', 'bakery'). |
| `sort` | string | No | Sort order. Accepted values: 'best-match', 'highest-rated', 'most-reviewed'. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-findmeglutenfree-com-api-43745355/search_businesses \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"address":"<string>","lat":"<string>","lng":"<string>","query":"<string>","sort":"<string>"}'
```
