Skip to content

pinterest-api-reference

Use when working with the Pinterest API v5 — creating or managing Pins and Boards, running Pinterest Ads campaigns, building audiences, handling conversions, or setting up OAuth. Also use when pulling Pinterest analytics or integrating Pinterest into a web application.

ModelSource
sonnetpack: ads
Full Reference

┏━ 🔧 pinterest-api-reference ━━━━━━━━━━━━━━━━━━━┓ ┃ Use when working with the Pinterest API v5 — c… ┃ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛

Reference skill for the Pinterest API v5. Covers OAuth authentication, token refresh, pins, boards, ad campaigns, audiences, server-side conversions, and analytics. No official Node.js SDK — all examples use direct HTTP with TypeScript.

FactValue
API versionv5 (current stable)
Base URLhttps://api.pinterest.com/v5
Auth methodOAuth 2.0 Bearer token
Token expiryAccess token: 60 days, Refresh token: 1 year
Rate limit (universal)100 calls/s per user per app
Rate limit (ads analytics)300 calls/min per user per app
Rate limit (conversions)5,000 calls/min per ad account per app
Budget unitsMicro-currency (1 USD = 1,000,000 units)
Key env varsPINTEREST_ACCESS_TOKEN, PINTEREST_REFRESH_TOKEN, PINTEREST_CLIENT_ID, PINTEREST_CLIENT_SECRET, PINTEREST_AD_ACCOUNT_ID
I want to…File
Set up OAuth, refresh tokens, and build a request helperreference/auth.md
Create, update, and delete pins, including video pin uploadsreference/pins.md
Create, update, and delete boards and board sectionsreference/boards.md
Create campaigns, ad groups, and promoted pin adsreference/campaigns.md
Build customer list and Actalike (lookalike) audiencesreference/audiences.md
Send server-side conversion eventsreference/conversions.md
Pull account and ad analytics and create async reportsreference/analytics.md

Usage: Read the reference file matching your current task from the index above. Each file is self-contained with code examples and inline gotchas.