# Quick Start

<table><thead><tr><th width="147">API Version</th><th width="125.33984375">Stage</th><th width="129" data-type="checkbox">Shorten URLs</th><th width="194" data-type="checkbox">Password Protection</th><th width="202" data-type="checkbox">Add Custom Domain</th><th width="87" data-type="checkbox">Count</th><th width="192" data-type="checkbox">Check Domain DNS</th><th data-type="checkbox">Cache</th></tr></thead><tbody><tr><td>v6</td><td>Latest</td><td>true</td><td>true</td><td>true</td><td>true</td><td>true</td><td>true</td></tr><tr><td>v5</td><td>Deprecated</td><td>true</td><td>true</td><td>true</td><td>true</td><td>true</td><td>false</td></tr><tr><td>v4</td><td>Deprecated</td><td>true</td><td>true</td><td>true</td><td>true</td><td>true</td><td>false</td></tr><tr><td>v3</td><td>Deprecated</td><td>true</td><td>true</td><td>true</td><td>true</td><td>false</td><td>false</td></tr><tr><td>v2</td><td>Deprecated</td><td>true</td><td>true</td><td>true</td><td>false</td><td>false</td><td>false</td></tr><tr><td>v1</td><td>Beta</td><td>true</td><td>true</td><td>false</td><td>false</td><td>false</td><td>false</td></tr><tr><td>v0</td><td>Alpha</td><td>true</td><td>false</td><td>false</td><td>false</td><td>false</td><td>false</td></tr></tbody></table>

<details>

<summary>Shorten Multiple URLs<br>POST - <code>/api/{API Version}/shorten</code></summary>

```json
body: {
    urls: urls,                // string
    password: password         // string
}
```

</details>

{% hint style="info" %}
Add Custom Domain only available after v2.
{% endhint %}

<details>

<summary>Add Custom Domain<br>GET -<code>/api/{API Version}/domain?add={domain}</code></summary>

Status:

````javascript
  [ 200 ] Domain/Subdomain added successfully. (Further action: use CNAME and point to ```javascript
  cname.vercel-dns.com.
````

```javascript
[ 403 ] You are not authorized to add this domain.
```

```javascript
[ 409 ] This domain/subdomain is already taken. Please remove it from your Vercel account and try again.
```

</details>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.1998.media/shortenurl-api/quick-start.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
