Developer Docs
Simple, Powerful API
Integrate AI-powered review analysis into your application with just a few lines of code.
SDK Installation
Quick Start
example.js
import { ReviuCheck } from 'reviucheck-sdk';
const reviu = new ReviuCheck(process.env.REVIUCHECK_API_KEY);
// Analyze a review
const result = await reviu.analyze({
text: "Amazing product! Fast delivery and great quality.",
language: "auto"
});
console.log(result.sentiment); // "positive"
console.log(result.confidence); // 0.98
console.log(result.aiResponse); // Auto-generated replyAPI Endpoints
POST
/v1/analyzeAnalyze a single review for sentiment, emotion, and intent.
Request:
{
"text": "Your review text here",
"language": "auto",
"options": {
"sentiment": true,
"emotion": true,
"sarcasm_detection": true
}
}Response:
{
"sentiment": "positive",
"confidence": 0.98,
"emotion": {
"joy": 0.92,
"anger": 0.01,
"sadness": 0.02
},
"ai_response": "Thank you for your wonderful feedback!"
}POST
/v1/batch-analyzeAnalyze multiple reviews in a single request. Up to 100 reviews per batch.
Request:
{
"reviews": [
{ "text": "Great product!", "id": "1" },
{ "text": "Could be better", "id": "2" }
],
"language": "auto"
}Response:
{
"results": [
{
"id": "1",
"sentiment": "positive",
"confidence": 0.99
},
{
"id": "2",
"sentiment": "neutral",
"confidence": 0.87
}
]
}GET
/v1/usageGet your current credit usage and remaining quota.
Response:
{
"total_credits": 5000,
"used_credits": 1234,
"remaining_credits": 3766,
"reset_date": "2026-04-01T00:00:00Z"
}Authentication
All API requests require authentication via API key. Include your key in the Authorization header:
Authorization: Bearer YOUR_API_KEY
# Or use the X-API-Key header:
X-API-Key: YOUR_API_KEYReady to Start Building?
Get your API key and start integrating today. Free tier includes 1,000 requests.