Trillboards Intent Catalog API
Intent-based pricing catalog for audience purchase intent signals. Browse intent categories and get real-time intent pricing for screens based on live audience signals (speech, emotion, behavior).
Intent-based pricing catalog for audience purchase intent signals. Browse intent categories and get real-time intent pricing for screens based on live audience signals (speech, emotion, behavior).
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/trillboards-com:trillboards-com-intent-catalog-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Trillboards Partner Intent Catalog API
version: 1.1.0
description: 'API for partner integrations with Trillboards digital advertising platform.
Use this API to integrate ads into your vending machines, kiosks, digital signage,
and other display devices. Partners receive competitive revenue share on all impressions.
## Authentication
Most endpoints require API key authentication using Bearer token:
```
Authorization: Bearer trb_partner_xxxxx
```
API keys are generated during partner registration and should be stored securely.
## Rate Limits
All endpoints return rate limit headers:
- `X-RateLimit-Limit`: Maximum requests allowed per window
- `X-RateLimit-Remaining`: Requests remaining in current window
- `X-RateLimit-Reset`: Unix timestamp when window resets
- `RateLimit-Policy`: IETF draft-7 format policy string
Rate limits by endpoint type:
| Endpoint Type | Limit | Window |
|--------------|-------|--------|
| Registration | 5 | 1 hour |
| Authenticated API | 1000 | 1 minute |
| Ad serving | 100 | 1 minute |
| Impressions | 500 | 1 minute |
| Programmatic events | 300 | 1 minute |
| Batch impressions | 100 | 1 minute |
| Heartbeat | 60 | 1 minute |
| Venue intelligence | 100 | 1 minute |
| Audience intelligence | 100 | 1 minute |
| Bulk device operations | 20 | 1 minute |
Exceeding rate limits returns HTTP 429 with a `Retry-After` header.
## Quick Start
**Option A: New Partner Registration**
1. Register as a partner via `POST /register` (returns API key)
2. Register your devices
3. Load the `embed_url` in your device''s WebView or use `/device/{id}/ads` in custom UI
4. Impressions are tracked automatically
**Option B: Existing Earner Upgrade**
If you already have a Trillboards earner account:
1. Call `POST https://api.trillboards.com/v2/earner/upgrade-to-partner` with your user JWT
2. Receive your Partner API key (one-time display - save it!)
3. Your existing screens remain visible alongside new API-registered screens
## SDK
Install the official TypeScript SDK for type-safe integration:
```
npm install @trillboards/ads-sdk
```
The SDK provides 4 entry points:
- `@trillboards/ads-sdk` — Core browser SDK with ad player, events, and caching
- `@trillboards/ads-sdk/react` — React hooks and components (TrillboardsProvider, TrillboardsAdSlot)
- `@trillboards/ads-sdk/react-native` — React Native WebView wrapper
- `@trillboards/ads-sdk/server` — Node.js PartnerClient with audience, analytics, auctions, creatives
Full documentation: https://trillboards.com/developers/partner-sdk'
contact:
name: Trillboards Developer Support
email: developers@trillboards.com
url: https://trillboards.com/developers
license:
name: Proprietary
url: https://trillboards.com/terms-of-service
servers:
- url: https://api.trillboards.com/v1/partner
description: Production API
- url: http://localhost:4004/v1/partner
description: Local development
tags:
- name: Intent Catalog
description: 'Intent-based pricing catalog for audience purchase intent signals.
Browse intent categories and get real-time intent pricing for screens
based on live audience signals (speech, emotion, behavior).'
x-beta: true
paths:
/intent/categories:
get:
tags:
- Intent Catalog
summary: List intent categories
description: 'Returns the catalog of purchase intent categories with CPM multipliers
and matching thresholds.'
operationId: listIntentCategories
x-beta: true
security:
- BearerAuth: []
responses:
'200':
description: Intent categories
content:
application/json:
schema:
type: object
properties:
object:
type: string
example: list
data:
type: array
items:
type: object
properties:
id:
type: string
example: active_purchase_intent
name:
type: string
example: Active Purchase Intent
description:
type: string
premium_multiplier:
type: number
description: CPM multiplier applied when this intent is detected
example: 5.0
min_intent_score:
type: number
description: Minimum intent score to match this category
example: 0.8
purchase_stages:
type: array
items:
type: string
enum:
- READY_TO_BUY
- COMPARING
- CONSIDERING
- BROWSING
count:
type: integer
'401':
$ref: '#/components/responses/Unauthorized'
/intent/categories/{categoryId}:
get:
tags:
- Intent Catalog
summary: Get intent category details
description: Returns detailed information about a specific intent category including triggers.
operationId: getIntentCategory
x-beta: true
security:
- BearerAuth: []
parameters:
- name: categoryId
in: path
required: true
schema:
type: string
example: active_purchase_intent
responses:
'200':
description: Intent category details
content:
application/json:
schema:
type: object
properties:
object:
type: string
example: intent_category
id:
type: string
name:
type: string
description:
type: string
triggers:
type: array
items:
type: string
premium_multiplier:
type: number
min_intent_score:
type: number
purchase_stages:
type: array
items:
type: string
iab_segments:
type: array
items:
type: object
'401':
$ref: '#/components/responses/Unauthorized'
'404':
description: Intent category not found
/intent/pricing/{screenId}:
get:
tags:
- Intent Catalog
summary: Get intent-based pricing for a screen
description: 'Returns real-time intent-based pricing for a specific screen based on
current audience signals (speech, emotion, behavior). Includes the detected
intent category, purchase stage, and premium CPM.'
operationId: getIntentPricing
x-beta: true
security:
- BearerAuth: []
parameters:
- name: screenId
in: path
required: true
schema:
type: string
responses:
'200':
description: Intent pricing data
content:
application/json:
schema:
type: object
properties:
object:
type: string
example: intent_pricing
screen_id:
type: string
current_intent:
type: object
properties:
score:
type: number
description: Intent confidence score (0-1)
purchase_stage:
type: string
enum:
- NONE
- BROWSING
- CONSIDERING
- COMPARING
- READY_TO_BUY
categories:
type: array
items:
type: string
should_trigger:
type: boolean
description: Whether an ad swap should be triggered
category_match:
type:
- object
- 'null'
properties:
category_id:
type: string
category_name:
type: string
premium_multiplier:
type: number
intent_score:
type: number
purchase_stage:
type: string
pricing:
type: object
properties:
base_cpm:
type: number
premium_multiplier:
type: number
intent_cpm:
type: number
description: Effective CPM after intent premium
intent_premium:
type: number
description: Additional CPM from intent detection
category_id:
type: string
category_name:
type: string
'400':
description: Invalid screen ID
'401':
$ref: '#/components/responses/Unauthorized'
'404':
description: Screen not found
components:
schemas:
Error:
type: object
properties:
success:
type: boolean
example: false
message:
type: string
error:
type: string
responses:
Unauthorized:
description: Unauthorized - Invalid or missing API key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
success: false
message: API key required
securitySchemes:
BearerAuth:
type: http
scheme: bearer
description: 'API key authentication. Include your API key as a Bearer token:
```
Authorization: Bearer trb_partner_xxxxx
```
'
UserJWT:
type: http
scheme: bearer
description: 'User JWT authentication for earner-to-partner upgrade.
Used only for the `/v2/earner/upgrade-to-partner` endpoint.
This is the same JWT token used for the Earner Portal.
'