Get Pinterest account summary
curl --request GET \
--url https://api.social-api.ai/v1/platforms/pinterest/accounts/{id}/summary \
--header 'Authorization: <api-key>'const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.social-api.ai/v1/platforms/pinterest/accounts/{id}/summary', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.social-api.ai/v1/platforms/pinterest/accounts/{id}/summary"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"board_count": 23,
"follower_count": 12400,
"monthly_views": 1200000,
"pin_count": 847,
"profile_image": "https://i.pinimg.com/x.jpg",
"username": "boardandco"
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}Accounts
Get Pinterest account summary
Returns the connected Pinterest account’s public profile counts: followers, pins, boards, and monthly views.
GET
/
platforms
/
pinterest
/
accounts
/
{id}
/
summary
Get Pinterest account summary
curl --request GET \
--url https://api.social-api.ai/v1/platforms/pinterest/accounts/{id}/summary \
--header 'Authorization: <api-key>'const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.social-api.ai/v1/platforms/pinterest/accounts/{id}/summary', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.social-api.ai/v1/platforms/pinterest/accounts/{id}/summary"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"board_count": 23,
"follower_count": 12400,
"monthly_views": 1200000,
"pin_count": 847,
"profile_image": "https://i.pinimg.com/x.jpg",
"username": "boardandco"
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}Authorizations
Prefix your API key with "Bearer ". Example: Authorization: Bearer sapi_key_...
Path Parameters
Connected account ID