> For the complete documentation index, see [llms.txt](https://docs.1998.media/shortenurl-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.1998.media/shortenurl-api/quick-start.md). Agents can also search and read this documentation through its [MCP server](https://docs.1998.media/shortenurl-api/~gitbook/mcp).

# Quick Start

Make your first request.

<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><th data-type="checkbox">Apple App Store</th><th data-type="checkbox">Apple Music</th></tr></thead><tbody><tr><td>26 or above</td><td>Latest</td><td>true</td><td>true</td><td>true</td><td>true</td><td>true</td><td>true</td><td>true</td><td>true</td></tr><tr><td>6</td><td>Deprecated</td><td>true</td><td>true</td><td>true</td><td>true</td><td>true</td><td>true</td><td>false</td><td>false</td></tr><tr><td>5</td><td>Deprecated</td><td>true</td><td>true</td><td>true</td><td>true</td><td>true</td><td>false</td><td>false</td><td>false</td></tr><tr><td>4</td><td>Deprecated</td><td>true</td><td>true</td><td>true</td><td>true</td><td>true</td><td>false</td><td>false</td><td>false</td></tr><tr><td>3</td><td>Deprecated</td><td>true</td><td>true</td><td>true</td><td>true</td><td>false</td><td>false</td><td>false</td><td>false</td></tr><tr><td>2</td><td>Deprecated</td><td>true</td><td>true</td><td>true</td><td>false</td><td>false</td><td>false</td><td>false</td><td>false</td></tr><tr><td>1</td><td>Beta</td><td>true</td><td>true</td><td>false</td><td>false</td><td>false</td><td>false</td><td>false</td><td>false</td></tr><tr><td>0</td><td>Alpha</td><td>true</td><td>false</td><td>false</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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
