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

# Introduction

> minimalistic tools for the web.

# 1px API

Welcome to the 1px API documentation. 1px provides minimalistic tools for the web, including URL shortening, Paste sharing, Markdown rendering, and File Uploads.

## Base URL

```
https://api.1px.ch
```

## Authentication

All API endpoints require authentication via a Bearer token. You can generate an API key from your [dashboard](https://1px.ch/dashboard/api).

Include your token in the `Authorization` header:

```bash theme={null}
Authorization: Bearer YOUR_API_KEY
```

## Rate Limits

* **URL Shortening**: 600 requests/hour
* **Paste Creation**: 600 requests/hour
* **Markdown Creation**: 600 requests/hour
* **File Uploads**: 1 GB bandwidth/hour

## Tools

<CardGroup>
  <Card title="URL Shortener" icon="link" href="/api-reference">
    Shorten long URLs into compact links.
  </Card>

  <Card title="Paste" icon="file-lines" href="/api-reference">
    Share text snippets instantly.
  </Card>

  <Card title="Markdown" icon="markdown" href="/api-reference">
    Render and share Markdown content.
  </Card>

  <Card title="File Upload" icon="cloud-arrow-up" href="/api-reference">
    Upload and share files up to 50 MB.
  </Card>
</CardGroup>
