Platforms/Google

Google

Google API

Search advertisers in Google's Ads Transparency Center and read their ads by country, format, Google service and dates, read Google Play apps with their ratings, installs and prices, their reviews, app search and a developer's apps, search Google News, its top stories and sections, and read Google Trends: trending searches, interest over time and by region, and related searches, as JSON. Every call reads what a logged-out visitor sees: no Google account and no developer app.

16 endpoints, each a GET request with your key in the x-api-key header.

Google Ads Transparency API

Advertisers in Google's Ads Transparency Center, their ads by country, format, Google service and dates, and each ad's versions and countries.

Google Play API

An app's details, ratings, installs and price, its reviews, app search, and a developer's apps, in any store country.

Google News API

Articles by keyword, the top stories and a section's articles in any edition, and each article's link on its publisher's site.

Google Trends API

Trending searches now, interest over time and by region, related searches, and the topics Google Trends tracks.

Your first request

Save your key and the base URL, then call the ad endpoint:

export API_KEY="your-api-key"
export API_URL="https://api.socialparse.dev"

curl -H "x-api-key: $API_KEY" "$API_URL/v1/google/ad-library/ads?url=https%3A%2F%2Fadstransparency.google.com%2Fadvertiser%2FAR16735076323512287233%2Fcreative%2FCR07264436911983296513"

Every answer has the same envelope on every platform: data, page for the next page, and meta. See Responses and Errors.

What people build with Google data

How the endpoints work together

Each Google product chains on its own ids. An advertiser's id lists its ads, and an ad's id gives its versions. An app's package name gives its details and reviews, and its developer's id the developer's other apps. A news article's id gives its publisher link. A Trends topic id stands for a topic in any words in every Trends endpoint. Every answer has the same envelope, so the same code reads them all.

Pricing

Most calls cost one credit, a not-found answer too; cached answers and other errors cost nothing, and credits never expire. New accounts start with 100 free credits. See pricing for the packs.

FAQ

Do I need Google credentials or developer approval?

No. Social Parse reads Google's public pages as a logged-out visitor does, so you only need an API key.

What does each Google call cost?

Most calls cost one credit, a not-found answer too, and the API reference shows each endpoint's cost. A page of results is one call, and cached answers and other errors cost nothing. New accounts get 100 free credits.

What about private Google content?

Only what a logged-out visitor can see is read. Content behind a login answers 403 LOGIN_REQUIRED, and something deleted answers 404 NOT_FOUND.

How fresh is the data?

Each call reads the live page. The same call within a few minutes is answered from a short cache, and deleted content is never served from it.

Which countries and languages does it cover?

Google Play and Google News take a country and a language; Google Trends takes a country or a region of it; the Ads Transparency Center takes a country or ALL.

Why do Google News links open on news.google.com?

The news endpoints give Google News links. News article link resolves each one to the article on its publisher's site.

Other platforms