Comprehensive guide to integrating with Unified AnalytiX APIs
The Unified AnalytiX API provides programmatic access to your marketplace data, analytics, and reporting features. Our RESTful API uses standard HTTP methods and returns JSON responses.
API Status: Currently in development. Full API access will be available with your subscription plan.
https://api.unifiedanalytix.com/v1
All API requests require authentication using API keys. You can generate API keys from your dashboard settings.
curl -H "Authorization: Bearer YOUR_API_KEY" \
https://api.unifiedanalytix.com/v1/analytics
Security: Keep your API keys secure and never expose them in client-side code.
GET /analytics
Retrieve analytics data for connected marketplaces
GET /connections
POST /connections
DELETE /connections/{id}
Manage marketplace and database connections
GET /reports
POST /reports/generate
Generate and retrieve custom reports
Webhooks allow you to receive real-time notifications when events occur in your account.
{
"event": "data.sync.completed",
"timestamp": "2024-01-15T10:30:00Z",
"data": {
"connection_id": "conn_123",
"marketplace": "amazon",
"records_processed": 1250
}
}
const axios = require('axios');
const apiKey = 'your_api_key_here';
const baseURL = 'https://api.unifiedanalytix.com/v1';
async function getAnalytics() {
try {
const response = await axios.get(`${baseURL}/analytics`, {
headers: {
'Authorization': `Bearer ${apiKey}`,
'Content-Type': 'application/json'
}
});
console.log(response.data);
} catch (error) {
console.error('Error:', error.response.data);
}
}
import requests
api_key = 'your_api_key_here'
base_url = 'https://api.unifiedanalytix.com/v1'
headers = {
'Authorization': f'Bearer {api_key}',
'Content-Type': 'application/json'
}
response = requests.get(f'{base_url}/analytics', headers=headers)
if response.status_code == 200:
data = response.json()
print(data)
else:
print(f'Error: {response.status_code}')
Need help with the API? We're here to assist you.