Documentation

Everything you need to create beautiful link previews, track clicks, and integrate Peeksy into your workflow.

Quick start

1

Create an account

Sign up free at peeksy.space — no credit card required.

2

Create your first link

Paste any URL into the dashboard. Peeksy fetches metadata and generates a branded short link instantly.

3

Customize the preview

Choose a template or let AI generate your OG image. Edit the title and description, or click "AI Copy" to auto-generate.

4

Share & track

Copy your short link and share it anywhere. View clicks, referrers, and geography in real-time analytics.

API & SDK reference

Build on top of Peeksy with our TypeScript SDK, REST API, or MCP Server for AI agents.

@peeksy/sdk

TypeScript

Official TypeScript/JavaScript SDK. Create links, generate OG images, run SEO audits, and pull analytics from your own codebase.

$npm install @peeksy/sdk

Requires Pro+ plan

Full reference
import { Peeksy } from "@peeksy/sdk"

const peeksy = new Peeksy({ apiKey: "pk_..." })

const link = await peeksy.links.create({
  url: "https://example.com",
  template: "modern-dark",
})

console.log(link.shortUrl)

REST API

HTTP

Full REST API with JWT authentication. Create links, generate images, run audits, and query analytics over HTTP.

Requires Pro+ plan

Full reference
curl -X POST https://api.peeksy.space/links \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://example.com","title":"My Link"}'

MCP Server

AI Agents

Connect Claude, Cursor, or any MCP-compatible AI agent to your Peeksy account. Manage links and analytics without leaving the chat.

Requires Business plan

Full reference
{
  "mcpServers": {
    "peeksy": {
      "url": "https://api.peeksy.space/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_TOKEN"
      }
    }
  }
}

Ready to start building?

Create your free account and have your first AI-powered link live in under a minute.