100 free credits. No credit card required. Get a key

Pinterest search API

Pins matching a keyword, as Pinterest’s own search shows them: title, description, link, domain, images, reactions, board and pinner.

GET /v1/pinterest/search/pins1 credit per callRefunded on failure
import os, requests

res = requests.get(
    "https://api.groundsocial.dev/v1/pinterest/search/pins?q=living%20room%20ideas",
    headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()
Response
200 · 1 credit
{
"data": [
{
"id": "e1_AfqPShxq8YrDlBTu5VSPQruCOffh-qSoUcETVJDqbrFgdxclOSiW",
"title": "Cozy Living Room Decor Ideas",
"description": "Discover cozy living room decor ideas that make your space feel warm, inviting, …",
"created_at": "Mon, 16 Nov 2026 03:21:27 +0000",
"link": "https://getpynov.com/?utm_source=pinterest&utm_medium=organic",
"domain": "getpynov.com",
"images": {
"170x": {
"…": "3 fields"
},
"236x": {
"…": "3 fields"
},
"474x": {
"…": "3 fields"
},
"736x": {
"…": "3 fields"
},
"orig": {
"…": "3 fields"
}
},
"pinner": {
"node_id": "VXNlcjo3MDkwMzU2NzI0OTI2Njk4MTU=",
"verified_identity": {},
"id": "709035672492669815",
"follower_count": 4,
"image_small_url": "https://i.pinimg.com/30x30_RS/47/a0/6b/47a06be5450bc7f532b8e7c8cef60267.jpg",
"image_large_url": "https://i.pinimg.com/140x140_RS/47/a0/6b/47a06be5450bc7f532b8e7c8cef60267.jpg",
"is_ads_only_profile": false,
"username": "leonardohomefinds",
"image_medium_url": "https://i.pinimg.com/75x75_RS/47/a0/6b/47a06be5450bc7f532b8e7c8cef60267.jpg",
"is_verified_merchant": false,
"…": "1 more fields"
},
"board": {
"node_id": "Qm9hcmQ6NzA5MDM1NjAzNzc1MDA4NDk2",
"url": "/leonardohomefinds/pynov-qa-temporal-1794799265835/",
"cover_images": {
"…": "1 fields"
},
"is_collaborative": false,
"section_count": 0,
"id": "709035603775008496",
"collaborating_users": [],
"board_order_modified_at": "Mon, 16 Nov 2026 03:21:32 +0000",
"image_cover_url": "https://i.pinimg.com/200x150/e3/40/53/e34053f07373d0570b00d7ffef00a102.jpg",
"owner": {
"…": "11 fields"
},
"…": "7 more fields"
},
"aggregated_pin_data": {
"node_id": "QWdncmVnYXRlZFBpbkRhdGE6NDAzODg1NjE2NzkyNTExOTA0MA=="
},
"…": "33 more fields"
},
"… 4 more"
],
"bookmark": "Y2JVSG81V2sxcmNHRlpWM1J5VFVad1ZsWlVSbXRXTVVZMldWVlZNV0pIUlhkV2FsSlhVbnBXTTFreU1W…"
}

Parameters

NameTypeDescription
qquery · requiredstringKeywords. Example: living room ideas.
afterquerystringCursor: the previous page’s bookmark.
Response fields

200 with a PinterestPinPage, in Pinterest’s own pin, board and user objects.

FieldTypeDescription
dataPinterestPin[]
bookmarkstringPass it as after for the next page; absent on the last page.
Status codes
StatusMeaning
200A page of pins.
400Invalid input. Nothing was charged.
401Missing or invalid API key.
402Not enough credits, a spend cap was reached, or payment is required.
403The target is private, or the account is suspended.
404The pin, board, account or topic does not exist, is not public, or is only known by an encrypted id.
429Too many requests. Wait for Retry-After seconds.
503Pinterest is temporarily unavailable. Retryable; nothing was charged.

Every error has code, message, hint and retryable. All error codes

Questions

How do I get the next page?

Pass the response’s bookmark back as after.

Why no save counts in search?

Pinterest leaves them out of logged-out search and uses encrypted ids there. Read a pin’s counts with the pin endpoint and a numeric id from a board or profile.

Pinterest is a trademark of Pinterest, Inc. We are not affiliated with or endorsed by Pinterest.