# Resy Cuisines API Documentation

List the cuisine facets Resy offers for a location slug. Use the returned cuisines to refine a text query on the search endpoint. Costs 1 credit.

- **Documentation:** [https://scrappa.co/docs/resy-api/resy_cuisines](https://scrappa.co/docs/resy-api/resy_cuisines)
- **API group:** Resy API
- **Endpoint:** `GET https://scrappa.co/api/resy/cuisines`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `location` | string | Yes | Location slug, e.g. ny. |
| `maximum_num_cuisines` | integer | No | Maximum number of cuisines to return, 1 to 100. Defaults to 15. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/resy/cuisines?location=ny"
```

## Example response

```json
{
    "success": true,
    "data": {
        "results": [
            "American",
            "Chinese"
        ],
        "cuisines": [
            {
                "name": "American"
            },
            {
                "name": "Chinese"
            }
        ]
    },
    "meta": {
        "endpoint_family": "cuisines",
        "billable": true
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 400 | Unsupported Filter | The request used a filter key that is not proven. No filter is fabricated. Not billable. |
| 422 | Invalid Request | Resy rejected the request. Check the parameters. Not billable and not retryable. |
| 404 | Venue Not Found | The requested venue was not found. Not billable. |
| 502 | Invalid Source Response | The upstream response no longer matches the expected shape. Not billable. |
| 503 | Upstream Unavailable | No healthy egress or the upstream failed. Not billable. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
