Get started

    API Endpoint

        https://opnl.in/api/v1/
                

The Link Shortener (OPNL.in) is a web-based service designed to convert long URLs into shortened, easily shareable links. It provides users with a simple, efficient tool to reduce the character length of a URL while maintaining the link's original function. This service is ideal for social media sharing, email campaigns, or simplifying lengthy URLs, etc.

To use this API, you need an API key. Please contact us at ratan.dahat@selftech.in to get your own API key.

Errors

The Link Shortener - opnl.in API uses the following error codes:

Error Code Meaning
500 An error occurred while processing your request.
400 The HTTP 400 Bad Request client error response status code indicates that the server would not process the request due to something the server considered to be a client error.
422 Unvalid opnlkey secret for this domain. This error appears if you use an API key non specified for your domain. Developper or Universal API keys doesn't have domain checker.