Search Pinterest pins by keyword and get titles, images, pinner and destination links, with cursor pagination.
2 credits/ call
Never more than 36 credits a call.
You only pay when data comes back.
curl -X POST "https://api.primaryapi.com/v1/run/pinterest.search" \
-H "Authorization: Bearer $PRIMARYAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query":"home decor","limit":10}'{
"output": {
"found": true,
"data": {
"nextCursor": "<string | null>",
"items": [
{
"title": "<string | null>",
"description": "<string | null>",
"image": "<string | null>",
"author": "<string | null>", …
}
]
}
},
"credits": 2
}Input and output
4 fields
home decor.10.10 fields
Good to know
Pin images are third-party content. URLs only.
One page per call. Send nextCursor back as cursor to read the next page.
The same key and credits work for every API.