Skip to main content
Legacy

This hourly T-Values Reporting API is still available if you already have credentials. New reporting should use Programmatic TAP access.

For how to tag clicks (t1, t2, t3) and how they show up in TAP earnings exports, see T-Values (Tracking Tags). Start there unless you actually need this HTTP API.

T-Values Reporting API

Use this only if Talroo gave you a username / password for the legacy JSON pipeline. Everyone else should use the Earnings Report CSV (with optional t1t3) and Tracking Tags.

Credentials

Email publishers@talroo.com for access or rotations. Don't reuse old keys unless we've confirmed this API is still enabled for your publisher id.

Authentication

POST https://nv3xq21kwj.execute-api.us-east-1.amazonaws.com/prod/auth

Request body:

{
"username": "YOUR_USERNAME",
"password": "YOUR_PASSWORD"
}

Response:

{
"id_token": "eyJhbGciOiJIUzI1NiIs...",
"access_token": "eyJhbGciOiJIUzI1NiIs...",
"refresh_token": "eyJhbGciOiJIUzI1NiIs...",
"expires_in": 3600
}

Report Data Endpoint

GET https://0tphaqutzi.execute-api.us-east-1.amazonaws.com/prod/reports/publisher/t_values_date_breakdown

Required headers:

Authorization: Bearer {ID_TOKEN}

Example response:

{
"data_type": "tabular",
"data_timestamp": 1759999999,
"columns": ["Date", "T1", "T2", "T3", "Clicks", "Earnings"],
"data": [
["2022-08-17", "value1", "value2", "value3", 150, 75.50],
["2022-08-16", "value1", "value2", "value3", 200, 100.00]
]
}

Query Parameters

ParameterTypeRequiredDescription
time_rangestringYesTime bucket for retrieval
f_t1integerNo*Include t1 groupings (1 = yes, 0 = no)
f_t2integerNo*Include t2 groupings
f_t3integerNo*Include t3 groupings
f_publisher_idstringNoFilter by Talroo feed identifier
Filters

At least one of f_t1, f_t2, or f_t3 must be 1 or you get empty results. Check TAP after you change filters.

Time Ranges

ValueMeaning
thisfull_dayToday, including the latest hourly update
previous_dayYesterday (UTC, closed)
epoch_start~epoch_endCustom window (epoch_start and epoch_end are UNIX seconds, daily grain)

Example

time_range=1643882400~1643885999

That window is UTC seconds. If it disagrees with TAP, TAP is the number finance uses.

Time zones

Epochs are UTC. TAP often displays US Eastern. Convert before you stitch this to payouts.

Response Shape

Columns appear based on toggles (f_t1, f_t2, f_t3). Clicks and Earnings always accompany whichever tag columns you enabled:

{
"columns": [
"Date",
"T1",
"T2",
"T3",
"Clicks",
"Earnings"
],
"data": [
["2022-08-17", "value1", "value2", "value3", 150, 75.50]
]
}

Error Handling

StatusMeaningWhat to do
200SuccessParse data; validate column order before inserts
401UnauthorizedRegenerate bearer token via /auth
404Not foundRare. Retry a couple of times with backoff.
429ThrottledBack off exponentially; widen intervals between pulls
500Platform issuePause automation and email publishers@talroo.com

The data refreshes a little after minute 45 of each hour. Filter to the tag dimensions (f_tx) you actually report on. Wide queries make large payloads. Refresh ID tokens at least 5 minutes before they expire. Rotate credentials if they're leaked.