Content Moderator Client
azure · Cloud
You use the API to scan your content as it is generated. Content Moderator then processes your content and sends the results along with relevant information either back to your systems or to the built-in review tool. You can use this information to take decisions e.g. take it down, send to human judge, etc. When using the API, images need to have a minimum of 128 pixels and a maximum file size of 4MB. Text can be at most 1024 characters long. If the content passed to the text API or the i
Authentication
Sample Requests
Gets all the Image Lists.
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/azure.com/cognitiveservices-ContentModerator/1.0/contentmoderator/lists/v1.0/imagelists"
import requests
response = requests.get(
"https://api.apis.guru/v2/specs/azure.com/cognitiveservices-ContentModerator/1.0/contentmoderator/lists/v1.0/imagelists",
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/azure.com/cognitiveservices-ContentModerator/1.0/contentmoderator/lists/v1.0/imagelists'; const response = await fetch(url); 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-ContentModerator/1.0/contentmoderator/lists/v1.0/imagelists"
req, _ := http.NewRequest("GET", 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-ContentModerator/1.0/contentmoderator/lists/v1.0/imagelists")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/azure.com/cognitiveservices-ContentModerator/1.0/contentmoderator/lists/v1.0/imagelists";
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));gets all the Term Lists
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/azure.com/cognitiveservices-ContentModerator/1.0/contentmoderator/lists/v1.0/termlists"
import requests
response = requests.get(
"https://api.apis.guru/v2/specs/azure.com/cognitiveservices-ContentModerator/1.0/contentmoderator/lists/v1.0/termlists",
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/azure.com/cognitiveservices-ContentModerator/1.0/contentmoderator/lists/v1.0/termlists'; const response = await fetch(url); 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-ContentModerator/1.0/contentmoderator/lists/v1.0/termlists"
req, _ := http.NewRequest("GET", 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-ContentModerator/1.0/contentmoderator/lists/v1.0/termlists")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/azure.com/cognitiveservices-ContentModerator/1.0/contentmoderator/lists/v1.0/termlists";
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Gets all terms from the list with list Id equal to the list Id passed.
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/azure.com/cognitiveservices-ContentModerator/1.0/contentmoderator/lists/v1.0/termlists/{listId}/terms?limit=10&offset=0&language=en"import requests
params = {
"limit": "10",
"offset": "0",
"language": "en"
}
response = requests.get(
"https://api.apis.guru/v2/specs/azure.com/cognitiveservices-ContentModerator/1.0/contentmoderator/lists/v1.0/termlists/{listId}/terms",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/azure.com/cognitiveservices-ContentModerator/1.0/contentmoderator/lists/v1.0/termlists/{listId}/terms');
url.searchParams.set('limit', '10');
url.searchParams.set('offset', '0');
url.searchParams.set('language', 'en');
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/azure.com/cognitiveservices-ContentModerator/1.0/contentmoderator/lists/v1.0/termlists/{listId}/terms")
q := baseURL.Query()
q.Set("limit", "10")
q.Set("offset", "0")
q.Set("language", "en")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", 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-ContentModerator/1.0/contentmoderator/lists/v1.0/termlists/{listId}/terms")
uri.query = URI.encode_www_form({
"limit" => "10",
"offset" => "0",
"language" => "en"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/azure.com/cognitiveservices-ContentModerator/1.0/contentmoderator/lists/v1.0/termlists/{listId}/terms?" . http_build_query([
"limit" => "10",
"offset" => "0",
"language" => "en"
]);
$opts = ["http" => [
"method" => "GET",
]];
$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 Content Moderator Client?
Content Moderator 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. Content Moderator 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?