Pinterest API

Social / OAuth Advanced HTTPS
Varies by plan (check documentation)

Overview

Pinterest API lets you read and write Pinterest data such as boards, pins, and user profiles through OAuth 2.0 authentication. You can build apps that create pins, read a user's boards, or analyze pin engagement. The API requires creating a developer app at developers.pinterest.com and going through an OAuth approval process.

💡

Beginner Tip

Pinterest API requires OAuth 2.0 — start by creating an app at developers.pinterest.com to get your App ID and Secret, then use the sandbox mode to test without affecting real data.

Available Data

Use case: Integrate the world's catalog of ideas data into web and mobile applications
Pinterest data via REST API
JSON-formatted response data
Requires OAuth authentication

Example Response

JSON Response
{
  "status": "success",
  "data": {
    "result": "Data from Pinterest",
    "description": "The world's catalog of ideas",
    "timestamp": "2025-01-15T10:00:00Z"
  }
}

Field Reference

username Unique Pinterest username of the authenticated user
account_type Type of account — PINNER or BUSINESS
profile_image URL of the user's profile picture
website_url Website URL listed on the user's Pinterest profile
follower_count Number of followers the user has

Implementation Example

const url = "https://developers.pinterest.com/";
// Replace headers or query params with the values required by this API.
const response = await fetch(url, {
  headers: {
  "Authorization": "Bearer YOUR_API_KEY"
  }
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data);

What Can You Build?

Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.

Common Errors & Troubleshooting

401 Unauthorized Access token is missing, expired, or revoked
Use the OAuth 2.0 refresh token flow to get a new access token; Pinterest tokens expire after a set period
403 Forbidden The OAuth scope does not include permission for the requested action
Re-authorize your app with the correct scope (e.g., boards:read, pins:write) in the OAuth request
429 Too Many Requests API rate limit exceeded
Pinterest enforces hourly rate limits; add delays between requests or cache responses to reduce API calls

Matrix Score Breakdown

🌐 Reachability 30/30
⚡ Speed 5/20
🔒 Security 15/15
🛠 Developer XP 3/20
✓ Reliability 10/15

Partially tested on Apr 5, 2026

Technical Specifications

Auth OAuth
HTTPS REQUIRED
CORS UNKNOWN
Category Social
Difficulty Advanced
Verified: 2026-04-04

Similar APIs

View All →