Coming Soon

API Documentation

Access AI citation data programmatically. Measure how AI models remember brands across categories.

View Pricing

Quick Start

Authentication

All API requests require a Bearer token in the Authorization header. Get your API key after signing up.

curl -H "Authorization: Bearer YOUR_API_KEY" \
  https://api.llmpagerank.com/v1/brand/stripe.com

Example Request

GET /api/v1/brand/stripe.com
Authorization: Bearer sk_live_...

Example Response

Returns AI citation scores—the percentage of times AI models recommend this brand when asked about relevant categories.

{
  "brandId": 42,
  "domain": "stripe.com",
  "overallScore": 82.3,
  "categoryScores": [
    {
      "category": "Payment Processing",
      "score": 87.5,
      "modelCount": 4,
      "consensus": 92.0,
      "rank": 2
    },
    {
      "category": "E-commerce Platforms",
      "score": 45.2,
      "modelCount": 3,
      "consensus": 78.5,
      "rank": 12
    }
  ],
  "modelScores": [
    { "model": "gpt-4o-mini", "score": 84.1 },
    { "model": "gemini-1.5-flash", "score": 78.2 },
    { "model": "deepseek-chat", "score": 81.8 },
    { "model": "llama-3.1-70b", "score": 85.1 }
  ]
}

Understanding the data: Scores represent citation rates (0-100%). A score of 87.5% means AI models recommend Stripe 87.5% of the time when asked about "Payment Processing".

API Endpoints

GET/api/v1/brand/{domain}

Get brand overview with AI citation scores from all available models.

GET/api/v1/brand/{domain}/categories

Get detailed category breakdown with rankings.

GET/api/v1/brand/{domain}/history

Get historical data showing how AI citation scores changed over time.

GET/api/v1/leaderboard

Get top brands leaderboard. Filter by category.

GET/api/v1/categories

Get all available categories (200+).

Integration Examples

Node.js

const response = await fetch('https://api.llmpagerank.com/v1/brand/stripe.com', {
  headers: { 'Authorization': `Bearer ${process.env.LLMPAGERANK_API_KEY}` }
});

const data = await response.json();
console.log(`Stripe's AI citation rate: ${data.overallScore}%`);

Python

import requests

response = requests.get(
    'https://api.llmpagerank.com/v1/brand/stripe.com',
    headers={'Authorization': f'Bearer {API_KEY}'}
)
data = response.json()
print(f"Stripe's AI citation rate: {data['overallScore']}%")

API Access Coming Soon

Join the waitlist to be notified when API access is available.

Join Waitlist →