Skip to main content

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

Authentication

All API endpoints require authentication via a Bearer token. You can generate an API key from your dashboard. Include your token in the Authorization header:

Rate Limits

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

Tools

URL Shortener

Shorten long URLs into compact links.

Paste

Share text snippets instantly.

Markdown

Render and share Markdown content.

File Upload

Upload and share files up to 50 MB.