# Tabelog — 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 restaurants and view detailed information like menus, ratings, and reviews on Tabelog, then instantly check real-time table availability to book your ideal dining experience. Get comprehensive restaurant profiles including cuisine type, price range, and customer feedback to make informed dining decisions.

**Category:** Food & Dining | **Website:** [tabelog.com/](https://tabelog.com/) | **Docs:** [parse.bot/marketplace/8be1be4b-deb0-4c20-acbd-860eb74e3d18/tabelog-com-api](https://parse.bot/marketplace/8be1be4b-deb0-4c20-acbd-860eb74e3d18/tabelog-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-tabelog-com-api-8be1be4b/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### check_availability

Check available reservation time slots for a restaurant on a specific date and party size. Returns the list of available time slots with booking URLs. An empty list means no availability for the given parameters. Read-only — does not place or hold a booking.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `date` | string | Yes | Desired reservation date in YYYY-MM-DD format. |
| `party_size` | integer | No | Number of guests (1-99). |
| `restaurant_id` | string | Yes | Tabelog restaurant ID (e.g. '13277198') from search_restaurants results. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-tabelog-com-api-8be1be4b/check_availability \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"date":"<string>","party_size":"<integer>","restaurant_id":"<string>"}'
```

### get_restaurant

Retrieve detailed information about a specific restaurant including address, categories, phone, transportation, and business hours. The restaurant_id comes from search_restaurants results.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `restaurant_id` | string | Yes | Tabelog restaurant ID (e.g. '13277198') from search_restaurants results. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-tabelog-com-api-8be1be4b/get_restaurant \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"restaurant_id":"<string>"}'
```

### search_restaurants

Full-text search over tabelog.com restaurants. The search query matches restaurant names, areas, and cuisine types. Returns paginated results of 20 per page, sorted by relevance. Each result includes the restaurant booking page URL.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `keyword` | string | Yes | Search query matching restaurant name, area, or cuisine type (e.g. 'sushi ginza', 'ramen shinjuku'). |
| `page` | integer | No | Page number for pagination. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-tabelog-com-api-8be1be4b/search_restaurants \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"keyword":"<string>","page":"<integer>"}'
```
