GhostReview™ API Reference
Integrate AI-powered review analysis into your applications. Detect fake reviews, analyze sentiment, and protect your brand reputation programmatically.
API Access Available for Agency Plan
API access is now available exclusively for Agency plan subscribers. Upgrade to Agency plan to get programmatic access to all GhostReview features with 5,000 requests per month.
Quick Start
Get started with the GhostReview API in minutes
Get your API key
Upgrade to Agency plan, then go to Dashboard → Settings → API Keys
Make your first request
Use POST /api/v1/analyze to scan your first review
Integrate and scale
Build powerful reputation management features into your app (5,000 req/month)
Base URL
https://ghost-review.com/api/v1Authentication
Authorization: Bearer YOUR_API_KEYAPI Endpoints
/api/v1/analyzeAnalyze a review text and get AI-powered suspicion scoring, classification, and summary. This endpoint uses Google Gemini AI to detect fake reviews and provide detailed analysis.
Request
Headers
Content-Type: application/jsonAuthorization: Bearer YOUR_API_KEYBody Parameters
reviewTextstringRequiredThe review text to analyze (max 5000 characters)
platformstringRequiredReview platform: 'google', 'yelp', or 'tripadvisor' (lowercase)
Example Request
curl -X POST https://ghost-review.com/api/v1/analyze \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "reviewText": "Amazing service! Best experience ever!",
    "platform": "google"
  }'Response
Response Fields
successbooleanIndicates if the request was successful
data.reviewIdstringUnique identifier for this analysis
data.suspicionScorenumberSuspicion score from 0-100 (0=authentic, 100=fake)
data.classificationstringClassification: 'Authentic', 'Possibly Manipulated', or 'Likely Fake'
data.summarystringAI-generated summary explaining the analysis
data.criteriaScoresobjectDetailed scoring for emotionRange, specificity, grammar, repetition, toneBalance
data.platformstringThe platform the review was from
data.analyzedAtstringISO 8601 timestamp of analysis
Example Response
{
  "success": true,
  "data": {
    "reviewId": "cm5abc123xyz",
    "suspicionScore": 87,
    "classification": "Likely Fake",
    "summary": "Repetitive phrasing, unnatural tone, excessive enthusiasm without specific details.",
    "criteriaScores": {
      "emotionRange": 85,
      "specificity": 90,
      "grammar": 75,
      "repetition": 95,
      "toneBalance": 88
    },
    "platform": "google",
    "analyzedAt": "2025-01-21T10:30:00.000Z"
  }
}Rate Limits
API rate limits vary by subscription plan
Free Plan
5 scans/month
No API access
Pro Plan
50 scans/month
No API access
Agency Plan
5,000 requests/month
Full API Access
Error Codes
Standard HTTP status codes and error responses
400Bad Request
Invalid request parameters or missing required fields
401Unauthorized
Invalid or missing API key
403Forbidden
API key doesn't have permission for this resource
429Too Many Requests
Rate limit exceeded for your plan
500Internal Server Error
Something went wrong on our end