Skip to navigation

OpenEPG Enrichment API (beta)

Resolve CTV ad opportunities to the channel and program being watched. In beta.

Beta. The OpenEPG Enrichment API is in beta (version 1.0.0-beta.1). The beta has no contractual availability SLA, and content.id and content.channel.id values are provisional until general availability. Contact your Pixalate account manager for access.

The OpenEPG Enrichment API resolves a CTV ad opportunity to the channel and program being watched. It returns the show metadata as an OpenRTB 2.6 Content object with a confidence score. A miss is a structured 200 response, not an error.

Two ways to call it

RouteEndpointsYou sendYou get backBuilt for
OpenRTB passthroughPOST /enrich, POST /enrich/batchAn OpenRTB 2.6 bid requestThe same bid request, with app.content enriched in place. Diagnostics are in response headers.SSPs adding content identity to outbound bid requests in real time
Parameterized lookupPOST /lookup, POST /lookup/batchA flat JSON object of identifiers such as the app bundle, channel and titleThe best match, its confidence and reason codesDSPs, analytics and measurement, integration debugging, and impression-log enrichment (needs a longer lookback; see What it covers)

The more identifiers you send, the more precise the result. An app bundle alone resolves single-channel apps. Adding a channel identifier or a show title lets the API resolve aggregator apps too.

What it covers

  • Linear EPG (channel and schedule) content only.
  • A US-focused catalog. The API doesn’t read geography from the bid request.
  • Any moment from five minutes ago up to now. That’s the default lookback. Pixalate can configure a longer lookback for your account, up to seven days, which you need to enrich impression logs after the fact. An older timestamp gets a 400 with TIMESTAMP_OUT_OF_WINDOW. If you don’t send a timestamp, the API uses the current time.

Base URL and authentication

  • Base URL: https://epg-api.pixalate.com/v1
  • Authentication: your API key in the x-api-key header. The API also accepts a username and password through HTTP Basic authentication. Credentials are accepted only in headers, never in query parameters.

See Authentication and API keys.

To integrate and test before you go live, ask for a mock credential. It works on the same host and operations as a real key, answers from fictional data and is never charged.

Check your usage

Send GET /quota with your API key to see your account’s usage over the last 30 days, across all of the account’s keys. GET /enrich with no body returns the same figures. Checking usage doesn’t count against your rate limit or your usage.

curl "https://epg-api.pixalate.com/v1/quota" \
-H "x-api-key: $PIXALATE_API_KEY"

If usage can’t be reported right now, you get 503 with a Retry-After header. If retrying doesn’t help, contact support@pixalate.com.

Reference