
Git.io URL shortener.
Git.io API is a free URL Shorteners API that requires no API key, is served over HTTPS and has unconfirmed CORS support.
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…
Details from github.blog.

Unified API suite · now live
Geocode an address, validate an email, track a flight or pull stock data with one account, one dashboard and one API key.
Shorten a long URL easily and fast
Free Modern URL Shortener
The Git.io API is provided by The GitHub Blog (github.blog). 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…
Yes. The Git.io API is listed in the URL Shorteners category of the public-apis directory, which only includes APIs that are free or have a free tier. Check its documentation for rate limits and paid plans.
No. The Git.io API requires no authentication, so you can start making requests without signing up.
CORS support for the Git.io API is unknown. Test a request from the browser, and fall back to a server-side call if it is blocked.
Yes. The Git.io API is served over HTTPS, so it's safe to use in production.