Google Services API
Access Google services including Scholar profiles, author information, citation data, Google Trends, News, and Images through a unified API powered by ScrapingDog.
POST
/v1/google/*Scholar Profiles
POST
/v1/google/scholar/profilesSearch for scholar profiles on Google Scholar by author name or label. Returns profile info including affiliations, citations, and research interests.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
query | string | Required | Author name or research label to search |
country | string | Optional | Country filter for results |
Google Trends
POST
/v1/google/trendsGet Google Trends data for up to 5 search terms with geographic, time, and category filtering. Returns interest over time and geographic data.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
queries | string[] | Required | List of search terms (max 5) |
geo | string | Optional | Geographic targeting (e.g., 'US', 'GB') |
timeframe | string | Optional | Time period filter |
category | integer | Optional | Category filter (integer ID) |
Google News
POST
/v1/google/newsSearch Google News with geographic targeting, time-based filtering, language restriction, and pagination.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
q | string | Required | Search query string |
location | string | Optional | Geographic location filter |
language | string | Optional | Language filter |
page | integer | Optional (default: 0) | Page number for pagination |
Google Images
POST
/v1/google/imagesSearch Google Images with extensive filters including size, color, type, aspect ratio, license, date range, and geographic targeting.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
q | string | Required | Search query string |
size | string | Optional | Image size: 'icon', 'small', 'medium', 'large', 'xlarge', 'xxlarge' |
color | string | Optional | Color filter for images |
type | string | Optional | Image type filter |
license | string | Optional | License filter for usage rights |
aspect_ratio | string | Optional | Aspect ratio filter |
location | string | Optional | Geographic targeting |
Response
Response
{
"success": true,
"message": "Google Scholar profiles search completed",
"data": {
"profiles": [
{
"name": "Geoffrey Hinton",
"affiliation": "University of Toronto",
"cited_by": 740000,
"interests": [
"machine learning",
"neural networks",
"deep learning"
],
"author_id": "JicYPdAAAAAJ"
}
]
}
}Examples
import requests
API_KEY = "your_api_key_here"
BASE_URL = "https://api.qinyanai.com"
# Search scholar profiles
response = requests.post(
f"{BASE_URL}/v1/google/scholar/profiles",
headers={"Authorization": f"Bearer {API_KEY}"},
json={"query": "Geoffrey Hinton"}
)
# Get author details
response = requests.post(
f"{BASE_URL}/v1/google/scholar/author",
headers={"Authorization": f"Bearer {API_KEY}"},
json={"author_id": "JicYPdAAAAAJ"}
)
# Google Trends
response = requests.post(
f"{BASE_URL}/v1/google/trends",
headers={"Authorization": f"Bearer {API_KEY}"},
json={"queries": ["ChatGPT", "Claude", "Gemini"], "geo": "US"}
)
# Google News
response = requests.post(
f"{BASE_URL}/v1/google/news",
headers={"Authorization": f"Bearer {API_KEY}"},
json={"q": "artificial intelligence breakthroughs"}
)
# Google Images
response = requests.post(
f"{BASE_URL}/v1/google/images",
headers={"Authorization": f"Bearer {API_KEY}"},
json={"q": "neural network architecture diagram", "size": "large"}
)