# Bitly API

Category: [URL shorteners](https://free-web-services.com/web-services/web-development/url-shorteners/)  
Page: https://free-web-services.com/web-services/web-development/url-shorteners/bit-ly-api.html  
Documentation: https://dev.bitly.com/

The Bitly API lets you shorten long links, create branded short links on your own domain and generate QR codes, from your own software. You can also update link titles and tags, and get click statistics per link, by country, referrer and day. Responses are JSON. Free plan with a monthly limit on links; paid plans for more links, custom domains and full statistics. An official MCP server at https://api-ssl.bitly.com/v4/mcp lets AI agents use Bitly on some paid plans.

- API key: Needed, free
- Pricing: Free plan with a monthly limit on links; paid plans for more links, custom domains and full statistics.
- From the browser: Yes (CORS)
- Formats: JSON
- Interface: REST, HTTP-GET, Javascript, MCP
- Provider: dev.bitly.com
- Last checked: Working on November 15th, 2026

Example request:

```sh
curl 'https://api-ssl.bitly.com/v4/user' \
  -H 'Authorization: Bearer YOUR_API_KEY'
```

Replace YOUR_API_KEY with your own key. The JavaScript works in a web page as well as in Node.js 18 or newer.

