Url
How many times a web page was saved to Pinterest.
GET
apiKeyheader
AuthorizationBearer <token>An API key from the dashboard: Authorization: Bearer sapi_….
url*stringThe page's address (https://www.nasa.gov/).
maxAge?integerHow old a cached answer may be, in seconds; 0 always fetches. Default and most: the endpoint's cache lifetime.
Format
int64Range
0 <= valueThe answer.
application/json- response
One item, as every single-item endpoint answers: { "data": … }.
data*How often an outside page was saved to Pinterest.
import { SocialAPI } from "@socialapihq/sdk";const client = new SocialAPI({ apiKey: process.env.SOCIALAPI_API_KEY });const { data } = await client.pinterest.url({ url: "https://www.nasa.gov/" });Example Response
{ "data": { "url": "https://www.nasa.gov/", "saves": 29625 }}