Tini.es API Documentation

We provide a public api which is easy to use, but keep in mind that we have rate limits.

Example Request

> curl https://tini.es --data "url=www.example.com"

Example Response

{
    "shrotened_url": "https://tini.es/SwIt6G"
}

Validation Errors

Input URL should be in a spcified format eg: https://www.example.com, https://example.com/some/sub/url
if not you will get "Enter a valid URL" as validation error.

{
    "validation_error": "Enter a valid URL"
}

We block certain URLs (eg: https://tini.es/xyz ), If input URL is in blocked list, you will get "URL is not allowed error."

{
    "validation_error": "URL is not allowed"
}

DMCA.com Protection Status