Search & Utility
2 endpoints under Search & Utility.
GET
/v1/search/universal
Parallel anime + manga search, top 8 each.
| Name | In | Type | Required |
|---|---|---|---|
q |
query | string | required |
Request
curl -H "x-animex-internal-token: YOUR_TOKEN" \ "https://your-api-host/v1/search/universal"
$ch = curl_init('https://your-api-host/v1/search/universal');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, [
'x-animex-internal-token: YOUR_TOKEN',
]);
$response = curl_exec($ch);
curl_close($ch);
$data = json_decode($response, true);
print_r($data);const response = await fetch('https://your-api-host/v1/search/universal', {
headers: {
'x-animex-internal-token': 'YOUR_TOKEN',
},
});
const data = await response.json();
console.log(data);
GET
/v1/image-proxy
Proxies and re-encodes a remote image to AVIF/WebP (domain-whitelisted).
| Name | In | Type | Required |
|---|---|---|---|
url |
query | string | required |
w |
query | integer | optional |
q |
query | integer | optional |
Request
curl -H "x-animex-internal-token: YOUR_TOKEN" \ "https://your-api-host/v1/image-proxy"
$ch = curl_init('https://your-api-host/v1/image-proxy');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, [
'x-animex-internal-token: YOUR_TOKEN',
]);
$response = curl_exec($ch);
curl_close($ch);
$data = json_decode($response, true);
print_r($data);const response = await fetch('https://your-api-host/v1/image-proxy', {
headers: {
'x-animex-internal-token': 'YOUR_TOKEN',
},
});
const data = await response.json();
console.log(data);