Skip to main content
API Reference

MeasureLLM API

Integrate AI visibility data into your applications, dashboards, and workflows

API Features

RESTful API

Clean, predictable REST endpoints following industry standards

Secure Authentication

API key authentication with optional OAuth 2.0 support

JSON Responses

All responses in clean, well-documented JSON format

Webhooks

Real-time notifications for visibility changes and alerts

Quick Example

Get visibility data with a single API call

Request
curl -X GET "https://api.measurellm.com/api/v1/visibility" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"
Response
{
  "data": [
    {
      "keyword_id": "kw_123",
      "keyword": "best crm software",
      "visibility_score": 78,
      "mentions": 45,
      "citations": 12,
      "platforms": {
        "chatgpt": 82,
        "claude": 75,
        "perplexity": 80,
        "gemini": 71
      },
      "trend": "+12%",
      "updated_at": "2024-01-15T10:30:00Z"
    }
  ],
  "meta": {
    "total": 25,
    "page": 1,
    "per_page": 10
  }
}

API Endpoints

Core endpoints for accessing your visibility data

GET/api/v1/keywordsKeywords
List all keywords for your account
POST/api/v1/keywordsKeywords
Add a new keyword to track
GET/api/v1/visibilityVisibility
Get visibility scores for all keywords
GET/api/v1/visibility/{keyword_id}Visibility
Get visibility data for a specific keyword
GET/api/v1/mentionsMentions
Get brand mention data
GET/api/v1/citationsCitations
Get citation tracking data
GET/api/v1/competitorsCompetitors
Get competitor comparison data
POST/api/v1/webhooksWebhooks
Register a webhook for alerts

Authentication & Security

Secure your API requests with API keys and advanced security features

API Key Authentication

Include your API key in the Authorization header of all requests:

Authorization: Bearer YOUR_API_KEY

Security Note: Never expose your API key in client-side code. Always make API calls from your server.

IP Whitelisting

Restrict API access to specific IP addresses

Domain Whitelisting

Restrict browser requests to specific domains

Ready to integrate?

Get your API key and start building with MeasureLLM data