# Resy Slot Preview API Documentation

Preview the details of one reservation slot by config.token. This is a read-only lookup: the request always sends commit=0 and never books, holds or reserves a table. No booking token is returned. Costs 1 credit.

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

## 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 |
| --- | --- | --- | --- |
| `config_id` | string | Yes | The config.token from a search hit availability slot. Numeric config ids are rejected upstream. |
| `day` | string | No | Reservation date in YYYY-MM-DD form. |
| `party_size` | integer | No | Number of guests, 1 to 20. |
| `time_zone` | string | No | IANA zone used to render slot dates as ISO 8601. Without a zone the naive value is kept and date.time_basis is naive_venue_local. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/resy/slot?config_id=eyJrZXkiOiI2MDAyOSJ9"
```

## Example response

```json
{
    "success": true,
    "data": {
        "slot": {
            "config": {
                "id": "eyJrZXkiOiI2MDAyOSJ9"
            }
        }
    },
    "meta": {
        "endpoint_family": "slot",
        "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)
