Anomaly Detector Client
azure · Cloud
The Anomaly Detector API detects anomalies automatically in time series data. It supports two kinds of mode, one is for stateless using, another is for stateful using. In stateless mode, there are three functionalities. Entire Detect is for detecting the whole series with model trained by the time series, Last Detect is detecting last point with model trained by points before. ChangePoint Detect is for detecting trend changes in time series. In stateful mode, user can store time series, the stor
Authentication
Sample Requests
Evaluate change point score of every series point
Hover any highlighted part to learn what it does
curl -X POST "https://api.apis.guru/v2/specs/azure.com/cognitiveservices-AnomalyDetector/1.0/timeseries/changePoint/detect"
import requests
response = requests.post(
"https://api.apis.guru/v2/specs/azure.com/cognitiveservices-AnomalyDetector/1.0/timeseries/changePoint/detect",
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/azure.com/cognitiveservices-AnomalyDetector/1.0/timeseries/changePoint/detect';
const response = await fetch(url, {
method: 'POST',
});
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
)
func main() {
targetURL := "https://api.apis.guru/v2/specs/azure.com/cognitiveservices-AnomalyDetector/1.0/timeseries/changePoint/detect"
req, _ := http.NewRequest("POST", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/azure.com/cognitiveservices-AnomalyDetector/1.0/timeseries/changePoint/detect")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Post.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/azure.com/cognitiveservices-AnomalyDetector/1.0/timeseries/changePoint/detect";
$opts = ["http" => [
"method" => "POST",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));This operation generates a model using an entire series, each point is detected with the same model. With this method, points before and after a certain point are used to determine whether it is an anomaly. The entire detection can give user an overall status of the time series.
Hover any highlighted part to learn what it does
curl -X POST "https://api.apis.guru/v2/specs/azure.com/cognitiveservices-AnomalyDetector/1.0/timeseries/entire/detect"
import requests
response = requests.post(
"https://api.apis.guru/v2/specs/azure.com/cognitiveservices-AnomalyDetector/1.0/timeseries/entire/detect",
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/azure.com/cognitiveservices-AnomalyDetector/1.0/timeseries/entire/detect';
const response = await fetch(url, {
method: 'POST',
});
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
)
func main() {
targetURL := "https://api.apis.guru/v2/specs/azure.com/cognitiveservices-AnomalyDetector/1.0/timeseries/entire/detect"
req, _ := http.NewRequest("POST", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/azure.com/cognitiveservices-AnomalyDetector/1.0/timeseries/entire/detect")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Post.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/azure.com/cognitiveservices-AnomalyDetector/1.0/timeseries/entire/detect";
$opts = ["http" => [
"method" => "POST",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));This operation generates a model using points before the latest one. With this method, only historical points are used to determine whether the target point is an anomaly. The latest point detecting operation matches the scenario of real-time monitoring of business metrics.
Hover any highlighted part to learn what it does
curl -X POST "https://api.apis.guru/v2/specs/azure.com/cognitiveservices-AnomalyDetector/1.0/timeseries/last/detect"
import requests
response = requests.post(
"https://api.apis.guru/v2/specs/azure.com/cognitiveservices-AnomalyDetector/1.0/timeseries/last/detect",
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/azure.com/cognitiveservices-AnomalyDetector/1.0/timeseries/last/detect';
const response = await fetch(url, {
method: 'POST',
});
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
)
func main() {
targetURL := "https://api.apis.guru/v2/specs/azure.com/cognitiveservices-AnomalyDetector/1.0/timeseries/last/detect"
req, _ := http.NewRequest("POST", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/azure.com/cognitiveservices-AnomalyDetector/1.0/timeseries/last/detect")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Post.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/azure.com/cognitiveservices-AnomalyDetector/1.0/timeseries/last/detect";
$opts = ["http" => [
"method" => "POST",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Postman Setup Guide
- See official documentation for authentication and setup.
What can you build with Anomaly Detector Client?
Anomaly Detector Client is a Cloud API. Developers commonly use cloud APIs for:
- provisioning and managing cloud infrastructure
- automating deployments and container orchestration
- monitoring uptime and performance metrics
- managing storage buckets and databases
- setting up auto-scaling and load balancing
No authentication required. This API is open — no signup or key needed. Ideal for quick prototypes and public-facing features. Anomaly Detector Client is free to use, making it a low-risk choice to experiment with.
New to APIs? Read our beginner's guide · Learn about API keys · What is REST?