Getting Started
Unified Data Service API documentation for developers
Overview
This documentation provides developers with a unified API specification covering the following modules:
- TikTok Video API: Search videos, get video details, comments, replies, user search, and ad details.
- Meta Ad Library API: Search and retrieve Meta (Facebook/Instagram) ad library data.
- Amazon Product API: Search products and get product details on Amazon.
All endpoints are unified โ you don't need to worry about underlying data sources. Just follow this documentation to integrate.
Authentication
All API requests require authentication via an API key. Include the Authorization header with a Bearer Token in every request.
Authorization: Bearer YOUR_API_KEYKeep your API key secure. Never expose it in client-side code or public repositories. If compromised, reset it immediately in the developer dashboard.
Base URL
All endpoints use the following base URL:
https://api.apimux.io/v1Response Format
All endpoints return JSON with a unified outer structure:
{
"code": 200,
"message": "success",
"data": { ... }
}| Field | Type | Description |
|---|---|---|
code | number | Status code. 200 indicates success. |
message | string | Status description. |
data | object | Business data payload. Structure varies by endpoint. |
Error Codes
| Code | Description |
|---|---|
400 | Invalid request parameters. |
401 | Authentication failed. Invalid or expired API key. |
429 | Rate limit exceeded. Reduce request frequency and retry. |
500 | Internal server error. Retry later or contact support. |
APIMUX Docs