Trillboards Audience Intelligence API

Advanced audience analytics including live data, heatmaps, lookalike screens, and predictions. Some endpoints require Developer or Enterprise tier access.

GitHub OpenAPI

Operations 10

GET /audience/live/{screenId} Get live audience data for a screen #
GET /audience/heatmap Get audience heatmap data #
GET /audience/stats Get audience data statistics #
GET /audience/lookalikes/{screenId} Find lookalike screens #
GET /audience/predict/{screenId} Predict screen audience #
GET /openrtb/v2/audience/lookalike/{screenId} Find lookalike screens #
GET /openrtb/v2/audience/predict/{screenId} Predict audience for a screen and time window #
POST /openrtb/v2/audience/rank-creatives Rank creatives for an audience context #
GET /openrtb/v2/audience/semantic-search Semantic search across audience scene descriptions #
GET /openrtb/v2/audience/semantic-stats Get embedding statistics for semantic search #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/trillboards-com:trillboards-com-audience-intelligence-api"
All apis
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.

Get an API 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 Specification

trillboards-com-audience-intelligence-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Trillboards Com Audience Intelligence API
  version: '1.0'
  description: 'Operations tagged Audience Intelligence across 2 of this provider''s published API definitions: partner-api.yaml, programmatic-api.yaml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.trillboards.com/v1/partner
  description: Production API
- url: http://localhost:4004/v1/partner
  description: Local development
- url: https://api.trillboards.com
  description: Production
- url: http://localhost:4004
  description: Local development
tags:
- name: Audience Intelligence
  description: 'Advanced audience analytics including live data, heatmaps, lookalike screens, and predictions.


    Some endpoints require Developer or Enterprise tier access.'
  x-beta: true
paths:
  /audience/live/{screenId}:
    get:
      tags:
      - Audience Intelligence
      summary: Get live audience data for a screen
      description: 'Returns real-time audience data including face count, attention score, mood,

        demographics, purchase intent, and crowd density. Available to all tiers.'
      operationId: getLiveAudience
      x-beta: true
      security:
      - BearerAuth: []
      parameters:
      - name: screenId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Live audience data
          content:
            application/json:
              schema:
                type: object
                properties:
                  object:
                    type: string
                    example: audience_live
                  screen_id:
                    type: string
                  status:
                    type: string
                    enum:
                    - live
                    - offline
                  audience:
                    type:
                    - object
                    - 'null'
                    description: Null when screen is offline
                    properties:
                      face_count:
                        type: integer
                      attention_score:
                        type: number
                      income_level:
                        type:
                        - string
                        - 'null'
                      mood:
                        type:
                        - string
                        - 'null'
                      lifestyle_segment:
                        type:
                        - string
                        - 'null'
                      emotional_engagement:
                        type:
                        - number
                        - 'null'
                      ad_receptivity:
                        type:
                        - number
                        - 'null'
                      dwell_time_ms:
                        type:
                        - number
                        - 'null'
                      occupancy:
                        type:
                        - string
                        - 'null'
                      noise_level:
                        type:
                        - number
                        - 'null'
                      purchase_intent:
                        type:
                        - string
                        - 'null'
                        enum:
                        - NONE
                        - BROWSING
                        - CONSIDERING
                        - COMPARING
                        - READY_TO_BUY
                        - null
                      crowd_density:
                        type: number
                      dominant_ambience:
                        type:
                        - string
                        - 'null'
                  last_updated:
                    type:
                    - string
                    - 'null'
                    format: date-time
                  message:
                    type: string
                    description: Present when screen is offline
                  request_id:
                    type: string
        '404':
          description: Screen not found
        '401':
          $ref: '#/components/responses/Unauthorized'
    servers:
    - url: https://api.trillboards.com/v1/partner
      description: Production API
    - url: http://localhost:4004/v1/partner
      description: Local development
  /audience/heatmap:
    get:
      tags:
      - Audience Intelligence
      summary: Get audience heatmap data
      description: 'Returns geospatial audience heatmap data across partner screens.

        Available to all tiers.'
      operationId: getAudienceHeatmap
      x-beta: true
      security:
      - BearerAuth: []
      parameters:
      - name: screen_ids
        in: query
        schema:
          type: string
        description: Comma-separated screen IDs to include (omit for all screens)
      - name: days
        in: query
        schema:
          type: integer
          default: 14
        description: Lookback period in days
      responses:
        '200':
          description: Heatmap data
          content:
            application/json:
              schema:
                type: object
                properties:
                  object:
                    type: string
                    example: audience_heatmap
                  screens_included:
                    type: integer
                  lookback_days:
                    type: integer
                  cells:
                    type: integer
                  heatmap:
                    type: array
                    items:
                      type: object
                  request_id:
                    type: string
        '401':
          $ref: '#/components/responses/Unauthorized'
    servers:
    - url: https://api.trillboards.com/v1/partner
      description: Production API
    - url: http://localhost:4004/v1/partner
      description: Local development
  /audience/stats:
    get:
      tags:
      - Audience Intelligence
      summary: Get audience data statistics
      description: 'Returns high-level statistics about audience data availability for the partner''s screens.

        Available to all tiers.'
      operationId: getAudienceStats
      x-beta: true
      security:
      - BearerAuth: []
      responses:
        '200':
          description: Audience stats
          content:
            application/json:
              schema:
                type: object
                properties:
                  object:
                    type: string
                    example: audience_stats
                  total_screens:
                    type: integer
                  screens_with_data:
                    type: integer
                  total_vectors:
                    type: integer
                  oldest_data:
                    type:
                    - string
                    - 'null'
                    format: date-time
                  newest_data:
                    type:
                    - string
                    - 'null'
                    format: date-time
                  data_access_tier:
                    type: string
                    enum:
                    - basic
                    - developer
                    - enterprise
                  request_id:
                    type: string
        '401':
          $ref: '#/components/responses/Unauthorized'
    servers:
    - url: https://api.trillboards.com/v1/partner
      description: Production API
    - url: http://localhost:4004/v1/partner
      description: Local development
  /audience/lookalikes/{screenId}:
    get:
      tags:
      - Audience Intelligence
      summary: Find lookalike screens
      description: 'Finds screens with similar audience profiles using vector similarity search.

        **Requires Developer tier or above.**'
      operationId: getLookalikeScreens
      x-beta: true
      security:
      - BearerAuth: []
      parameters:
      - name: screenId
        in: path
        required: true
        schema:
          type: string
        description: Source screen to find lookalikes for
      - name: limit
        in: query
        schema:
          type: integer
          default: 20
        description: Maximum number of matches
      - name: country
        in: query
        schema:
          type: string
        description: Filter by country
      - name: venue_type
        in: query
        schema:
          type: string
        description: Filter by venue type
      - name: min_similarity
        in: query
        schema:
          type: number
          default: 0.7
        description: Minimum similarity score (0-1)
      responses:
        '200':
          description: Lookalike matches
          content:
            application/json:
              schema:
                type: object
                properties:
                  object:
                    type: string
                    example: audience_lookalike
                  source_screen_id:
                    type: string
                  matches_count:
                    type: integer
                  filters:
                    type: object
                    properties:
                      country:
                        type:
                        - string
                        - 'null'
                      venue_type:
                        type:
                        - string
                        - 'null'
                      min_similarity:
                        type: number
                  matches:
                    type: array
                    items:
                      type: object
                  request_id:
                    type: string
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '403':
          description: Requires Developer tier
        '404':
          description: Screen not found
    servers:
    - url: https://api.trillboards.com/v1/partner
      description: Production API
    - url: http://localhost:4004/v1/partner
      description: Local development
  /audience/predict/{screenId}:
    get:
      tags:
      - Audience Intelligence
      summary: Predict screen audience
      description: 'Predicts audience composition for a specific hour and day of week

        using historical data. **Requires Developer tier or above.**'
      operationId: predictScreenAudience
      x-beta: true
      security:
      - BearerAuth: []
      parameters:
      - name: screenId
        in: path
        required: true
        schema:
          type: string
      - name: hour
        in: query
        required: true
        schema:
          type: integer
          minimum: 0
          maximum: 23
        description: Hour of day (UTC)
      - name: day
        in: query
        required: true
        schema:
          type: integer
          minimum: 0
          maximum: 6
        description: Day of week (0=Sunday, 6=Saturday)
      - name: lookback_days
        in: query
        schema:
          type: integer
          default: 30
        description: Historical lookback period in days
      responses:
        '200':
          description: Audience prediction
          content:
            application/json:
              schema:
                type: object
                properties:
                  object:
                    type: string
                    example: audience_prediction
                  screen_id:
                    type: string
                  hour_utc:
                    type: integer
                  day_of_week:
                    type: integer
                  lookback_days:
                    type: integer
                  prediction:
                    type:
                    - object
                    - 'null'
                    description: Null if insufficient historical data
                  message:
                    type: string
                    description: Present when prediction is null
                  request_id:
                    type: string
        '400':
          description: Invalid hour or day values
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '403':
          description: Requires Developer tier
        '404':
          description: Screen not found
    servers:
    - url: https://api.trillboards.com/v1/partner
      description: Production API
    - url: http://localhost:4004/v1/partner
      description: Local development
  /openrtb/v2/audience/lookalike/{screenId}:
    get:
      operationId: findLookalikeScreens
      summary: Find lookalike screens
      tags:
      - Audience Intelligence
      parameters:
      - $ref: '#/components/parameters/ScreenIdPath'
      responses:
        '200':
          description: Lookalike screens
          content:
            application/json:
              schema:
                type: object
                properties:
                  source_screen_id:
                    type: string
                  matches_count:
                    type: integer
                  matches:
                    type: array
                    items:
                      type: object
                      description: Screen match with similarity score
    servers:
    - url: https://api.trillboards.com
      description: Production
    - url: http://localhost:4004
      description: Local development
  /openrtb/v2/audience/predict/{screenId}:
    get:
      operationId: predictAudience
      summary: Predict audience for a screen and time window
      tags:
      - Audience Intelligence
      parameters:
      - $ref: '#/components/parameters/ScreenIdPath'
      - name: hour
        in: query
        required: true
        schema:
          type: integer
          minimum: 0
          maximum: 23
      - name: day
        in: query
        required: true
        schema:
          type: integer
          minimum: 0
          maximum: 6
      - name: lookback_days
        in: query
        schema:
          type: integer
          default: 30
      responses:
        '200':
          description: Audience prediction
          content:
            application/json:
              schema:
                type: object
                properties:
                  screen_id:
                    type: string
                  hour_utc:
                    type: integer
                  day_of_week:
                    type: integer
                  prediction:
                    type:
                    - object
                    - 'null'
                    description: Null if insufficient historical data
                  message:
                    type: string
                    description: Present when prediction is null
    servers:
    - url: https://api.trillboards.com
      description: Production
    - url: http://localhost:4004
      description: Local development
  /openrtb/v2/audience/rank-creatives:
    post:
      operationId: rankCreativesForAudience
      summary: Rank creatives for an audience context
      tags:
      - Audience Intelligence
      responses:
        '200':
          description: Ranked creatives
          content:
            application/json:
              schema:
                type: object
                properties:
                  ranked_count:
                    type: integer
                  creatives:
                    type: array
                    items:
                      type: object
                      description: Creative with audience relevance score
    servers:
    - url: https://api.trillboards.com
      description: Production
    - url: http://localhost:4004
      description: Local development
  /openrtb/v2/audience/semantic-search:
    get:
      operationId: semanticAudienceSearch
      summary: Semantic search across audience scene descriptions
      tags:
      - Audience Intelligence
      parameters:
      - name: q
        in: query
        required: true
        schema:
          type: string
      - name: limit
        in: query
        schema:
          type: integer
          default: 20
      - name: since
        in: query
        schema:
          type: string
          default: 24h
      - name: min_similarity
        in: query
        schema:
          type: number
          default: 0.5
      responses:
        '200':
          description: Semantic search results
          content:
            application/json:
              schema:
                type: object
                properties:
                  query:
                    type: string
                  results_count:
                    type: integer
                  time_window:
                    type: string
                    description: Time window for the search
                    example: 24h
                  results:
                    type: array
                    items:
                      type: object
                      description: Screen with semantic similarity score
    servers:
    - url: https://api.trillboards.com
      description: Production
    - url: http://localhost:4004
      description: Local development
  /openrtb/v2/audience/semantic-stats:
    get:
      operationId: getAudienceSemanticStats
      summary: Get embedding statistics for semantic search
      tags:
      - Audience Intelligence
      responses:
        '200':
          description: Embedding statistics
          content:
            application/json:
              schema:
                type: object
                properties:
                  stats:
                    type: object
                    description: Embedding statistics for semantic search
    servers:
    - url: https://api.trillboards.com
      description: Production
    - url: http://localhost:4004
      description: Local development
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
    PaymentRequired:
      description: Free tier exhausted — add a payment method to continue
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: object
                properties:
                  message:
                    type: string
                    example: Free tier exhausted for data_api. Add a payment method to continue.
                  code:
                    type: string
                    enum:
                    - payment_required
                  type:
                    type: string
                    enum:
                    - billing_error
                  product:
                    type: string
                    description: Product that exhausted its free tier
                    enum:
                    - data_api
                    - proof_of_play
                    - attribution
                    - data_marketplace
                  usage:
                    type: object
                    properties:
                      current:
                        type: integer
                        description: Current usage count this billing period
                        example: 12000
                      free_limit:
                        type: integer
                        description: Free tier limit per month
                        example: 10000
                      exceeded_by:
                        type: integer
                        description: How many units over the free limit
                        example: 2000
                  pricing:
                    type:
                    - object
                    - 'null'
                    description: Graduated pricing tiers for this product
                  billing_setup_url:
                    type: string
                    example: /v1/partner/billing/setup
                  pricing_url:
                    type: string
                    example: /v1/partner/pricing
                  help:
                    type: string
                    example: POST /v1/partner/billing/setup with a Stripe payment method token to enable pay-per-use billing.
              request_id:
                type: string
                example: req_abc123
  parameters:
    ScreenIdPath:
      name: screenId
      in: path
      required: true
      schema:
        type: string
  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.

        '
    bearerAuth:
      type: http
      scheme: bearer
      description: JWT bearer token for protected analytics/admin routes
    apiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: FEIN API key with read or write permissions
x-refined-from:
- partner-api.yaml
- programmatic-api.yaml