Vagibond

Follow Vagibond

Stay connected with us on social media for updates on new ventures.

Thanks for subscribing!
🔗
TinyVag is Vagibond's enterprise link shortening and performance platform. Getting started is easy. Most developers are up and running in under a minute.

TinyVag API

Reduce unwieldy URLs to compact, shareable links — and measure how they perform. Whether you're self-conscious about your link length or just want to track your performance metrics, TinyVag has you covered. No judgment. Just results.

What You Can Build

Live Demo

See what you can build with the TinyVag API.

TinyVag Demo

Quickstart

Shorten a link in one request. Takes your full-length URL and makes it compact.

Shorten a URL

bash
# Make it tiny
curl -X POST https://api.vagibond.com/share \
  -H "Content-Type: application/json" \
  -d '{
    "app": "tiny",
    "type": "redirect",
    "url": "https://example.com/very/long/url?with=params&that=goes&on=and&on=forever"
  }'

Response

json
{
  "id": "abc123",
  "url": "https://vagibond.com/s/abc123"
}

That's it. Your link is now 6 characters. Is 6 enough? Trust us — it's plenty.

Authentication

Include your API key in the X-TinyVag-Key header with every request.

bash
curl -H "X-TinyVag-Key: your-api-key" \
  https://api.vagibond.com/share
💡
During the beta, API keys are not strictly enforced. Go easy — you don't want to overdo it.

Rate Limits

TierRate LimitNotes
Free100/minEnough for most people
Pro1,000/minFor heavy users
EnterpriseUnlimitedGo as hard as you want

Create a new TinyVag link. Takes your full-length URL and makes it compact.

POST /api/share

Request Body

FieldTypeRequiredDescription
appstringYesSource application identifier
typestringYesContent type: redirect, grunt, article, song, job, campaign, profile, paystub, verse
urlstringFor redirectTarget URL to shorten
titlestringNoContent title (articles, songs)
excerptstringNoPreview text

Example: URL Redirect

javascript
const response = await fetch('https://api.vagibond.com/share', {
  method: 'POST',
  headers: { 'Content-Type': 'application/json' },
  body: JSON.stringify({
    app: 'tiny',
    type: 'redirect',
    url: 'https://example.com/embarrassingly-long-url-that-you-dont-want-anyone-to-see'
  })
});

const { id, url } = await response.json();
console.log(`Your tiny link: ${url}`);
// → Your tiny link: https://vagibond.com/s/abc123

Rich Card Types

Create links with enhanced visual presentation. Rich cards render custom previews instead of redirecting — making your tiny link look impressive.

TypeSource AppDescription
redirectAny302 redirect to target URL
gruntGutterSocial post card
adGutterSponsored post card
articleMidArticle summary card
songBeatKidsMusic card with player
jobBackdoorJob listing card
campaignEnableMeCrowdfunding campaign card
profileVagifyVerification profile card
paystubIntranetPay stub card (deterministic)
verseChurch of the U.N.T.Scripture card

Example: Grunt Card

json
{
  "app": "gutter",
  "type": "grunt",
  "profile": {
    "name": "DumpsterDave",
    "handle": "dave",
    "avatar": "https://cdn.vagibond.com/..."
  },
  "text": "Just found a whole pizza in the recycling. Today is a good day.",
  "sentiment": "positive"
}

Retrieve metadata for an existing link. See full details about your link's dimensions and performance.

GET /api/share/{id}

Path Parameters

ParameterTypeDescription
idstring6-character link ID
bash
curl https://api.vagibond.com/share/abc123

Get Preview Image

Get the OG preview image for a link. Returns a PNG. Because looks matter.

GET /api/og?id={id}
html
<!-- Embed a preview image -->
<img src="https://api.vagibond.com/og?id=abc123" alt="Link preview" />

Get Stats Coming Soon

Get performance analytics for a link. Know exactly how you're doing.

GET /api/share/{id}/stats

Planned response fields:

FieldTypeDescription
clicksnumberTotal click count
uniqueClicksnumberUnique visitors
lastClickedAtnumberUnix timestamp of last click
referrersobjectClick sources by referrer

JavaScript SDK

The fastest way to integrate TinyVag. One script tag, one function call.

html
<!-- Load the SDK -->
<script src="https://vagibond.com/lib/vagibond-share.js"></script>

<script>
  // Shorten a link in one quick call
  VagibondShare.open({
    app: 'tiny',
    type: 'redirect',
    url: 'https://example.com/embarrassingly-long-url'
  });
</script>

The SDK opens a themed share modal, creates the link via the API, and provides copy/share options — all in one call. Fits anywhere, every time.

Other Languages

LanguagePackageStatus
JavaScriptvagibond-share.jsFully functional
Pythonpip install tinyComing soon
Rubygem install tinyWorking on it
Gogo get tinyAspirational
cURLJust use cURLAlways performs

Pricing

Plans for every size.

FreeProEnterprise
Links/month10010,000Unlimited
Rich CardsRedirect onlyAll typesAll types
OG ImagesStandardEnhancedPremium
AnalyticsDid anyone click?Full dashboardCustom reports
TTL90 days90 daysCustom
SupportCommunity (Gutter)Email (3-5 days)Dedicated (Dusty)
Rate Limit100/min1,000/minUnlimited

View Full Pricing →