API Description

Pinterest Home API — Collect Pinterest profile information and first-page works.

Authenticate with your Pangolinfo API Key to receive structured JSON data.

Request URL

POST https://scrapeapi.pangolinfo.com/api/v1/social/pinterest-home

Request Headers

ParametersParameter valueTypeDescription
Content-Typeapplication/jsonstringData format
AuthorizationBearer xxxstringAuthorization Token

Collection takes up to approximately 75 seconds. Set your client timeout to 90 seconds.

Request Parameters

ParameterRequiredTypeDescription
targetYesstringTarget URL, supported ID or search keyword for this operation.

Only the request parameters listed on this page are used; other fields are ignored. Pass pagination cursors back unchanged, without encoding, decoding or conversion.

Includes first-page works. Use the works operation, where available, to continue.

Response Fields

FieldTypeDescription
codeintegerStatus code; 0 indicates success.
messagestringResponse message; ok on success.
pointCostnumberPoints charged for this request.
dataobjectCollected data, with fields described below.
metaobjectRequest identifier and duration in milliseconds.
billingobjectCharged units, unit price and billing rule version.

data Fields

FieldTypeDescription
typestringResult type.
profileobjectProfile details.
worksobject[]Collected works.

data.profile Fields

FieldTypeDescription
accountIdstring | nullAccount id
userIdstring | nullUser id
usernamestring | nullUsername
nicknamestring | nullAuthor display name.
fullNamestring | nullFull name
firstNamestring | nullFirst name
profileUrlstringAuthor profile URL.
avatarstring | nullAvatar URL.
followersCountnumber | nullFollowers count
followingCountnumber | nullFollowing count
postsCountnumber | nullPosts count
biostring | nullBio
registerTimeobjectRegister time
isPrivatebooleanIs private
verifiedbooleanVerified
contactEmailstring | nullContact email
externalLinksstring[]External links
boardCountnumber | nullBoard count
websiteUrlstring | nullWebsite url
domainUrlstring | nullDomain url
domainVerifiedbooleanDomain verified
instagramUsernamestring | nullInstagram username
targetUrlstringTarget url

data.profile.registerTime Fields

FieldTypeDescription
textstring | nullText value.
timestampnumber | nullTimestamp
isostring | nullIso

data.works[] Fields

FieldTypeDescription
workIdstringWork id
pinIdstringPin id
workTypestringWork type
Values: [“pin”]
urlstringContent URL.
titlestring | nullTitle
contentstring | nullContent text; may be null for records without text.
descriptionstring | nullDescription
coverstring | nullCover
imagestring | nullImage
imageWidthnumber | nullImage width
imageHeightnumber | nullImage height
commentsnumber | nullRoot comments in comment mode.
repinCountnumber | nullRepin count
createdAtstring | nullCreated at
publishedAtnumber | nullPublication time.
linkstring | nullLink
linkDomainstring | nullLink domain
isVideobooleanIs video
dominantColorstring | nullDominant color
reactionCountsobject | nullReaction counts
boardobject | nullBoard

Request Example

curl --request POST \
  --url https://scrapeapi.pangolinfo.com/api/v1/social/pinterest-home \
  --header 'Authorization: Bearer YOUR_PANGOLINFO_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{
  "target": "https://www.pinterest.com/nasa/"
}'

Response Example

This excerpt shows the first item of each list. Long text and URLs are shortened; pointCost is the charge for the complete response. The playground contains the full schema.

{
  "code": 0,
  "message": "ok",
  "pointCost": 0.8,
  "data": {
    "type": "home",
    "profile": {
      "accountId": "142567281862381039",
      "userId": "142567281862381039",
      "username": "nasa",
      "nickname": "NASA",
      "fullName": "NASA",
      "firstName": "NASA",
      "profileUrl": "https://www.pinterest.com/nasa/",
      "avatar": "https://i.pinimg.com/280x280_RS/37/a1/75/37a175e6d2431425576f0b8f81389394.jpg",
      "followersCount": 556594,
      "followingCount": 5,
      "postsCount": 10554,
      "bio": "Explore the universe and discover our home planet with the official NASA boards on Pinterest. Visit us at www.nasa.gov",
      "registerTime": {
        "text": "Mon, 05 Mar 2012 16:37:07 +0000",
        "timestamp": 1330965427000,
        "iso": "2012-03-05T16:37:07.000Z"
      },
      "isPrivate": false,
      "verified": false,
      "contactEmail": null,
      "externalLinks": [
        "http://www.nasa.gov/"
      ],
      "boardCount": 82,
      "websiteUrl": "http://www.nasa.gov/",
      "domainUrl": "https://www.nasa.gov",
      "domainVerified": true,
      "instagramUsername": null,
      "targetUrl": "https://www.pinterest.com/nasa/"
    },
    "works": [
      {
        "workId": "142567144449081155",
        "pinId": "142567144449081155",
        "workType": "pin",
        "url": "https://www.pinterest.com/pin/142567144449081155/",
        "title": null,
        "content": null,
        "description": null,
        "cover": "https://i.pinimg.com/736x/bb/a1/e7/bba1e7fb6fe37433e1314ad3cf4e3434.jpg",
        "image": "https://i.pinimg.com/736x/bb/a1/e7/bba1e7fb6fe37433e1314ad3cf4e3434.jpg",
        "imageWidth": 736,
        "imageHeight": 1104,
        "comments": null,
        "repinCount": null,
        "createdAt": null,
        "publishedAt": null,
        "link": null,
        "linkDomain": null,
        "isVideo": false,
        "dominantColor": "#efbd8a",
        "reactionCounts": null,
        "board": null
      }
    ]
  },
  "meta": {
    "requestId": "pg-audit-r1-pinterest-home-1793954239275631000",
    "durationMs": 5888
  },
  "billing": {
    "unitPrice": 0.8,
    "ruleVersion": "social-primary-v2",
    "billedCount": 1,
    "pointCost": 0.8
  }
}

Points Usage

0.8 points per profile. Included works are free.

Empty results and failed requests are not charged. Duplicate IDs are counted once within a response. Separate calls and pages are billed separately. See Social Media Reviews API billing.

Try it