curl --request GET \
--url https://api.godiligent.ai/blocked-companies \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.godiligent.ai/blocked-companies"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://api.godiligent.ai/blocked-companies', 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.godiligent.ai/blocked-companies",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-KEY: <api-key>"
],
]);
$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.godiligent.ai/blocked-companies"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-KEY", "<api-key>")
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.godiligent.ai/blocked-companies")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.godiligent.ai/blocked-companies")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_body[
{
"id": "bc-a91a8416-0a38",
"reason": "Fraudulent activity",
"blocked_at": "2025-01-15T12:30:45Z",
"website": "example.com",
"email": "contact@example.com",
"legal_name": "Example Company Ltd",
"address": "123 Example Street, City",
"country_code": "DE",
"vat_number": "BE09999999XX",
"register_number": "123456789",
"notes": "Multiple reports of fraud from customers",
"external_id": "cust-12345"
}
]List blocked companies
List all blocked companies by various data points
curl --request GET \
--url https://api.godiligent.ai/blocked-companies \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.godiligent.ai/blocked-companies"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://api.godiligent.ai/blocked-companies', 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.godiligent.ai/blocked-companies",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-KEY: <api-key>"
],
]);
$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.godiligent.ai/blocked-companies"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-KEY", "<api-key>")
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.godiligent.ai/blocked-companies")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.godiligent.ai/blocked-companies")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_body[
{
"id": "bc-a91a8416-0a38",
"reason": "Fraudulent activity",
"blocked_at": "2025-01-15T12:30:45Z",
"website": "example.com",
"email": "contact@example.com",
"legal_name": "Example Company Ltd",
"address": "123 Example Street, City",
"country_code": "DE",
"vat_number": "BE09999999XX",
"register_number": "123456789",
"notes": "Multiple reports of fraud from customers",
"external_id": "cust-12345"
}
]Authorizations
Query Parameters
Filter by register_number
Response
List of blocked companies
Unique identifier for the blocked company record
"bc-a91a8416-0a38"
The reason for blocking the company
"Fraudulent activity"
When the company was blocked
"2025-01-15T12:30:45Z"
The website of the business (if provided)
"example.com"
The email of the business (if provided)
"contact@example.com"
The legal name of the business (if provided)
"Example Company Ltd"
The address of the business (if provided)
"123 Example Street, City"
Country code in ISO 3166-1 alpha-2 format (if provided)
"DE"
The VAT number of the business (if provided)
"BE09999999XX"
The registry number of the business (if provided)
"123456789"
Additional notes about the block
"Multiple reports of fraud from customers"
Reference ID from the customer's system (if provided)
"cust-12345"