Skip to main content

Partner API

Buyer-facing inventory for partners and DSPs. Authenticate with a partner key:

Authorization: Bearer ynpk_<key>

Create keys in the dashboard (organization settings). Keys are scoped; inventory listing requires inventory:read. Unused or leaked keys should be revoked there.

List inventory​

GET /v1/partner/inventory

Optional query parameters:

ParamDescription
projectIdLimit to one website
verifiedOnlyDefaults to verified domains only; set false to include unverified

Each row includes placement size, floors, position, allowed formats, website domain, verification status, and last-30-day volume (impressions, clicks, revenue).

{
"data": [
{
"placementId": "…",
"placementSlug": "top-leaderboard",
"placementName": "Header leaderboard",
"width": 728,
"height": 90,
"floorCpm": 1.5,
"floorCpc": 0,
"position": "header",
"allowedFormats": ["image", "html5"],
"projectId": "…",
"projectName": "Example News",
"domain": "example.com",
"domainVerified": true,
"volumeLast30d": {
"impressions": 120000,
"clicks": 2100,
"revenue": 840.25
}
}
],
"error": null
}

OpenRTB bidding uses DSP endpoints you configure per website in the dashboard, not this inventory route.

Full schema: OpenAPI reference.