Create, manage, and track short links programmatically. Integrate LinkTwin with N8N, Airtable, Zapier, Google Sheets, or any custom software. RESTful API with complete documentation.
# Create a short link with one API call curl -X POST "https://linktw.in/api/url/add" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"url": "https://example.com/your-long-url"}'
Our RESTful API integrates seamlessly with automation platforms, spreadsheets, CRMs, and custom applications. If it can make HTTP requests, it can use LinkTwin.
From simple automations to complex enterprise integrations, our API powers thousands of use cases.
Automatically create short links when new products are added, blog posts are published, or content is uploaded. Perfect for e-commerce and content platforms.
Import thousands of URLs from spreadsheets, generate short links in bulk, and export them back. Ideal for marketing campaigns and affiliate programs.
Pull click data, referrer stats, and conversion metrics directly into your analytics dashboards, BI tools, or custom reporting systems.
Generate unique tracking links for each recipient in your email or SMS campaigns. Track individual engagement and optimize your outreach.
Create deep links on-the-fly from your mobile app. Share content with smart links that open directly in other apps instead of browsers.
Generate QR codes programmatically for print materials, product packaging, or event tickets. Update the destination URL anytime without reprinting.
Join thousands of creators, affiliates, and marketers who use LinkTwin every day.
Hey @Texas_Miler, you should try linktw.in for when you post YouTube links on IG stories, that way it'll open directly in the app and it's easier for people to like/comment since they're signed in. It's been super useful for me!
Try linktw.in: put your YouTube link in. It makes your YouTube link open DIRECTLY into the YouTube app instead of in video purgatory. @seancannell #SMMW23
Para eso: NUNCA pongas tus Links. Si haces eso, tu video se vera en otro reproductor o una pagina dentro de otra App. Mejor usa la pagina linktw.in Ahi pondras el link de tu video y te generara un nuevo enlace que SI abrira tu video dentro de la App de YT.
Let's stop sharing links THE WRONG WAY because it's costing you views and engagement. Instead, copy the link to your video and paste it to this website called LinkTwin. From there, copy the link generated and share it across all your social channels.
Quick life hack: Use linktw.in to create a link that when shared on Instagram on mobile opens the video in the YT app, not in a web browser. This allows people to interact with your video as opposed to just watching and clicking off.
Post your video links in the comments with linktw.in So it opens up in app (lil nugget for you)
If you send traffic between apps on mobile, the experience is terrible and often it opens in browser instead of the app on your phone. This tool solves that issue nicely.
My man! Try LinkTwin if you haven't already, sends people straight to the app. Not affiliated, just an awesome tool.
Hola! Te recomiendo uses esta web linktw.in para postear los links de Youtube y de esta manera al dar click abrira directamente en la app y no en el navegador o dentro de twitter. Aumentara tu engagement y eliminas friccion.
This is why I share my YouTube video either with linktwin, so it opens the YouTube App on their phone.
Awesome tool for Instagram creators! IG story links don't open in dedicated apps, like YouTube. Use linktw.in to level-up your links, sending the audience straight to your content on their specific apps, rather than a login-prompt within the IG browser!
Tool Alert: You're sharing your YouTube links the wrong way on social! Use LinkTwin so your shared links open inside the YouTube app and increase your chances of getting more subscribers.
Want to grow on YouTube? Use this tool to make your video shareable: linktw.in
linktw.in usa tu link ahi para que se abra directamente en la app, asi se puedan suscribir mas facil.
Lil tip use linktw.in when sharing YouTube videos to social. Keeps people logged into their yt accounts. It boosts my YouTube engagement by a lot
Use this when posting the YouTube link on your stories, it redirects you to the app and not to the mobile site where half the people aren't even logged in.
Astuce pour ceux qui partagent des liens YouTube en story Instagram : Au lieu de rediriger les gens vers une page web par defaut ou ils ne pourront pas liker ou s'abonner, generez d'abord le lien sur linktw.in
これ使ってリンク作るとアプリに直で飛べるからチャンネル登録してくれる人増えるよ!別媒体に動員しやすくなる!!機会があったらやってみて!
Little handy tips for you. If others are like me, most are on mobile. Ur YouTube link open browser instead of YouTube app directly. Try this link.
CONTENT CREATOR HACK for YouTube videos! Hate posting link to YT on socials to no likes, subs, and possible shorter retention? Use linktw.in — Generate a link. It'll load up YT videos on YT app!
Complete RESTful API with endpoints for links, QR codes, analytics, pixels, and more. Full CRUD operations with detailed responses.
Create, update, delete, and list shortened URLs. Set custom aliases, expiration dates, password protection, and geo-targeting rules via API.
Retrieve click counts, referrer data, device breakdowns, geographic distribution, and time-series data for any link or date range.
Generate QR codes for any link with customizable size, colors, and formats. Get QR codes as PNG, SVG, or base64-encoded data.
Attach Facebook Pixel, Google Analytics, or custom tracking pixels to links. Manage pixel configurations programmatically.
Create a new shortened URL with optional customization options.
Retrieve detailed click analytics for a specific link.
List all your shortened URLs with pagination support.
Get started in minutes with our code examples in cURL, PHP, Node.js, and Python. Copy, paste, and customize.
<?php // Shorten a URL with LinkTwin API $curl = curl_init(); curl_setopt_array($curl, [ CURLOPT_URL => "https://linktw.in/api/url/add", CURLOPT_RETURNTRANSFER => true, CURLOPT_CUSTOMREQUEST => "POST", CURLOPT_HTTPHEADER => [ "Authorization: Bearer YOUR_API_KEY", "Content-Type: application/json", ], CURLOPT_POSTFIELDS => json_encode([ 'url' => 'https://example.com/long-url', 'custom' => 'my-custom-alias' ]) ]); $response = json_decode(curl_exec($curl)); echo $response->shorturl; // Output: https://linktw.in/my-custom-alias
// Shorten a URL with LinkTwin API const axios = require('axios'); async function shortenUrl(longUrl) { const response = await axios.post( 'https://linktw.in/api/url/add', { url: longUrl }, { headers: { 'Authorization': `Bearer ${API_KEY}`, 'Content-Type': 'application/json' } } ); return response.data.shorturl; } shortenUrl('https://example.com') .then(url => console.log(url));
import requests # Shorten a URL with LinkTwin API response = requests.post( 'https://linktw.in/api/url/add', headers={ 'Authorization': 'Bearer YOUR_API_KEY', 'Content-Type': 'application/json' }, json={ 'url': 'https://example.com/long-url' } ) data = response.json() print(data['shorturl']) # Output: https://linktw.in/abc123
// N8N HTTP Request Node Configuration { "method": "POST", "url": "https://linktw.in/api/url/add", "authentication": "genericCredentialType", "genericAuthType": "httpHeaderAuth", "sendBody": true, "bodyParameters": { "parameters": [ { "name": "url", "value": "={{ $json.url }}" } ] } }
A robust API with everything you need to integrate link management into your applications.
Sub-100ms response times. Our globally distributed infrastructure ensures your links work instantly, every time.
Bearer token authentication with the ability to regenerate your API key anytime. All requests are encrypted via HTTPS.
Clean, intuitive endpoints following REST conventions. JSON responses with detailed error messages and status codes.
High rate limits for all plans. Free plan includes 60 requests/minute. Paid plans scale up to 1000+ requests/minute.
Detailed docs with code examples in cURL, PHP, Node.js, and more. Interactive API explorer to test endpoints.
Stuck on something? Our developer support team is here to help you integrate successfully. Priority support for paid plans.
Common questions about our API, authentication, rate limits, and integrations.
Read full API docsCreate a free account and your API key is automatically generated. Go to your dashboard Settings page to view and copy your API key. You can regenerate it anytime if needed. The API is included in all plans, including the free tier.
Rate limits depend on your plan. Free accounts get 60 requests per minute. Paid plans start at 120 requests/minute and can scale to 1000+ for enterprise needs. Rate limit headers are included in every response so you can monitor usage in real-time.
Absolutely! Our API works with any automation platform that supports HTTP requests. Use the HTTP Request node in N8N, Webhooks in Zapier, or HTTP modules in Make.com. We provide detailed guides and examples for each platform in our documentation.
Our API includes endpoints for: URL shortening (create, update, delete, list), analytics (clicks, referrers, devices, locations), QR codes (generate with custom styles), campaigns/collections, pixels/tracking, and account management. View all endpoints in our documentation.
Yes! API access is available on all plans, including the free tier. Free accounts can create links, retrieve analytics, and use all core API features. The main limitations are rate limits (60 requests/minute) and the monthly click cap on your account.
We provide ready-to-use code examples in cURL, PHP, Node.js, and Python directly in our documentation. Each endpoint includes copy-paste examples showing authentication, request format, and response handling. Community SDKs are also available on GitHub for popular languages.
Get your free API key in seconds. No credit card required. Full documentation and code examples included.
Free API access included with every account
Build something great.