API Documentation

Comprehensive guide to integrating with Unified AnalytiX APIs

Getting Started

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.

Base URL

https://api.unifiedanalytix.com/v1

Rate Limits

  • Starter Plan: 100 requests/hour
  • Professional Plan: 1,000 requests/hour
  • Enterprise Plan: 10,000 requests/hour

Authentication

All API requests require authentication using API keys. You can generate API keys from your dashboard settings.

API Key Authentication

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.

API Endpoints

Analytics Data

GET /analytics

Retrieve analytics data for connected marketplaces

Marketplace Connections

GET /connections

POST /connections

DELETE /connections/{id}

Manage marketplace and database connections

Reports

GET /reports

POST /reports/generate

Generate and retrieve custom reports

Supported Data Sources

Marketplaces

  • Amazon Seller Central
  • Shopify
  • Walmart Marketplace

Data Warehouses

  • Snowflake
  • Google BigQuery
  • Amazon Redshift

NoSQL Databases

  • MongoDB
  • DynamoDB
  • Cassandra

SQL Databases

  • PostgreSQL
  • MySQL
  • SQL Server

Webhooks

Webhooks allow you to receive real-time notifications when events occur in your account.

Supported Events

  • Data sync completed
  • Connection status changed
  • Report generated
  • Alert triggered

Webhook Payload Example

{
  "event": "data.sync.completed",
  "timestamp": "2024-01-15T10:30:00Z",
  "data": {
    "connection_id": "conn_123",
    "marketplace": "amazon",
    "records_processed": 1250
  }
}

Code Examples

JavaScript/Node.js

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);
  }
}

Python

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}')

Support

Need help with the API? We're here to assist you.

Email Support

Get help from our technical team

support@unifiedanalytix.com

Status Page

Check API status and uptime

View Status Page