# Resy Venue Config API Documentation

Return the public configuration object Resy ships to anonymous browsers for one venue, trimmed to venue and booking fields. Global app data and Stripe keys are removed. Read only, costs 1 credit.

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

## 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 |
| --- | --- | --- | --- |
| `venue_id` | integer | Yes | Numeric Resy venue id from the search endpoint, e.g. 60029. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/resy/venue-config?venue_id=60029"
```

## Example response

```json
{
    "success": true,
    "data": {
        "venue": {
            "id": 60029
        }
    },
    "meta": {
        "endpoint_family": "venue_config",
        "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)
