honesthook

pinterest-api/profile

Pinterest profile API — profile counter, not a board counter

Public Pinterest profile: followers, bio, avatar, site. Read from the ProfilePage ld+json block.

Parameters

NameWhat it is
handleThe Pinterest username.

Handle format and anchor

What this endpoint does not return.

A field we cannot read comes back null, never 0. A zero would be a claim about the account; null is a fact about our collection.

Where this goes wrong.

Read from the structured block, not by regex. follower_count appears 42 times on the page and the neighbours are BOARD counters: 556445 is the profile, 527020 and 526128 are boards. A regex would take whichever came first.

Cost

1 credit per call. A call that finds nothing costs nothing.

Why not just regex follower_count?

It appears 42 times on the page, and most of them are board counters. The one you want is in the ProfilePage block.

Why is verified null when the account has a badge?

Pinterest has three badges that mean three different things. Collapsing them into one boolean would state something the platform did not.

← pinterest-api