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

# parse

> POST /api/v1/parse on web.veilroute.dev

```http theme={null}
POST https://web.veilroute.dev/api/v1/parse
```

Returns the Akamai script constants (`ver`, `key`, `dvc`, `din`) for a given bootstrap script.
Send the script text as the **raw request body** — not JSON.

## Request

### Headers

**X-Api-Key** `string` *required*

Your Akamai Web API key.

**Content-Type** `string`

`text/plain`. The body is the raw script.

### Body

The Akamai bootstrap script (or the relevant snippet) as the raw request body.

## Response

**key** `number`

The script key.

**ver** `string`

The version string.

**dvc** `string`

The device-order string.

**din** `number[]`

The index permutation.

```bash curl theme={null}
curl -X POST https://web.veilroute.dev/api/v1/parse \
  -H "X-Api-Key: $VEILROUTE_KEY" \
  -H "Content-Type: text/plain" \
  --data-binary @akamai-script.js
```

```json 200 OK theme={null}
{
  "ver": "7nhD2ymlRQtbJ6JW...",
  "key": 4342594,
  "dvc": "h+d+k+a+c+g+l+f+e+b+i+j+",
  "din": [12, 10, 5, 9, 17, 2, 19, 21, 3, 1, 13, 8, 6, 0, 15, 16, 11, 20, 4, 14, 7, 18, 22]
}
```

See [Errors](/errors.md) for non-`200` responses.


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