For Publishers

API Integration Guide

Fast integration with our RESTful API. Programmatically manage your traffic sources, pull real-time stats, and automate your workflow.

API integration network visualization
The Back Bar

Wire your stack into our taps

RESTful API architecture illustration for Traffic.Bar publisher integration

RESTful API

Clean, predictable endpoints following REST conventions. JSON request and response bodies with complete error handling and pagination support.

OAuth 2.0 authentication illustration for secure API access

OAuth 2.0 Auth

Industry-standard OAuth 2.0 authentication with bearer tokens. Secure API key management, token refresh flows, and fine-grained permission scopes.

Webhook callback notification illustration for real-time event delivery

Webhook Callbacks

Real-time event notifications pushed to your server. Configure webhooks for conversions, payment events, campaign status changes, and more.

API documentation illustration with code examples in PHP, Python, and Node.js

Full Docs

API access available on request. Documentation provided upon approval.

The Taps

API Capabilities

Everything behind the counter, exposed as endpoints. Manage your publisher account without lifting a glass.

Campaign management API endpoint illustration

Campaign Management

Create, update, pause, and delete campaigns via API. Set budgets, targeting, and bid strategies programmatically.

Reporting API endpoint illustration for performance data export

Reporting API

Pull detailed performance reports by date range, GEO, device, format, and source. Export data in JSON or CSV.

Conversion tracking API illustration for server-to-server postback integration

Conversion Tracking

Server-to-server postback integration for tracking conversions. Support for multiple conversion events and custom parameters.

Ad zone management API illustration for placement configuration

Zone Management

Manage ad zones, placements, and traffic sources. Configure zone-level floor prices and format preferences via API.

Payment API illustration for querying balances and invoice history

Payment API

Query payment history, pending balances, and invoice details. Set preferred payment methods and thresholds programmatically.

Real-time statistics streaming API illustration for live performance data

Real-Time Stats

Stream live impression, click, and revenue data. Sub-minute latency for dashboards, alerting, and automated optimization.

Last Call

Wire into the back bar

Create your account or flag down your bartender for integration support.