API Documentation
Build with AutiVex API
Integrate verified automotive reviews and trust scores into your applications with our powerful REST API.
Quick Start
1. Get Your API Key
Sign up for an AutiVex account and generate an API key from your dashboard settings.
Go to Dashboard2. Make Your First Request
// Using Bearer Token
const response = await fetch('https://api.autivex.com/v1/businesses', {
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
}
});
const data = await response.json();Authentication
All API requests require authentication using a Bearer token.
Request Headers
Authorization: Bearer YOUR_API_KEY Content-Type: application/json
Security Note: Never expose your API key in client-side code. Always make API calls from your server.
API Endpoints
GET
/api/v1/businessesSearch businesses with filters
querycategorylocationpagelimit
GET
/api/v1/businesses/:idGet business details by ID
id
GET
/api/v1/businesses/:id/reviewsGet reviews for a business
idpagelimitsort
POST
/api/v1/reviewsCreate a new review
businessIdratingtitlecontent
POST
/api/v1/reviews/:id/flagFlag a review for moderation
idreason
Code Examples
Search Businesses
// Search for businesses
const response = await fetch(
'https://api.autivex.com/v1/businesses?' +
new URLSearchParams({
query: 'auto repair',
location: 'Los Angeles, CA',
category: 'SERVICE_CENTER',
limit: '10'
}),
{
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
}
}
);
const { data, meta } = await response.json();
console.log(`Found ${meta.total} businesses`);Create a Review
// Create a review
const response = await fetch('https://api.autivex.com/v1/reviews', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({
businessId: 'clx1234567890',
rating: 5,
title: 'Excellent service!',
content: 'Great experience with this dealership...'
})
});
const { data } = await response.json();Rate Limits
| Plan | Requests/Hour | Requests/Day |
|---|---|---|
| Free | 100 | 1,000 |
| Pro | 1,000 | 10,000 |
| Enterprise | Unlimited | Unlimited |
Need Help with Integration?
Our developer support team is here to help you integrate AutiVex into your application.