api.yourls.org

The YOURLS APIs

This service outputs JSON or raw text responses from a set of APIs defined below.

JSONP support: add a JSONP callback with a jsonp parameter (eg query string ?jsonp=my_callback)

Issues: bugs, questions and feature requests can be filed on Github.

Documentation

Get list of people who contributed to YOURLS

Current version: 1.0

API URL: https://api.yourls.org/core/credits/1.0/

Parameters

none

Example

GET https://api.yourls.org/core/credits/1.0/

Return latest YOURLS stable version

Current version: 1.0

API URL: https://api.yourls.org/core/version/1.0/

Parameters

none

Example

GET https://api.yourls.org/core/version/1.0/

Count YOURLS plugins in the official plugin list

Current version: 1.0

API URL: https://api.yourls.org/plugins/count/1.0/

Parameters

none

Example

GET https://api.yourls.org/plugins/count/1.0/

Return a random string that will be used to encrypt cookies

Current version: 1.0

API URL: https://api.yourls.org/services/cookiekey/1.0/

Parameters

none

Example

GET https://api.yourls.org/services/cookiekey/1.0/

Encrypt a password for YOURLS with a salted md5 hash

Current version: 1.0

API URL: https://api.yourls.org/services/md5/1.0/

Parameters

Example

Test pages for title tags, using different charsets, specified either by HTML tag or by PHP header. See this gist for details.

Current version: 1.0

API URL: https://api.yourls.org/tests/titles/1.0/

Parameters

Example

GET https://api.yourls.org/tests/titles/1.0/?p=cn