Trillboards Programmatic Bidding API
Core OpenRTB bidding and win-notification flows
Core OpenRTB bidding and win-notification flows
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-programmatic-bidding-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 Programmatic & FEIN Programmatic Bidding API
version: 2026-03-09
description: 'Executable OpenRTB, VAST, OMSDK, audience-intelligence, and FEIN APIs exposed by
the Trillboards programmatic stack.
Use this spec when you want to integrate against Trillboards'' live OpenRTB-facing
endpoints. For the proprietary outbound bid-request signal schema, pair this spec
with `https://api.trillboards.com/docs/openapi/openrtb-extensions.yaml`.
## Surface Areas
- OpenRTB v1 bidding, delivery telemetry, impression/event tracking
- VAST request telemetry and creative safety controls
- OMSDK verification workflows
- Audience-intelligence and semantic-search APIs
- FEIN analytics, webhooks, and SSE streaming
## Authentication
- Core delivery telemetry routes are public or network-to-network
- Admin/reporting routes use bearer authentication
- FEIN routes use `X-API-Key`'
contact:
name: Trillboards Developer Support
email: developers@trillboards.com
license:
name: Proprietary
servers:
- url: https://api.trillboards.com
description: Production
- url: http://localhost:4004
description: Local development
tags:
- name: Programmatic Bidding
description: Core OpenRTB bidding and win-notification flows
paths:
/openrtb/v1/bid:
post:
operationId: processBidRequest
summary: Process OpenRTB bid request
description: 'Accepts an OpenRTB 2.6 bid request and returns matching bid responses.
Supports DOOH (via `dooh` object) and web (via `site`/`app` objects).
Maximum 10 impressions per request. Returns 204 No Content when no matching ads are available.'
tags:
- Programmatic Bidding
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/BidRequest'
responses:
'200':
description: Bid response with matching ads
content:
application/json:
schema:
$ref: '#/components/schemas/BidResponse'
'204':
description: No bid -- no matching ads available
'400':
description: Invalid bid request
content:
application/json:
schema:
type: object
properties:
error:
type: string
example: 'Invalid bid request: missing id or imp'
/openrtb/v1/win:
get:
operationId: handleWinNotification
summary: Handle win notification
tags:
- Programmatic Bidding
responses:
'200':
description: Win recorded
/openrtb/v1/vast:
get:
operationId: generateVast
summary: Generate VAST 4.2 response
description: 'Generates a VAST 4.2 XML document for a specific ad. Includes OMSDK
AdVerifications, viewability tracking, and quartile event tracking URLs.
The VAST document contains inline `MediaFile`, `TrackingEvents`, and
`ViewableImpression` elements conforming to IAB VAST 4.2.'
tags:
- Programmatic Bidding
parameters:
- $ref: '#/components/parameters/ScreenIdQuery'
- name: adid
in: query
required: true
schema:
type: string
description: Advertisement ID
- name: impid
in: query
schema:
type: string
description: Impression ID for tracking correlation
- name: w
in: query
schema:
type: integer
default: 1920
description: Video width in pixels
- name: h
in: query
schema:
type: integer
default: 1080
description: Video height in pixels
responses:
'200':
description: VAST 4.2 XML document
content:
application/xml:
schema:
type: string
description: VAST 4.2 XML with InLine ad, MediaFiles, TrackingEvents, and OMSDK AdVerifications
'404':
description: Video ad not found
/openrtb/v2/bid:
post:
operationId: acceptInboundBidResponse
summary: Accept inbound bid response from external DSP
tags:
- Programmatic Bidding
responses:
'200':
description: Bid response accepted
content:
application/json:
schema:
type: object
properties:
id:
type: string
description: Bid response ID
status:
type: string
example: accepted
accepted_count:
type: integer
rejected_count:
type: integer
rejections:
type: array
items:
type: object
properties:
bid_id:
type: string
reason:
type: string
floor:
type: number
bid_price:
type: number
processing_time_ms:
type: number
'204':
description: All bids rejected
'400':
description: Invalid bid response format
/openrtb/v2/adslots:
get:
operationId: getAvailableAdSlots
summary: Discover available audience-enriched ad slots
tags:
- Programmatic Bidding
responses:
'200':
description: Available ad slots
content:
application/json:
schema:
type: object
properties:
available_slots:
type: integer
description: Number of available ad slots
bid_requests:
type: array
description: OpenRTB bid request objects for each available slot
items:
$ref: '#/components/schemas/BidRequest'
cur:
type: string
example: USD
tmax:
type: integer
description: Maximum response time in milliseconds
example: 500
/openrtb/v2/stats:
get:
operationId: getDspStats
summary: Get DSP performance statistics
tags:
- Programmatic Bidding
responses:
'200':
description: DSP performance statistics
content:
application/json:
schema:
type: object
properties:
seat:
type: string
description: DSP seat identifier
period:
type: string
example: 24h
stats:
type: object
properties:
total_bids:
type: integer
total_wins:
type: integer
avg_cpm:
type: number
total_revenue:
type: number
avg_latency_ms:
type: number
components:
schemas:
BidResponse:
type: object
properties:
id:
type: string
description: Matches bid request ID
seatbid:
type: array
items:
type: object
properties:
bid:
type: array
items:
type: object
properties:
id:
type: string
impid:
type: string
price:
type: number
adid:
type: string
adm:
type: string
description: VAST XML or ad markup
w:
type: integer
h:
type: integer
crid:
type: string
description: Creative ID
seat:
type: string
cur:
type: string
default: USD
example:
id: br-001
seatbid:
- bid:
- id: bid-1
impid: imp-1
price: 3.25
adid: ad-123
w: 1920
h: 1080
crid: cr-456
seat: trillboards
cur: USD
BidRequest:
type: object
required:
- id
- imp
properties:
id:
type: string
description: Unique bid request ID
imp:
type: array
maxItems: 10
items:
type: object
required:
- id
properties:
id:
type: string
description: Impression ID
video:
type: object
properties:
mimes:
type: array
items:
type: string
example:
- video/mp4
w:
type: integer
example: 1920
h:
type: integer
example: 1080
protocols:
type: array
items:
type: integer
example:
- 2
- 5
bidfloor:
type: number
example: 2.5
bidfloorcur:
type: string
default: USD
dooh:
type: object
description: DOOH-specific placement context (OpenRTB 2.6)
properties:
venue:
type: object
properties:
type:
type: array
items:
type: string
device:
type: object
properties:
dth:
type: integer
description: Device type hint (4=tablet, 7=set-top-box)
site:
type: object
description: Web placement context
app:
type: object
description: App placement context
device:
type: object
properties:
ua:
type: string
ip:
type: string
geo:
type: object
properties:
lat:
type: number
lon:
type: number
country:
type: string
tmax:
type: integer
description: Maximum response time in ms
default: 500
example:
id: br-001
imp:
- id: imp-1
video:
mimes:
- video/mp4
w: 1920
h: 1080
bidfloor: 2.5
dooh:
venue:
type:
- transit
tmax: 500
parameters:
ScreenIdQuery:
name: screenId
in: query
required: false
schema:
type: string
description: Screen identifier
securitySchemes:
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-related-specs:
- name: OpenRTB 2.6 Extensions
url: https://api.trillboards.com/docs/openapi/openrtb-extensions.yaml
description: Proprietary outbound bid-request signal schema