Check compliance (free)
curl --request GET \
--url https://api.example.com/v1/compliance/:addressimport requests
url = "https://api.example.com/v1/compliance/:address"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/v1/compliance/:address', 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.example.com/v1/compliance/:address",
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.example.com/v1/compliance/:address"
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.example.com/v1/compliance/:address")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v1/compliance/:address")
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_bodyCompliance Lookup
Check compliance (free)
Free on-chain read mirror — answer ‘is this address/agent verified?’ for any caller.
GET
/
v1
/
compliance
/
:address
Check compliance (free)
curl --request GET \
--url https://api.example.com/v1/compliance/:addressimport requests
url = "https://api.example.com/v1/compliance/:address"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/v1/compliance/:address', 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.example.com/v1/compliance/:address",
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.example.com/v1/compliance/:address"
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.example.com/v1/compliance/:address")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v1/compliance/:address")
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_bodyThe composability moat. Any caller (no key, no payment) can ask “is this agent verified?” The endpoint mirrors
No auth required.
SSIAgentV2.getEffectiveKycTier(agentId) on Base mainnet.
Request
curl https://identity.contra.id/v1/compliance/0x70997970C51812dc3A010C7d01b50e0d17dc79C8
Response · 200
{
"address": "0x70997970…7dc79C8",
"agent_id": 42,
"tier": 1,
"valid_until": 1779000000,
"revoked": false,
"registry": "0x8004A169…a432",
"chain": "base-mainnet"
}
Response · 200 — no agent
{ "address": "0x…", "agent_id": null, "tier": 0, "registry": "0x8004A169…a432" }