Get placements for a slot
Returns the active placements to render in a named slot on a marketplace storefront (for example a hero banner, a category strip, or search results). Requires a marketplace operator key.
A slot can return two kinds of placement. Sponsored placements (sponsored: true) are
paid advertising and must be rendered with their disclosure_label (for example
“Sponsored”) so shoppers can tell them apart from organic results. Curated fallback
placements (curated: true, sponsored: false) are hand-picked by the marketplace operator
to fill the slot when no paid placement is available; they are not labelled as sponsored.
Only sponsored placements require the disclosure label.
Blend placements with your organic listings or recommendations as appropriate for the slot.
Use the optional context parameter to request placements scoped to a category or a search
term, and limit to cap how many placements come back.
After rendering, log a beacon with POST /v1/marketplace/ad-events: one impression per
placement when it becomes visible, and a click when the shopper clicks it.
Authorizations
API Key Authentication
Use your API key in the Authorization header:
Key Types:
Secret Keys (Server-Side Only):
- Format:
tybrite_sk_live_*(production) ortybrite_sk_test_*(sandbox) - Full read/write access to all endpoints
- ⚠️ NEVER expose in client-side code or public repositories
- Required for: write operations, authentication, payment verification, AI recommendations
Publishable Keys (Client-Safe):
- Format:
tybrite_pk_live_*(production) ortybrite_pk_test_*(sandbox) - Read-only access (GET requests only, plus POST semantic search)
- ✅ Safe for client-side JavaScript, mobile apps, and public code
- Allowed for: browsing products, search, CMS content, pricing queries
Endpoint-Specific Requirements:
- Authentication endpoints (
/v1/auth/*): Secret key required - Payment verification (
POST /v1/payments/verify): Secret key required - AI Recommendations (
POST /v1/recommendations): Secret key required - Semantic Search (
POST /v1/search): Both key types allowed (read-only operation) - All write operations: Secret key required
- All read operations: Both key types allowed
Using a publishable key for restricted operations returns 403 Forbidden.
Path Parameters
The slot to fill, for example home_hero or category_top.
Query Parameters
Optional context for context-scoped slots — a category identifier or a search term — used to pick placements relevant to what the shopper is viewing.
Maximum number of placements to return.
1 <= x <= 50Response
The active placements for the slot.
The active sponsored placements to render in a named marketplace storefront slot. Blend these with your organic listings or recommendations, each shown with its disclosure label.

