Verify Certified Entity by ID
Verify Certified Entity by ID
GET
/certified-entities/{icsce_id}
Fields that are marked with an asterisk (*
) are mandatory.
Certified Entity Requirements:
The API requires the
icsce_id
of a Certified Entity.Multiple Certified Entities can be verified in one request by providing a comma separated string value for
icsce_id
.The maximum number of
icsce_id
that this endpoint accepts is 100.
Response value:
The API will return matched Certified Entity records with its Certificates.
Headers
Content-Type*
String
application/json
x-http-authorization*
String
API Key received from https://www.iafcertsearch.org/api-verification
Example:
x-http-authorization: <<API KEY>>
Parameters
icsce_id*
String
The ID of the Company or Certified Entity.
Example:
mdbce_KMi1zsb9CH2EorSzOJ9YEgtV
To verify multiple Companies using their IDs, separate them with comma ( , ).
Example:
mdbce_KMi1zsb9CH2EorSzOJ9YEgtV,mdbce_KMi1zsb9CH2EorSzOJ9YEgtV
The maximum number of IDs that this endpoint accepts is 100.
Requests
curl --location --globoff --request GET '{API-URL}/certified-entities/{icsce_id}' \
--header 'x-http-authorization: <API_KEY>' \
--header 'Content-Type: application/json'
require "uri"
require "json"
require "net/http"
url = URI("{API_URL}/certified-entities/{icsce_id}")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::Get.new(url)
request["x-http-authorization"] = "<API_KEY>"
request["Content-Type"] = "application/json"
response = http.request(request)
puts response.read_body
import http.client
import json
conn = http.client.HTTPConnection("{API_URL}")
payload = ''
headers = {
'x-http-authorization': '<API_KEY>',
'Content-Type': 'application/json'
}
conn.request("GET", "/certified-entities/{icsce_id}", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => '{API_URL}/certified-entities/{icsce_id}',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'x-http-authorization: <API_KEY>',
'Content-Type: application/json'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
OkHttpClient client = new OkHttpClient().newBuilder()
.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "");
Request request = new Request.Builder()
.url("{API_URL}/certified-entities/{icsce_id}")
.method("GET", body)
.addHeader("x-http-authorization", "<API_KEY>")
.addHeader("Content-Type", "application/json")
.build();
Response response = client.newCall(request).execute();
const axios = require('axios');
let config = {
method: 'get',
maxBodyLength: Infinity,
url: '{API_URL}/certified-entities/{icsce_id}',
headers: {
'x-http-authorization': '<API_KEY>',
'Content-Type': 'application/json'
}
};
axios.request(config)
.then((response) => {
console.log(JSON.stringify(response.data));
})
.catch((error) => {
console.log(error);
});
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{API_URL}/certified-entities/{icsce_id}"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("x-http-authorization", "<API_KEY>")
req.Header.Add("Content-Type", "application/json")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := io.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
var options = new RestClientOptions("{API_URL}")
{
MaxTimeout = -1,
};
var client = new RestClient(options);
var request = new RestRequest("/certified-entities/{icsce_id}", Method.Get);
request.AddHeader("x-http-authorization", "<API_KEY>");
request.AddHeader("Content-Type", "application/json");
RestResponse response = await client.ExecuteAsync(request);
Console.WriteLine(response.Content);
Responses
{
"data": {
"icsce_id": string,
"matched_certified_entity_name": string,
"match_status": string,
"match_type": string,
"certified_entity_english_name": string,
"certified_entity_trading_name": string,
"country": string,
"certificates": [
{
"icscert_id": string,
"accreditation_bodies_name": string,
"certification_bodies_name": string,
"certification_number": string,
"certification_status": string,
"certification_scope": string,
"certification_standards_scheme": [
{
"standard_name": string,
"scheme_name": string,
"is_accredited_mla": boolean
}
],
"certification_main_sites": [
{
"street": string,
"city": string,
"state": string,
"post_code": string,
"full_address": string,
"scope": string,
"country": string
}
],
"certification_additional_sites": [
{
"street": string,
"city": string,
"state": string,
"post_code": string,
"full_address": string,
"scope": string,
"country": string
}
],
"certification_sectors": [
{
"sector_name": string,
"sector_code": string
}
],
"updated_at": integer
}
]
}
}
{
"data": {
"icsce_id": string,
"matched_certified_entity_name": string,
"match_status": string,
"match_type": string,
"certified_entity_english_name": "Confidential",
"certified_entity_trading_name": "Confidential",
"country": string,
"certificates": [
{
"icscert_id": string,
"accreditation_bodies_name": string,
"certification_bodies_name": string,
"certification_number": string,
"certification_status": string,
"certification_scope": string,
"certification_standards_scheme": [
{
"standard_name": string,
"scheme_name": string,
"is_accredited_mla": boolean
}
],
"certification_main_sites": [
{
"street": string,
"city": string,
"state": string,
"post_code": string,
"full_address": string,
"scope": string,
"country": string
}
],
"certification_additional_sites": [
{
"street": string,
"city": string,
"state": string,
"post_code": string,
"full_address": string,
"scope": string,
"country": string
}
],
"certification_sectors": [
{
"sector_name": string,
"sector_code": string
}
],
"updated_at": integer
}
]
}
}
{
"data": [
{
"icsce_id": string,
"matched_certified_entity_name": string,
"match_status": string,
"match_type": string,
"certified_entity_english_name": string,
"certified_entity_trading_name": string,
"country": string,
"certificates": [
{
"icscert_id": string,
"accreditation_bodies_name": string,
"certification_bodies_name": string,
"certification_number": string,
"certification_status": string,
"certification_scope": string,
"certification_standards_scheme": [
{
"standard_name": string,
"scheme_name": string,
"is_accredited_mla": boolean
}
],
"certification_main_sites": [
{
"street": string,
"city": string,
"state": string,
"post_code": string,
"full_address": string,
"scope": string,
"country": string
}
],
"certification_additional_sites": [
{
"street": string,
"city": string,
"state": string,
"post_code": string,
"full_address": string,
"scope": string,
"country": string
}
],
"certification_sectors": [
{
"sector_name": string,
"sector_code": string
}
],
"updated_at": integer
}
]
}
]
}
{
"data": []
}
{
"type": "string",
"title": "Unauthorized access.",
"status": 401,
"detail": "Authentication failed due to invalid credentials or missing token.",
"instance": "/certified-entities/{icsce_id}",
"code": "unauthorized"
}
{
"type": "string",
"title": "Forbidden access.",
"status": 403,
"detail": "You do not have access to this resource.",
"instance": "/certified-entities/{icsce_id}",
"code": "forbidden"
}
{
"type": "string",
"title": "Resource not found.",
"status": 404,
"detail": "Certified Entity not found in IAFCertSearch.",
"instance": "/certified-entities/{icsce_id}",
"code": "not_found"
}
Last updated