# TheFork restaurant reviews API

Get TheFork Reviews data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as id, output, and retrieve structured data including restaurant identifier, review identifier, review rating, source meal date, and source rating count for source directory, and record comparison, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/thefork/thefork-restaurant-reviews-api/6288a350-083b-4412-9ee8-d2afbc76b1a6/
API ID: 6288a350-083b-4412-9ee8-d2afbc76b1a6
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/thefork/v1/reviews
Page update time: 2026-12-03T02:45:03.918Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.002 / billing credit
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:45:00.760Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "rules",
  "parameters": [],
  "policy_version": 2,
  "sale": {
    "addons": [],
    "base_price_micro_usd": "0",
    "max_cost_micro_usd": "2000",
    "quantities": [
      {
        "id": "upstream_credits",
        "label": "Actual API.SH credits consumed",
        "max_quantity": "1",
        "measure": "value",
        "pointer": "/credits_used",
        "price_micro_usd": "2000",
        "quantity_scale": 0,
        "source": "response",
        "unit": "credit",
        "unit_quantity": "1"
      }
    ],
    "rounding": "ceil",
    "variants": []
  }
}
```

## Usage and limits
## TheFork Reviews API

Use id or url to select the restaurant. reviews contains the returned selection, while rating\_count and review\_count describe separate source totals. The response includes languages and available service or ambience summaries, but exposes no pagination, language filter or result-limit input.

## What You Can Build

- **Source directory**: Retain the returned source identifier and location context when enriching a discovery directory.
- **Record comparison**: Compare the returned source metadata and follow detail links before a visit or booking decision.

## Returned Data

| Field | Meaning |
| --- | --- |
| `restaurant.id` | Restaurant identifier |
| `reviews[].id` | Review identifier |
| `reviews[].rating` | Review rating |
| `reviews[].meal_date` | Source meal date |
| `rating_count` | Source rating count |
| `review_count` | Source text-review count |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "TheFork restaurant reviews API request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "A TheFork restaurant id, e.g. 56948."
        },
        "url": {
          "type": "string",
          "description": "Instead of id: the restaurant page url."
        },
        "raw": {
          "type": "string",
          "description": "0 leaves out the bulky `raw` source blocks (often 10-30x smaller).",
          "enum": [
            "0",
            "1"
          ]
        },
        "fields": {
          "type": "string",
          "description": "Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included."
        },
        "fresh": {
          "type": "string",
          "description": "1 skips the 24-hour cache and fetches live.",
          "enum": [
            "1"
          ]
        },
        "output": {
          "type": "string",
          "description": "JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON exports are not exposed.",
          "enum": [
            "json"
          ]
        },
        "records": {
          "type": "string",
          "description": "Native CSV/NDJSON record selector; it has no effect on this JSON-only product."
        }
      }
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "ambience": {
      "type": "number"
    },
    "cached": {
      "type": "boolean"
    },
    "count": {
      "type": "integer"
    },
    "credits_used": {
      "type": "integer"
    },
    "languages": {
      "type": "object",
      "properties": {
        "all": {
          "type": "integer"
        },
        "de": {
          "type": "integer"
        },
        "en": {
          "type": "integer"
        },
        "es": {
          "type": "integer"
        },
        "fr": {
          "type": "integer"
        },
        "it": {
          "type": "integer"
        },
        "ja": {
          "type": "integer"
        },
        "nl": {
          "type": "integer"
        },
        "null": {
          "type": "integer"
        },
        "pl": {
          "type": "integer"
        },
        "pt": {
          "type": "integer"
        },
        "sv": {
          "type": "integer"
        }
      }
    },
    "rating": {
      "type": "number"
    },
    "rating_count": {
      "type": "integer"
    },
    "restaurant": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer"
        },
        "name": {
          "type": "string"
        },
        "url": {
          "type": "string"
        }
      }
    },
    "review_count": {
      "type": "integer"
    },
    "reviews": {
      "type": "array",
      "items": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "likes": {
                "type": "integer"
              },
              "meal_date": {
                "type": "string"
              },
              "photos": {
                "type": "array",
                "items": {}
              },
              "rating": {
                "type": "number"
              },
              "restaurant_reply": {
                "type": "null"
              },
              "reviewer": {
                "type": "object",
                "properties": {
                  "avatar": {
                    "anyOf": [
                      {
                        "type": "null"
                      },
                      {
                        "type": "string"
                      }
                    ]
                  },
                  "member_since": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  },
                  "review_count": {
                    "type": "integer"
                  }
                }
              },
              "text": {
                "type": "string"
              }
            }
          },
          {
            "type": "string"
          }
        ]
      }
    },
    "service": {
      "type": "number"
    }
  }
}
```

## Request example
Scenario: Official example · Official documentation response · Supplier-tr
```bash
curl \
  'https://api.openany.si/v1/agent-apis/apish/thefork/v1/reviews?id=56948&output=json' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "ambience": 9.5,
  "cached": false,
  "count": 40,
  "credits_used": 1,
  "languages": {
    "all": 1067,
    "de": 2,
    "en": 45,
    "es": 4,
    "fr": 993,
    "it": 10,
    "ja": 1,
    "nl": 3,
    "null": 1,
    "pl": 1,
    "pt": 6,
    "sv": 1
  },
  "rating": 9.4,
  "rating_count": 2148,
  "restaurant": {
    "id": 56948,
    "name": "Borgo Paris",
    "url": "https://www.thefork.com/restaurant/borgo-paris-r56948"
  },
  "review_count": 1067,
  "reviews": [
    {
      "id": "ab34456f-59c6-4d29-bd14-9fe6d188d66f",
      "likes": 0,
      "meal_date": "2026-10-28T18:30:00.000Z",
      "photos": [],
      "rating": 9.5,
      "restaurant_reply": null,
      "reviewer": {
        "avatar": null,
        "member_since": "2018-02-10T17:02:51.000Z",
        "name": "Ian v.",
        "review_count": 36
      },
      "text": "excellent"
    },
    {
      "id": "7f4a9841-0fc9-44f8-943a-78cb6181fc13",
      "likes": 0,
      "meal_date": "2026-10-21T18:00:00.000Z",
      "photos": [],
      "rating": 9.5,
      "restaurant_reply": null,
      "reviewer": {
        "avatar": "https://cdn.thefork.com/tf-lab/image/upload/v1791979090/avatar/104f0205-c2c3-4015-a672-3f37932aa622.jpg",
        "member_since": "2026-03-30T07:14:49.822Z",
        "name": "Pierre Y.",
        "review_count": 1
      },
      "text": "Excellent"
    },
    "… 38 more"
  ],
  "service": 9.4
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### Can I paginate this review list?
No page, cursor or offset input is exposed.

### Does languages filter the response?
It is returned summary metadata; no language-filter input is exposed.

### Are rating_count and review_count identical?
No. Preserve the separate source measures.

### Are all source reviews included in reviews?
The returned selection can be smaller than review_count; do not infer full coverage from one response.

### How do I bypass cached results?
Pass fresh=1. A cache bypass retrieves available source data; it does not make unpublished or restricted records available.

### Can I request CSV or NDJSON?
This OpenAny implementation serves JSON only. Omit output or set output=json.

## Available implementations
- apish: https://openany.si/thefork/thefork-restaurant-reviews-api/6288a350-083b-4412-9ee8-d2afbc76b1a6/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
