AgentBIT
← all tools

Counterparty Risk

Technical risk screening of a company, domain or wallet: identity, DNS, SSL, domain age, reachability.

$0.05
USDC per call · x402
Endpoint
POST /v1/risk/counterparty
MCP name
agentbit.counterparty_risk
Status
active
Latency / uptime (7d)
530 ms · 100%

Call with x402

1. Send the request. 2. Receive 402 with accepts[]. 3. Sign the payment and retry with the X-PAYMENT header.

curl -X POST https://agentbit.app/v1/risk/counterparty \
  -H 'Content-Type: application/json' \
  -d '{"subject":"example.com","subject_type":"domain"}'

Input schema

{
    "type": "object",
    "properties": {
        "subject": {
            "type": "string"
        },
        "subject_type": {
            "type": "string"
        }
    },
    "required": [
        "subject"
    ]
}

Output schema

{
    "type": "object",
    "properties": {
        "risk_score": {
            "type": "number"
        },
        "risk_level": {
            "type": "string"
        },
        "checks": {
            "type": "object",
            "properties": [],
            "required": []
        },
        "evidence": {
            "type": "array",
            "items": {
                "type": "object",
                "properties": [],
                "required": []
            }
        }
    },
    "required": []
}

Code examples

// JavaScript (x402-fetch)
import { wrapFetchWithPayment } from "x402-fetch";
const fetchWithPay = wrapFetchWithPayment(fetch, wallet);
const r = await fetchWithPay("https://agentbit.app/v1/risk/counterparty", {
  method: "POST",
  headers: {"Content-Type": "application/json"},
  body: JSON.stringify({"subject":"example.com","subject_type":"domain"})
});
console.log(await r.json());
# Python (x402 client)
from x402.clients.requests import x402_requests
s = x402_requests(account)
r = s.post("https://agentbit.app/v1/risk/counterparty",
  json={"subject":"example.com","subject_type":"domain"})
print(r.json())
// PHP
$r = Http::withHeaders(['X-PAYMENT' => $signedPayment])
  ->post('https://agentbit.app/v1/risk/counterparty',
    array (
  'subject' => 'example.com',
  'subject_type' => 'domain',
));
$data = $r->json();