API documentation

Automate downloads and manage your files with a simple HTTP API. Parameters can be sent via GET or POST.

You need an account to get an API key. Sign up free

Get a direct download link

GET / POST/api/download.php

Premium only. Returns a plain-text direct link to the file, or an empty response if the key is invalid, the account is not Premium or the file does not exist.

Parameters

api_key
Your API key
file_id
The file ID from the download link, e.g. ABCD1234

Example request

https://www.extmatrix.com/v2/api/download.php?api_key=YOUR_API_KEY&file_id=ABCD1234

Example response

https://s8c.extmatrix.com/get/ABCD1234/…/file.zip

Lock or unlock a file

GET / POST/api/getlinks.php

Locked files can only be downloaded by Premium members. Works only on your own files.

Parameters

api_key
Your API key
task
lock | unlock
id
The file record ID (the "id" field from the list)

Example request

https://www.extmatrix.com/v2/api/getlinks.php?api_key=YOUR_API_KEY&task=lock&id=123

Example response

alert("locked succefully");

An invalid API key returns the text "invalid api key".