Pinterest

FREE
By ismaelc
Updated 5 months ago
Social
8.7/10
Popularity Score
59499ms
Latency
-
Success Rate

Pinterest API Documentation

This is an unofficial Pinterest API. Pinterest is a pinboard-style photo sharing website that allows users to create and manage theme-based image collections such as events, interests, hobbies, and more. Users can browse other pinboards for inspiration, 're-pin' images to their own pinboards, or 'like' photos. (Credits to http://pinterestapi.co,uk for the user-specific Pinterest APIs).

View API Details
Pins Info
GETShow User Pins
Boards Info
GETShow User Boards
GETShow User Pins

Shows pins from Pinterest user

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
uSTRING
REQUIREDEnter Pinterest username
Optional Parameters
pageSTRING
OPTIONAL
Code Snippet
unirest.get("https://ismaelc-pinterest.p.rapidapi.com/jwmoz/pins?page=2")
.header("X-RapidAPI-Host", "ismaelc-pinterest.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://ismaelc-pinterest.p.rapidapi.com/{u}/pins
Request Method: GET
Response Headers
Response Body

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.get("https://ismaelc-pinterest.p.rapidapi.com/jwmoz/pins?page=2")
.header("X-RapidAPI-Host", "ismaelc-pinterest.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication