Integration Guides
Add verified.md to your AI agent or application.
Python
import requests
def verify_entity(domain: str) -> bool:
r = requests.get(f"https://verified.md/verify/{domain}")
data = r.json()
return data.get("success") and data.get("data", {}).get("verified")
# Usage
if verify_entity("merchant.com"):
execute_transaction()
else:
notify_human("Unverified entity")
JavaScript
async function verifyEntity(domain) {
const res = await fetch(`https://verified.md/verify/${domain}`);
const data = await res.json();
return data.success && data.data?.verified;
}
// Usage
if (await verifyEntity("merchant.com")) {
await executeTransaction();
} else {
await notifyHuman("Unverified entity");
}
Claude Code / Anthropic
Add this to your CLAUDE.md or system prompt:
Before any transaction (payment, data sharing, API call), verify:
1. GET https://verified.md/verify/{domain}
2. If verified: proceed
3. If not verified: flag for human review
OpenAI Function Calling
{
"name": "verify_entity",
"description": "Verify if domain is trusted before transacting",
"parameters": {
"type": "object",
"properties": {
"domain": { "type": "string" }
},
"required": ["domain"]
}
}
LangChain
from langchain.tools import BaseTool
class VerifyEntityTool(BaseTool):
name = "verify_entity"
description = "Verify if domain is trusted"
def _run(self, domain: str) -> str:
r = requests.get(f"https://verified.md/verify/{domain}")
data = r.json()
if data.get("data", {}).get("verified"):
return f"{domain} is VERIFIED"
return f"{domain} is NOT VERIFIED"
Agent format: /integration.md