✅ CLI & SDK Now Available on npm

Developer Documentation

Integrate TinyURL.ca into your applications with our REST API, CLI, and JavaScript SDK

Quick Start

// Install the SDK
npm install @tinyurl-ca/sdk

// Import and create client
import { TinyURLClient } from '@tinyurl-ca/sdk';

const client = new TinyURLClient({
  apiKey: 'your_api_key_here'
});

// Create a short link
const link = await client.createLink({
  url: 'https://example.com',
  customCode: 'my-link',
  title: 'My Website'
});

console.log(link.shortUrl); // https://tinyurl.ca/my-link
console.log(link.id);       // Link ID for future operations

🔧 CLI Tool

Published

Command-line tool for creating and managing short links from your terminal

Install globally:

npm install -g @tinyurl-ca/cli

Quick start:

tinyurl config set apiKey your_key

Shorten a URL:

tinyurl shorten https://example.com

📦 JavaScript SDK

Published

TypeScript-first SDK for Node.js, browsers, and modern frameworks

Install in your project:

npm install @tinyurl-ca/sdk

Import and use:

import { TinyURLClient } from '@tinyurl-ca/sdk';

const client = new TinyURLClient({
  apiKey: 'your_key'
});

await client.shorten('https://...');

Why Use Our Developer Tools?

🚀

Easy Integration

Simple, intuitive APIs that work out of the box. Get started in minutes with comprehensive documentation.

🔒

Secure & Reliable

API key authentication, rate limiting, and 99.9% uptime SLA. Your links are always accessible.

📊

Full Analytics

Track clicks, analyze traffic, and measure link performance through our API and dashboard.

High Performance

Global CDN ensures fast redirects worldwide. Low latency API responses for optimal user experience.

🎨

Custom Branding

Create custom short codes that match your brand. Unlimited customization on PRO plans.

💪

Developer-First

Built by developers, for developers. TypeScript support, detailed errors, and excellent DX.

Need Help?

📧Email Support

Get help from our support team

Contact Us

📚Documentation

Explore guides and API reference

View documentation

💬Community

Join our developer community

GitHub Discussions →