API Documentation

Our Redirect Database API gives you direct, real-time access to one of the world’s largest collections of domain-level redirect data. Whether you’re integrating this information into your own tools, dashboards, or applications — our API provides fast, flexible, and secure endpoints designed for scale.

Authentication

To access the API, you must include your API key in the headers of each request. API keys can be generated in your dashboard under the "API Access" section.


		GET /api/v1/redirects
		Headers:
		Authorization: Bearer YOUR_API_KEY
		

Base URL

All requests should be directed to the following base endpoint:

https://allredirects.org/api/v1/

Available Endpoints

Endpoint Description Method
/redirects Returns redirect data based on filters GET
/domains Lists all domains with known redirects GET
/stats Get usage statistics and limits GET

Query Parameters

  • domain — Filter by domain name (e.g. example.com)
  • status_code — Filter by redirect type (301, 302, etc.)
  • target — Match target URLs
  • updated_after — Get records updated after a specific ISO date
  • limit — Limit number of results per request (max: 1000)
  • offset — Pagination offset

Sample Request


		GET https://allredirects.org/api/v1/redirects?domain=example.com&status_code=301&limit=50
		Authorization: Bearer YOUR_API_KEY
		

Response Format


		[
		  {
		    "domain": "example.com",
		    "source_url": "http://example.com",
		    "redirect_type": "301",
		    "target_url": "https://example.com",
		    "last_seen": "2025-04-10T15:23:00Z"
		  }
		]
		

Pricing & Rate Limits

Your current API usage depends on your plan. View all pricing details here.

Plan Daily Limit Requests / Second
Starter 500 1
Pro 5,000 3
Business 25,000 5
Enterprise Unlimited Custom

Support

If you need help integrating our API, have technical questions, or want a demo, reach out via our contact form and our team will respond promptly.

Custom Integrations

Need something more advanced? We can create custom endpoints, schedule bulk exports, or build integrations tailored to your stack. Just let us know via support.