> ## Documentation Index
> Fetch the complete documentation index at: https://docs.scrapebadger.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Review Video Key

> Mint the video playback key (inKey) for a review-attached video from its attachVid and videoStamp.

Mint the **video playback key** (`inKey`) for a video attached to a review. Pass the `attach_vid` and the `videoStamp` from the review's attachment and receive the video id and its playback key, which the player needs to stream the clip.

**Credits:** 5

## Authorization

**X-API-Key** `string` *required*

Your ScrapeBadger API key.

## Query Parameters

**attach\_vid** `string` *required*

The attached video id (`attachVid`).

**stamp** `string` *required*

The `videoStamp` from the review attachment (type `M`).

## Response

**video\_id** `string`

**in\_key** `string`

The playback key, or `null` when it could not be minted.

## Example

```bash cURL theme={null}
curl "https://scrapebadger.com/v1/naver/reviews/video-inkey?attach_vid=A1B2C3D4&stamp=1699999999" \
  -H "X-API-Key: YOUR_API_KEY"
```

```javascript Node.js theme={null}
const res = await fetch(
  "https://scrapebadger.com/v1/naver/reviews/video-inkey?" +
    new URLSearchParams({"attach_vid": "A1B2C3D4", "stamp": "1699999999"}),
  { headers: { "X-API-Key": process.env.SCRAPEBADGER_API_KEY } },
);
const data = await res.json();
```

```python Python theme={null}
import requests

res = requests.get(
    "https://scrapebadger.com/v1/naver/reviews/video-inkey",
    headers={"X-API-Key": "YOUR_API_KEY"},
    params={"attach_vid": "A1B2C3D4", "stamp": "1699999999"},
)
data = res.json()
```

```json Response theme={null}
{
  "video_id": "A1B2C3D4",
  "in_key": "V_abcdef123456"
}
```

## Errors

| Status | Meaning |
| - | - |
| `422` | Naver served a challenge instead of content — **not billed**. Retry; it succeeds. |
| `502` | Unexpected upstream failure — **not billed**. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.