Syndication Data API

Access comprehensive syndication performance metrics and analytics

API Endpoint

GET /api/data

Retrieve syndication performance data for specified date ranges

Parameters:
Parameter Type Required Description Example
start string Yes Start date in YYYY-MM-DD format 2025-07-12
end string Yes End date in YYYY-MM-DD format 2025-07-14
format string No Output format: json or csv (default: json) json

Data Overview

The API provides access to syndication performance metrics including:

  • Performance Metrics: RPM (Revenue Per Mille) and net revenue data
  • Search Analytics: Total searches, bidded searches, and click metrics
  • Market Segmentation: Data organized by market and device type
  • Date Range Filtering: Flexible date-based queries for historical analysis
  • Multiple Formats: Data available in JSON or CSV format for easy integration

API Testing

Example Usage

JSON Response:
GET /api/data?start=2025-07-12&end=2025-07-14&format=json
CSV Download:
GET /api/data?start=2025-07-12&end=2025-07-14&format=csv
cURL Example:
curl "http://localhost:5000/api/data?start=2025-07-12&end=2025-07-14&format=json"

Response Schema

JSON Response Fields:
Field Type Description
date string Date of the record (YYYY-MM-DD)
market string Market identifier (e.g., 'us', 'ca', 'de')
device string Device type (e.g., 'PC', 'Mobile')
type_tag string Campaign type identifier
rpm number Revenue per mille (RPM)
searches number Total number of searches
bidded_searches number Number of searches with bids
bidded_clicks number Number of clicks on bidded searches
revenue number Net revenue generated