canonical: https://jentic.com/apis/pinterest.com/pinterest

# Pinterest API

Pinterest is a visual discovery platform where users save and share ideas through pins and boards. The API provides access to pins, boards, user profiles, search, analytics, and advertising capabilities. Built for content creators, e-commerce brands, marketing platforms, and social media management tools to publish content, analyze engagement, run campaigns, and integrate Pinterest into multi-channel strategies.

## For AI agents

Create and manage pins, boards, user profiles, search content, track analytics, and run ad campaigns on Pinterest. Supports 85 endpoints covering the full Pinterest platform for creators and advertisers.

## Scope

Does not provide content moderation, spam detection, or copyright verification - use for pin publishing, board management, search, analytics, and advertising only.

## Capabilities

- Create and publish pins with images, titles, descriptions, links, and product metadata
- Organize pins into boards and sections with custom titles, descriptions, and privacy settings
- Search pins, boards, and users by keywords with filtering by topic and popularity
- Retrieve analytics for pins and boards including impressions, saves, clicks, and engagement rate
- Manage user profiles with bio, avatar, website links, and verified merchant status
- Create and manage Pinterest ad campaigns with targeting, budgets, and performance tracking
- Access trending topics, related pins, and personalized recommendations for content strategy

## Use cases

### E-Commerce Product Publishing

Automate product pin creation from e-commerce catalogs with product images, prices, availability, and purchase links. The API supports bulk pin upload, product metadata enrichment, and shoppable pin features. Brands can sync inventory, update pricing, and track which products drive the most saves and clicks back to their store.

Example prompt: Upload 100 products from Shopify catalog as pins with product titles, images, prices, and shop links, organize them into seasonal boards, and enable shoppable pin features

### Content Marketing Automation

Schedule and publish blog posts, infographics, and visual content to Pinterest boards as part of a multi-channel content strategy. The API allows creating pins with custom descriptions optimized for Pinterest search, linking back to website content, and organizing pins into thematic boards. Track which content types and topics generate the most engagement and referral traffic.

Example prompt: Publish 20 blog post pins to the 'Digital Marketing Tips' board with optimized titles, custom cover images, and UTM-tagged links, then retrieve analytics after 7 days to identify top performers

### Pinterest Ads Campaign Management

Create and optimize Pinterest ad campaigns programmatically with audience targeting, budget allocation, and performance tracking. The API supports creating promoted pins, targeting by interests and demographics, setting daily budgets, and retrieving campaign metrics including impressions, clicks, conversions, and cost per action. Agencies and performance marketers can manage campaigns at scale across multiple client accounts.

Example prompt: Create a promoted pin campaign for a wedding dress collection targeting women 25-40 interested in weddings and fashion, set $50 daily budget, and retrieve performance metrics daily for optimization

### Social Listening and Trend Analysis

Monitor Pinterest search trends, trending pins, and related content to inform product development, content strategy, and marketing campaigns. The API provides search functionality with filters for recency and popularity, related pin recommendations, and trending topic feeds. Brands can identify emerging trends before they hit mainstream social platforms.

Example prompt: Search for pins about 'sustainable home decor' from the last 30 days sorted by saves, retrieve the top 50 results, extract common themes and hashtags, and identify emerging subcategories

## Key endpoints

| Method | Path | Description |
| --- | --- | --- |
| POST | /v5/pins | Create a new pin |
| GET | /v5/pins/{pin_id} | Get pin details |
| POST | /v5/boards | Create a new board |
| GET | /v5/boards/{board_id}/pins | List pins on a board |
| GET | /v5/search/pins | Search pins by keyword |
| GET | /v5/pins/{pin_id}/analytics | Get pin analytics |
| POST | /v5/ad_accounts/{ad_account_id}/campaigns | Create ad campaign |
| GET | /v5/user_account | Get authenticated user profile |

## Key resources

- **Pins** — Create, update, delete, and retrieve pins with images, links, and metadata
- **Boards** — Organize pins into boards and sections with privacy controls
- **Users** — Manage user profiles, followers, and account settings
- **Search** — Search pins, boards, and users with filtering and sorting
- **Analytics** — Track pin and board performance metrics including impressions and engagement
- **Ads** — Create and manage promoted pin campaigns with targeting and budgets
- **Catalogs** — Upload and manage product catalogs for shoppable pins

## Why Jentic

- **Setup:** Wiring Pinterest by hand means implementing its OAuth 2.0 flow, managing token refresh, tracking scopes, and handling retries yourself. Through Jentic you install once, import Pinterest from the API Directory, store the token once, and your agent calls it.
- **Permission scoping:** Pinterest puts the board id and pin id in the URL path (/v5/boards/{board_id}/pins, /v5/pins/{pin_id}), so a rule can pin your agent to one board and the pins under it. You choose the operations it may call, so ad-campaign creation or account-wide actions are not included unless you add them.
- **Credential handling:** Your Pinterest access and refresh tokens are stored once, encrypted, by your own Jentic One instance and injected at execution time. They never enter the agent's prompt, logs, or context.
- **Discovery method:** Agents search Jentic by intent such as 'create a Pinterest pin' or 'get pin analytics', and Jentic returns the matching Pinterest operation with its input schema so the agent calls the right endpoint without browsing the reference docs.

## Related APIs

- **Instagram Graph API** — Visual social platform with posts, stories, and reels focused on mobile-first content
- **Shopify API** — E-commerce platform API for product catalogs, inventory, and order management
- **Buffer API** — Social media scheduling platform for multi-channel content publishing

## FAQ

### What authentication does the Pinterest API use?

The API uses OAuth 2.0 for user authentication. Apps redirect users to Pinterest for authorization, receive an authorization code, then exchange it for an access token. For server-to-server integrations, refresh tokens enable long-lived access. Through Jentic, OAuth tokens are stored encrypted and refreshed automatically.

### Can I create pins programmatically?

Yes. POST /v5/pins creates pins with required fields including board_id, media_source (image URL or upload), and optional fields like title, description, link, and alt_text. Pins can include product metadata for shoppable features. The API also supports video pins and idea pins with multiple pages.

### What are the rate limits?

Pinterest enforces per-user rate limits of 1000 requests per hour for standard endpoints and 300 requests per hour for analytics endpoints. Ad campaign endpoints have separate limits documented in the Ads API section. Rate limit headers indicate remaining quota and reset time.

### How do I get analytics for my pins?

GET /v5/pins/{pin_id}/analytics returns metrics including impressions, saves, pin_clicks, and outbound_clicks for specified date ranges (last 7, 14, or 30 days). Board-level analytics aggregate metrics across all pins. Analytics require the user_accounts:read scope and are only available for the authenticated user's content.

### Can I run Pinterest ads through the API?

Yes. The Ads API allows creating campaigns, ad groups, promoted pins, and tracking conversions. You need an approved Pinterest Business account and Ads Manager access. The API supports targeting by interests, keywords, demographics, and custom audiences, plus budget management and performance reporting.

### Is the Pinterest API free?

Yes, Pinterest API access is free for approved developers. You must apply for API access and agree to the API Terms of Service. There are no usage fees, but rate limits apply. Commercial use is allowed for approved use cases like content publishing, analytics tools, and authorized advertising platforms.

### Can I limit what my agent is allowed to do with the Pinterest API?

Yes. Because you run Jentic One yourself, your own rules decide which Pinterest operations and credentials the agent may use. Pinterest puts the board id and pin id in the URL path, as in /v5/boards/{board_id}/pins and /v5/pins/{pin_id}, so you can pin the agent to a single board and the pins under it. You choose the operations it may call, so account-wide actions like creating ad campaigns through /v5/ad_accounts/{ad_account_id}/campaigns are excluded unless you add them.
