Pinterest

FREE
By Karayel
Updated 5 months ago
1.9/10
Popularity Score
397ms
Latency
100%
Success Rate

Pinterest API Documentation

Pinterest API

View API Details
Users
GETFetch User Data
GETReturn Board suggestions for the logged in user
Board
POSTCreate Board
DELETEDelete Board
GETFetch User Data
Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Optional Parameters
access_tokenSTRING
OPTIONAL
Code Snippet
unirest.get("https://karayel-pinterest-v1.p.rapidapi.com/v1/me/")
.header("X-RapidAPI-Host", "karayel-pinterest-v1.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://karayel-pinterest-v1.p.rapidapi.com/v1/me/
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://karayel-pinterest-v1.p.rapidapi.com/v1/me/")
.header("X-RapidAPI-Host", "karayel-pinterest-v1.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