Skip to main content
Quick Answer: The FAII API lets you access all your monitoring data programmatically. Available on Professional and Enterprise plans. Use it for custom dashboards, automated reporting, or integration with other tools.

What You’ll Learn

  • What the API provides
  • How to authenticate
  • Available endpoints
  • Rate limits and best practices

API Availability

PlanAPI AccessRate Limit
StarterN/A
Professional100 requests/hour
Enterprise1,000 requests/hour

Authentication

API Key

  1. Go to Account > API in your dashboard
  2. Click Generate API Key
  3. Copy the key (shown once)
  4. Use in the Authorization header:
Authorization: Bearer your-api-key-here
Keep your API key secret. Don’t commit it to code repositories, share in public channels, or expose in client-side code. Treat it like a password.

Regenerating keys

If your key is compromised:
  1. Go to Account > API
  2. Click Regenerate Key
  3. Old key is immediately invalidated
  4. Update all integrations with the new key

Available Endpoints

Campaign Data

EndpointMethodReturns
/api/campaignsGETList all campaigns
/api/campaigns/{id}GETCampaign details
/api/campaigns/{id}/sessionsGETAll session data
/api/campaigns/{id}/keywordsGETKeyword list and performance
/api/campaigns/{id}/competitorsGETCompetitor data

Intelligence Data

EndpointMethodReturns
/api/campaigns/{id}/chatGETChat Intelligence results
/api/campaigns/{id}/serpGETSERP Intelligence results
/api/campaigns/{id}/scoreGETAI Authority Rank and components
/api/campaigns/{id}/gapsGETPublishing opportunities

AI Website Analytics

EndpointMethodReturns
/api/analytics/bot-visitsGETBot visit data
/api/analytics/pagesGETPage-level analytics

Technical Audit

EndpointMethodReturns
/api/audit/latestGETMost recent audit results
/api/audit/historyGETAll audit results

Response Format

All responses are JSON:
{
  "status": "success",
  "data": {
    "campaign_id": "abc-123",
    "score": 52,
    "components": {
      "chat": 48,
      "serp": 55,
      "sentiment": 62,
      "competitive": 45
    },
    "last_session": "2025-01-20T06:00:00Z"
  }
}

Error responses

{
  "status": "error",
  "message": "Rate limit exceeded",
  "code": 429
}

Common Use Cases

Custom dashboards

Build your own visualization of FAII data:
  • Pull score data into Tableau or Data Studio
  • Create client-specific dashboard views
  • Combine with other marketing metrics

Automated reporting

Generate reports on your schedule:
  • Pull data and format as PDF/email
  • Send weekly summaries to stakeholders
  • Integrate with Slack or Teams notifications

CI/CD integration

Monitor AI visibility as part of your development workflow:
  • Check technical audit grade in CI pipeline
  • Alert on score drops after deployments
  • Track content impact after publishes

Multi-client management

For agencies with multiple campaigns:
  • Aggregate data across all clients
  • Build white-label portals
  • Automate client reporting

Rate Limits

PlanLimitWindow
Professional100 requestsPer hour
Enterprise1,000 requestsPer hour

Handling rate limits

When rate limited, the API returns:
  • HTTP 429 status code
  • Retry-After header with seconds to wait
  • Error message in response body
Best practices:
  • Cache responses when possible
  • Use webhooks instead of polling (Enterprise)
  • Batch requests where possible
  • Implement exponential backoff

Webhooks (Enterprise)

Instead of polling the API, receive notifications:
EventTriggered When
session.completeA monitoring session finishes
score.changedAI Authority Rank changes
displacement.detectedCompetitive displacement occurs
gap.newNew publishing opportunity identified
audit.completeTechnical audit finishes
Configure webhooks in Account > API > Webhooks.

Tips

  • Start with the score endpoint - Simplest way to verify your integration works
  • Cache aggressively - Data only changes after sessions run (weekly)
  • Use pagination - Large data sets return paginated results
  • Monitor your usage - Check rate limit headers in responses
  • Secure your key - Use environment variables, never hardcode

Usage Limits

Understanding plan limits

Account Settings

Manage your account