RESTful API for building AI authority automation, integrations, and custom workflows. Production-ready with authentication, rate limiting, and comprehensive error handling.
https://api.authorityengine.ai/v1
Authorization: Bearer YOUR_API_KEY
curl -X POST https://api.authorityengine.ai/v1/audit/run \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"businessId": "biz_123",
"fullAudit": true
}'
Authority Engine™ uses API keys for authentication. All requests must include your API key in the Authorization header using Bearer authentication.
/audit/run
Trigger a full authority audit
{
"businessId": "biz_123",
"fullAudit": true,
"modules": ["visibility", "trust", "performance", "growth"]
}
{
"success": true,
"data": {
"auditId": "audit_456",
"status": "processing",
"estimatedCompletion": "2026-02-11T15:45:00Z"
},
"metadata": {
"queuePosition": 3,
"requestId": "req_789"
}
}
businessId
(required) - Business identifier
fullAudit
(optional) - Run complete audit
modules
(optional) - Specific pillars to audit
/audit/:auditId
Retrieve audit results and scores
{
"success": true,
"data": {
"auditId": "audit_456",
"businessId": "biz_123",
"status": "completed",
"completedAt": "2026-02-11T15:43:22Z",
"scores": {
"overall": 84,
"visibility": 88,
"trust": 82,
"performance": 79,
"growth": 87
},
"issues": [
{
"id": "issue_1",
"type": "schema_missing",
"severity": "high",
"pillar": "trust",
"title": "Missing LocalBusiness Schema",
"description": "Homepage missing structured data",
"impact": 8,
"effort": 30,
"recommendation": "Add JSON-LD schema markup..."
}
],
"aiModels": {
"chatgpt": { "visible": true, "ranking": 2 },
"gemini": { "visible": true, "ranking": 1 },
"claude": { "visible": true, "ranking": 3 }
}
}
}
/shadow-test
Run multi-LLM shadow testing
{
"businessId": "biz_123",
"prompts": [
"best plumber in Seattle",
"top-rated HVAC company Seattle"
],
"models": ["chatgpt", "gemini", "claude", "perplexity"]
}
{
"success": true,
"data": {
"testId": "test_789",
"results": {
"chatgpt": {
"mentioned": true,
"ranking": 2,
"context": "...ABC Plumbing is highly rated...",
"sentiment": "positive",
"hallucinations": []
},
"gemini": {
"mentioned": true,
"ranking": 1,
"context": "...Top choice: ABC Plumbing...",
"sentiment": "positive",
"hallucinations": []
}
},
"coverage": 0.75,
"averageRanking": 1.5
}
}
/entities
List all entities for a business
/entities
Create a new entity
/entities/:id
Update entity (creates version)
/entities/:id
Delete an entity
/entities/:id/drift
Detect entity drift across web
{
"driftScore": 12,
"inconsistencies": [
{
"field": "phone",
"canonical": "+1-206-555-0100",
"found": "+1-206-555-0199",
"source": "yelp.com"
}
]
}
/entities/:id/schema
Generate schema markup preview
{
"schemaType": "LocalBusiness",
"jsonLd": {
"@context": "https://schema.org",
"@type": "LocalBusiness",
"name": "ABC Plumbing"
}
}
/citations
List citations with filtering by business, status, value score
/citations
Add a new citation manually or import from scan
/citations/opportunities
Find potential citation opportunities based on industry
GET /competitors
List tracked competitors
GET /competitors/:id/compare
Authority comparison & gap analysis
GET /assets
List assets with workflow status
POST /assets/:id/transition
Move asset through workflow stages
Authority Engine™ uses weighted scoring models to compute pillar and overall authority scores. All inputs are normalized to a 0–100 scale.
Overall = (0.3 × 88) + (0.3 × 82) + (0.2 × 79) + (0.2 × 87) =
84.2
% of AI models where business appears for key queries
7/8 models = 87.5
Average ranking across models (normalized inverse)
Avg rank 2 = 100 - (rank × 10)
Number of distinct relevant queries triggering mentions
15/20 queries = 75
Alignment of Name, Address, Phone across sources
95% match = 95
Presence, correctness, completeness of structured data
80% complete = 80
Volume, value, recency of citations
247 citations, avg value 85 = 85
Severity & quantity of issues (inverted for scoring)
Risk 15 → Score 85
Slope of authority score over time (momentum)
+6 points/week = 75
Volatility of authority signals (inverse variance)
Low volatility = 90
Quantity & quality of authority-building content
89 published assets = 85
Campaign activity & response rates
12 campaigns, 40% response = 80
Connected systems & automation depth
5 active integrations = 90
The scoring engine stores both raw inputs and computed outputs for
transparency. Scoring logic is versioned, allowing formulas to
evolve without breaking historical audits. Each audit includes a
scoringVersion
field.
Receive real-time notifications when events occur in your Authority Engine account.
{
"event": "audit.completed",
"timestamp": "2026-02-11T15:43:22Z",
"data": {
"auditId": "audit_456",
"businessId": "biz_123",
"overallScore": 84,
"changes": {
"visibility": +5,
"trust": +3
}
}
}
Connect Authority Engine to 5,000+ apps with no-code automation.
X-RateLimit-LimitX-RateLimit-RemainingX-RateLimit-Reset
{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid businessId format",
"field": "businessId",
"details": "Must be prefixed with 'biz_'"
},
"metadata": {
"requestId": "req_789",
"timestamp": "2026-02-11T15:43:22Z"
}
}
npm install @authorityengine/sdk
pip install authorityengine
composer require authorityengine/sdk
gem install authorityengine