Is Live
curl --request GET \
--url https://api.aiornot.com/v1/system/liveimport requests
url = "https://api.aiornot.com/v1/system/live"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.aiornot.com/v1/system/live', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aiornot.com/v1/system/live",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.aiornot.com/v1/system/live"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.aiornot.com/v1/system/live")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aiornot.com/v1/system/live")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"is_live": true
}SYSTEM MANAGEMENT
Is Live
Check if the API is live.
This is useful for diagnosing issues with your integration. Is there a bug on your side, or are we simply down? You should not hit this endpoint very frequently as our system may flag it as abuse.
Please see also our status page.
GET
/
v1
/
system
/
live
Is Live
curl --request GET \
--url https://api.aiornot.com/v1/system/liveimport requests
url = "https://api.aiornot.com/v1/system/live"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.aiornot.com/v1/system/live', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aiornot.com/v1/system/live",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.aiornot.com/v1/system/live"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.aiornot.com/v1/system/live")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aiornot.com/v1/system/live")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"is_live": true
}Response
200 - application/json
Successful Response
Indicates that API is live.
⌘I