URL Shortener API Documentation
API docs for URL shortening. Create short links, track clicks, set passwords and expiry dates. $0.0012/click, no subscription.
Frequently Asked Questions
How much does the Links API cost?
$0.0012 per click for the first 5,000, $0.0008 for 5,001–10,000, and $0.0005 for 10,001+. No subscription, no monthly fee.
How long do short links last?
Links expire automatically after 30 days. Delete links you no longer need via DELETE /links/{code}.
Can I password-protect a link?
Yes. Pass username and password in the create request. Visitors will see an HTTP Basic Auth prompt before being redirected.
Can I track how many times a link was clicked?
Yes. The clicks field in the list response shows the total click count for each link. Click counts update in real time.
What is the short URL format?
Short URLs are https://sed.sh/{5-char-code} where the code is 5 lowercase alphanumeric characters, randomly generated.
How many links can I create per hour?
1,000 links per hour per API key.