Pinterest Trends Scraper API
Returns what people in one market are searching for on Pinterest, with no keyword in: the Pinterest Trends list for a country and a table. type picks the table: growing (terms rising fastest, the default), seasonal (terms that come back at this time every year), top_monthly or top_yearly (the most searched). Each item has rank (1 is the top), term, country, market (the list Pinterest reads it from: Ireland reads GB+IE, Australia and New Zealand read AU+NZ, Great Britain alone has its own list), type, search_index (relative search volume, 0 to 100 within the answer), weekly_change, monthly_change and yearly_change (as Pinterest reports them, a fraction where 0.3 is +30%; Pinterest reports 100.01 for a term that was near zero before), seasonality (0 to 1), url (the term's Pinterest Trends page) and as_of (the date Pinterest's weekly data is as of; null on the rare call served while Pinterest throttles the primary route).
GET /api/v1/data/pinterest/trends · 10 credits per call · The same call repeated within 6 hours may get the same answer, so data can be up to 6 hours old.
Inputs
country: ISO country code, in any case: AR, AU, BR, CA, CO, DE, EG, ES, FR, GB, ID, IE, IN, IT, KR, MX, MY, NZ, PH, SA, TH, TR, US. IE reads Pinterest's GB+IE list and AU and NZ read AU+NZ; GB alone has its own list. Defaults to US.type: Which Pinterest Trends table: growing (the default), seasonal, top_monthly or top_yearly.limit: How many terms to return, from the top, 1 to 50. Defaults to 25. The price is the same at any depth.exclude: Drop terms containing any of these keywords, comma-separated (up to 10, e.g. fall).
What comes back
result_status(string): success, or not_available when the item does not exist, was removed or is not public.items[].as_of(string): The week the figures are for, as YYYY-MM-DD. Pinterest publishes weekly. Null when Pinterest gives none.items[].country(string): The country code the request asked for.items[].market(string): The market Pinterest published the list for. Some countries share one, such as GB+IE or AU+NZ.items[].monthly_change(number): The change in searches over the past month, in percent. Null when Pinterest gives none.items[].rank(integer): The term's position in the list, starting at 1.items[].search_index(number): How much the term is searched, scaled so the most searched term in the list is 100. Null when Pinterest gives none.items[].seasonality(number): How seasonal the term is, from 0 to 1. Null when Pinterest gives none.items[].term(string): The search term.items[].type(string): Which Pinterest table the term comes from.items[].url(string): The term's page on Pinterest Trends.items[].weekly_change(number): The change in searches over the past week, in percent. Null when Pinterest gives none.items[].yearly_change(number): The change in searches over the past year, in percent. Null when Pinterest gives none.source_data(object): Everything the platform sent for this call, as it came.
Good to know
- Each call costs 10 credits. A call that finds nothing, or fails, is free.
- The same call repeated within 6 hours may get the same answer, so data can be up to 6 hours old.
Example call
GET /api/v1/data/pinterest/trends?country=DE
Questions
How much does the Pinterest Trends API cost?
Each call costs 10 credits. A call that finds nothing, or fails, costs nothing.
What do I send?
4 more inputs are optional: country, type, limit and exclude. Inputs go in the query string of a GET, or as JSON in a POST, along with your API key.
How fresh is the data?
The same call repeated within 6 hours may get the same answer, so data can be up to 6 hours old.
Do I need a Pinterest account or developer app?
No. You call SocialHz with your SocialHz API key, and the same key works for every platform.
Can I try it before paying?
Yes. Signing up gives you 10 free credits, with no card needed.