Pinterest Board API
A board's metadata and its pins, cursor-paginated at up to 50 per page. Costs 1 credit per request.
POST/api/v1/pinterest/board
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your Scavio API key (e.g. Bearer sk_live_your_key).
Body
application/jsonboardstringrequiredBoard URL, a username/slug pair like pinterest/spice-up-your-dinner-plans, or a numeric board id.
Example: https://www.pinterest.com/pinterest/spice-up-your-dinner-plans/
cursorstringOpaque pagination cursor from a previous response. Omit for the first page; when the response's cursor is null the feed is exhausted.
page_sizeintegerdefault:25Pins per page, 1-50.
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
result = client.pinterest.board("pinterest/spice-up-your-dinner-plans", page_size=25)
print(result)Response
"count": 25,
"cursor": "Y2JZakk0ZVU1WWR6Qk9SRTB3VG1wbk5FOUVVVEZPZWxVeFRWUlZORXRyWkZKVVEzQTRUMFJrYTA1cVpHdE5NbFV6V1ZkV2EwMUVWVEJQUjA1cVRrUm9iRmxxYTNoTmVsa3pUVEpLYVZwVVNtMVpiVmswV1cxWmVrOVhTVEZaVjBVd1RsUkthRTlVWTNwT2VrbDRUVVJDYWs1RVZtMVplazB3VFc1NFQxSldaRGc9fFVIbzVUMkl5Tld4bVJGRXdUWHBSTWs5RVp6Uk9SRlV6VGxS..."
},
"response_time": 6447
}