Skip to content
Git.io logovsShrtcode logo

Git.io API vs Shrtcode API

Two free URL Shorteners APIs compared on access, reliability and developer ratings, using data from our daily health checks.

The verdict

  • Choose Git.io API if its data fits your use case better; on access and reliability it's level with Shrtcode API.
  • Choose Shrtcode API if you want to call it from browser JavaScript.

Side by side

Git.io APIShrtcode API
What it doesDo you have a GitHub URL you’d like to shorten?URl Shortener with multiple Domains.
ProviderThe GitHub Blogshrtco.de
API keyNot neededNot needed
HTTPSYesYes
CORS (browser calls)UnknownYes
Status todayOnline · 956 msLast check failed
Uptime (30 days)UpDown
Developer ratingNot rated yetNot rated yet
PriceFree / free tierFree / free tier

About each API

Git.io logoGit.io API

Do you have a GitHub URL you’d like to shorten?

Do you have a GitHub URL you’d like to shorten? Use Git.io! $ curl -i https://git.io -F "url=https://github.com/..." HTTP/1.1 201 Created Location: https://git.io/abc123 $ curl -i https://git.io/abc123 HTTP/1.1 302 Found…

Strengths

  • No API key needed
  • HTTPS

Ratings, reviews and FAQ →

How to choose between them

  • Prototyping or a tutorial? Pick the one that needs no API key (both qualify).
  • Calling from a web page? You need CORS. Otherwise route requests through your own server or a serverless function.
  • Going to production? Favour HTTPS, a strong uptime record and a provider with clear rate limits and terms. Check each API's docs before you commit.
  • Still unsure? Both are free to try: send one request to each and compare the data you get back.

Git.io vs Shrtcode FAQ

Do Git.io API and Shrtcode API need an API key?

Neither needs an API key; you can call both straight away.

Which can I call from the browser?

Shrtcode API supports CORS, so front-end JavaScript can call it directly. Call the other from a server.

More comparisons

Git.io API alternatives · Shrtcode API alternatives · best URL Shorteners APIs