Welcome to ApiTraffic API
The ApiTraffic API provides programmatic access to your API monitoring data, configuration, and analytics. Our REST API is designed to be simple, predictable, and easy to integrate with your existing workflows.Base URL
Authentication
All API requests require authentication using your API token. Include your token in theAuthorization
header:
Rate Limiting
API requests are rate limited to ensure fair usage:- Standard Plan: 1,000 requests per hour
- Pro Plan: 10,000 requests per hour
- Enterprise Plan: Custom limits
Response Format
All API responses are returned in JSON format:Error Handling
Errors are returned with appropriate HTTP status codes and descriptive messages:Common Error Codes
Code | Description |
---|---|
INVALID_TOKEN | API token is missing or invalid |
RATE_LIMIT_EXCEEDED | Too many requests |
RESOURCE_NOT_FOUND | Requested resource doesn’t exist |
VALIDATION_ERROR | Request validation failed |
INTERNAL_ERROR | Server error occurred |
Pagination
List endpoints support pagination usingpage
and limit
parameters:
Filtering and Sorting
Many endpoints support filtering and sorting:SDKs and Libraries
Official SDKs are available for popular languages:- Node.js:
@apitraffic/node-sdk
- Python:
apitraffic-python
- PHP:
apitraffic/php-sdk
- Go:
github.com/apitraffic/go-sdk
Getting Started
- Get your API token
- Make your first API call
- Explore the available endpoints
- Integrate with your applications