Developers & API
Redirects, HTTP status codes and building on a URL shortener API.
- Developers & API301 vs 302 Redirects: Which One Should You Use?301 is permanent and cached; 302 is temporary and re-checked on every visit. Learn how each affects SEO, caching and analytics, and when to use 307 or 308. · 6 min read
- Developers & APIAPI Key Security Best PracticesHow to store and rotate API keys safely: environment variables, keeping keys out of Git and front-end code, proxying through a server and handling a leak. · 6 min read
- Developers & APIAPI Rate Limiting Explained: 429 Errors and Retry-AfterWhat API rate limits are, why you get HTTP 429 Too Many Requests, how to read Retry-After and rate limit headers, and how to write a client that backs off. · 7 min read
- Developers & APIBase62 Encoding: How Short IDs Are GeneratedHow Base62 turns numbers into short IDs, how many codes each length gives, counter vs random generation, modulo bias and Urlzee's 56-character alphabet. · 6 min read
- Developers & APICanonical URLs and Tracking ParametersHow rel=canonical stops UTM-tagged and click-ID URLs becoming duplicate pages, plus how canonicals interact with analytics, caches and short links. · 6 min read
- Developers & APIDeep Links Explained: Universal Links and App LinksWhat deep links are and how they work: custom URL schemes, iOS Universal Links, Android App Links, the association files each needs and where short links fit. · 7 min read
- Developers & APIHow to Test Redirects with curlcurl commands for testing redirects: show the status code and Location header, follow a chain hop by hop, time redirects, detect loops and check many URLs. · 6 min read
- Developers & APIHow URL Shorteners Work Under the HoodInside a URL shortener: validating the destination, generating a unique slug, storing the mapping, redirecting with a 302 and recording clicks. · 6 min read
- Developers & APIHTTP Status Codes: A Practical GuideWhat the HTTP status codes you actually meet mean: 200, 201, 301, 302, 400, 401, 403, 404, 410, 422, 429 and 5xx, with advice on what to do about each. · 6 min read
- Developers & APIRedirect Chains: How They Slow Pages and How to Fix ThemA redirect chain is two or more redirects before a page loads. See what each hop costs, how to find chains with curl and how to flatten them. · 6 min read
- Developers & APIHow to Shorten URLs in Google SheetsTwo ways to shorten a column of URLs in Google Sheets: paste it into a bulk shortener, or add an Apps Script menu that calls the Urlzee API. · 7 min read
- Developers & APIHow to Shorten URLs with JavaScript and Node.jsShorten URLs from Node.js 18+ with fetch and the Urlzee API: a reusable helper, error handling, 429 retries, pagination and a safe server proxy. · 6 min read
- Developers & APIHow to Shorten URLs with PythonShorten URLs in Python with requests and the Urlzee API. Covers a reusable client, custom aliases, error handling, retrying 429 responses and bulk CSV jobs. · 5 min read
- Developers & APISSRF Explained: Validating User-Supplied URLs SafelyWhat server-side request forgery is and how to prevent it: validate URLs, resolve DNS, block private IP ranges and re-check every redirect hop. · 7 min read
- Developers & APIURL Shortener API: A Getting-Started GuideCreate, list, update and delete short links with the Urlzee REST API. Working curl examples for authentication, errors, rate limits and click statistics. · 5 min read