Skip to main content

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 the Authorization 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
Rate limit headers are included in all responses:

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

CodeDescription
INVALID_TOKENAPI token is missing or invalid
RATE_LIMIT_EXCEEDEDToo many requests
RESOURCE_NOT_FOUNDRequested resource doesn’t exist
VALIDATION_ERRORRequest validation failed
INTERNAL_ERRORServer error occurred

Pagination

List endpoints support pagination using page 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

  1. Get your API token
  2. Make your first API call
  3. Explore the available endpoints
  4. Integrate with your applications