Developer API

Programmatic access to alshorty features. Build integrations, automate workflows, and scale your link management.

High Performance

API responses in under 100ms. Built for scale with automatic rate limiting.

Secure

HTTPS only, API keys with granular permissions, and audit logging.

Comprehensive Docs

Full API reference with examples in multiple programming languages.

Authentication

All API requests require an API key in the Authorization header.

GET https://api.alshorty.com/v1/links
curl -X GET \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  https://api.alshorty.com/v1/links

Shorten a URL

Create a new short link programmatically.

POST https://api.alshorty.com/v1/shorten
{
          "url": "https://example.com/very-long-path",
          "alias": "my-custom-alias",
          "domain": "alshorty.com"
        }

Response

            "success": true,
            "short_url": "https://alshorty.com/s/my-custom-alias",
            "code": "my-custom-alias",
            "long_url": "https://example.com/very-long-path"
          

Get Link Analytics PRO

Retrieve detailed analytics for any short link.

GET https://api.alshorty.com/v1/analytics/{code}
curl -X GET \
  -H "Authorization: Bearer YOUR_API_KEY" \
  https://api.alshorty.com/v1/analytics/abc123

Bulk Shortening PRO

Shorten multiple URLs in a single API call.

POST https://api.alshorty.com/v1/bulk
            
              "urls": [
                "https://example.com/page1",
                "https://example.com/page2",
                "https://example.com/page3"
              ],
              "prefix": "campaign-"
            

Ready to integrate?

API access is available on Business and Enterprise plans. Get started with comprehensive documentation and dedicated support.

View Pricing Plans

Full API documentation available upon subscription

© 2026 alshorty