Google SERP Scraper
Pricing
from $3.00 / 1,000 results
Pricing
from $3.00 / 1,000 results
Rating
0.0
(0)
Developer
Logical Variety
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
a day ago
Last modified
Categories
Security
Limited permissionsShare
Get Google search results as structured JSON.
Pick an action and fill in its fields — the Actor fetches the data once and stores the answer in the dataset: a list as one item per element.
Input
action is required and selects what to fetch.
Each action uses only its own fields: fields of other actions are ignored and not sent. A key that is not a field of this Actor (e.g. a typo) fails the run. Required fields are checked before any request; an empty or whitespace-only string counts as a missing value.
| Action | What it returns | Required | Optional |
|---|---|---|---|
search | Search results | query | hl, gl, offset |
| Field | Type | Description |
|---|---|---|
query | string | Search query, e.g. postman. |
hl | string | Host language, e.g. en. |
gl | string | Host country, e.g. us. |
offset | integer, >= 0 | Result offset for pagination, starting from 0. |
Example:
{"action":"search","query":"postman","hl":"en","gl":"us"}
Output
search(searchResult): one dataset item per element of the list, as is. The rest of the answer (cursor, counters and other fields without the list) is stored in key-value store recordPAGE_INFO; an answer with nothing but the list writes no record. An empty list stores no items.- A rejected value (e.g. a query the source does not accept) or an item the source
reports as missing is stored as one item
{ "success": false, "response": 2, "response_type": "invalid request", "message": "..." }("response": 10,"page not found"when the source reports 404 or 410) and the run still succeeds. Only error items have thesuccessfield. - The run fails without storing data when the input is invalid (checked before any request), the data source is unavailable or returns an unexpected answer, or it does not answer within 60 seconds.
Pricing
This Actor uses pay-per-event pricing: you pay for the Actor start and for each result, platform usage (compute) is included. The prices are on the Actor's page in Apify Store.
- A result is one dataset item with data:
search— each element of the list. - Only the Actor start is charged for an error item, an empty list and a run that fails.
- With a maximum cost per run set, the Actor stores only as many items as the limit covers: the rest of the answer is not stored.
Run via API
curl -X POST \"https://api.apify.com/v2/acts/logical_variety~google-serp/run-sync-get-dataset-items?token=<APIFY_TOKEN>" \-H "Content-Type: application/json" \-d '{"action":"search","query":"postman","hl":"en","gl":"us"}'