No SDK install required. The API is REST. JSON in, JSON out. Below: copy-paste examples in Python, Node, and curl.
curl -X POST https://mentionedinai.com/api/v1/oem/audit \
-H "X-API-Key: mtnd_live_xxxxxxxxxxxx" \
-H "Content-Type: application/json" \
-d '{"business":"Apex HVAC","city":"Providence","state":"RI","trade":"hvac"}'
import requests
resp = requests.post(
"https://mentionedinai.com/api/v1/oem/audit",
headers={"X-API-Key": "mtnd_live_xxxxxxxxxxxx"},
json={
"business": "Apex HVAC",
"city": "Providence",
"state": "RI",
"trade": "hvac",
},
timeout=30,
)
report = resp.json()
print(f"Score: {report['score']}/100 ({report['bracket']})")
print(f"Top competitor: {report['top_competitors'][0]['name']}")
print(f"Share URL: {report['share_url']}")
const res = await fetch("https://mentionedinai.com/api/v1/oem/audit", {
method: "POST",
headers: {
"X-API-Key": "mtnd_live_xxxxxxxxxxxx",
"Content-Type": "application/json",
},
body: JSON.stringify({
business: "Apex HVAC",
city: "Providence",
state: "RI",
trade: "hvac",
}),
});
const report = await res.json();
console.log(`Score: ${report.score}/100`);
curl -H "X-API-Key: mtnd_live_xxx" \ https://mentionedinai.com/api/v1/oem/score/abc123XYZ
Full endpoint reference: /api/docs
Get a key: partnerships@mentionedinai.com