Plant Care Assistant | Garden Expert |Shop | Spout
Plant Care Assistant | Garden Expert |Shop | Spout · Actions GPT
Google Search Results Scraper
Scrape Google Search Engine Results Pages (SERPs). Select the country or language and extract organic and paid results, ads, queries, People Also Ask, prices, reviews, like a Google SERP API. Export scraped data, run the scraper via API, schedule and monitor runs, or integrate with other tools.
POST /acts/apify~google-search-scraper/run-sync-get-dataset-items?clean=true&format=json&fields=searchQuery,resultsTotal,relatedQueries,paidResults,paidProducts,organicResults,peopleAlsoAskScrape Google Search Engine Results Pages (SERPs). Select the country or language and extract organic and paid results, ads, queries, People Also Ask, prices, reviews, like a Google SERP API. Export scraped data, run the scraper via API, schedule and monitor runs, or integrate with other tools.
Schéma original API
{
"openapi": "3.1.0",
"info": {
"title": "Google Search Results Scraper",
"description": "Scrape Google Search Engine Results Pages (SERPs). Select the country or language and extract organic and paid results, ads, queries, People Also Ask, prices, reviews, like a Google SERP API. Export scraped data, run the scraper via API, schedule and monitor runs, or integrate with other tools.",
"version": "v1"
},
"servers": [
{
"url": "https://api.apify.com/v2"
}
],
"paths": {
"/acts/apify~google-search-scraper/run-sync-get-dataset-items?clean=true&format=json&fields=searchQuery,resultsTotal,relatedQueries,paidResults,paidProducts,organicResults,peopleAlsoAsk": {
"post": {
"operationId": "apify_google-search-scraper",
"x-openai-isConsequential": false,
"summary": "Scrape Google Search Engine Results Pages (SERPs). Select the country or language and extract organic and paid results, ads, queries, People Also Ask, prices, reviews, like a Google SERP API. Export scraped data, run the scraper via API, schedule and monitor runs, or integrate with other tools.",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/inputSchema"
}
}
}
},
"responses": {
"200": {
"description": "OK"
}
}
}
}
},
"components": {
"schemas": {
"inputSchema": {
"type": "object",
"required": [
"queries"
],
"properties": {
"queries": {
"title": "Search term(s)",
"pattern": "[^\\s]+",
"type": "string",
"description": "Use regular search words or enter Google Search URLs. You can also apply [advanced Google search techniques](https://blog.apify.com/how-to-scrape-google-like-a-pro/), such as <code>AI site:twitter.com</code> or <code>javascript OR python</code>."
},
"resultsPerPage": {
"title": "Results per page",
"minimum": 1,
"maximum": 100,
"type": "integer",
"description": ""
},
"maxPagesPerQuery": {
"title": "Max pages per search",
"minimum": 1,
"type": "integer",
"description": ""
},
"countryCode": {
"title": "Country",
"enum": [
"",
"af",
"al",
"dz",
"as",
"ad",
"ao",
"ai",
"aq",
"ag",
"ar",
"am",
"aw",
"au",
"at",
"az",
"bs",
"bh",
"bd",
"bb",
"by",
"be",
"bz",
"bj",
"bm",
"bt",
"bo",
"ba",
"bw",
"bv",
"br",
"io",
"bn",
"bg",
"bf",
"bi",
"kh",
"cm",
"ca",
"cv",
"ky",
"cf",
"td",
"cl",
"cn",
"cx",
"cc",
"co",
"km",
"cg",
"cd",
"ck",
"cr",
"ci",
"hr",
"cu",
"cy",
"cz",
"dk",
"dj",
"dm",
"do",
"ec",
"eg",
"sv",
"gq",
"er",
"ee",
"et",
"fk",
"fo",
"fj",
"fi",
"fr",
"gf",
"pf",
"tf",
"ga",
"gm",
"ge",
"de",
"gh",
"gi",
"gr",
"gl",
"gd",
"gp",
"gu",
"gt",
"gn",
"gw",
"gy",
"ht",
"hm",
"va",
"hn",
"hk",
"hu",
"is",
"in",
"id",
"ir",
"iq",
"ie",
"il",
"it",
"jm",
"jp",
"jo",
"kz",
"ke",
"ki",
"kp",
"kr",
"kw",
"kg",
"la",
"lv",
"lb",
"ls",
"lr",
"ly",
"li",
"lt",
"lu",
"mo",
"mk",
"mg",
"mw",
"my",
"mv",
"ml",
"mt",
"mh",
"mq",
"mr",
"mu",
"yt",
"mx",
"fm",
"md",
"mc",
"mn",
"ms",
"ma",
"mz",
"mm",
"na",
"nr",
"np",
"nl",
"an",
"nc",
"nz",
"ni",
"ne",
"ng",
"nu",
"nf",
"mp",
"no",
"om",
"pk",
"pw",
"ps",
"pa",
"pg",
"py",
"pe",
"ph",
"pn",
"pl",
"pt",
"pr",
"qa",
"re",
"ro",
"ru",
"rw",
"sh",
"kn",
"lc",
"pm",
"vc",
"ws",
"sm",
"st",
"sa",
"sn",
"cs",
"sc",
"sl",
"sg",
"sk",
"si",
"sb",
"so",
"za",
"gs",
"es",
"lk",
"sd",
"sr",
"sj",
"sz",
"se",
"ch",
"sy",
"tw",
"tj",
"tz",
"th",
"tl",
"tg",
"tk",
"to",
"tt",
"tn",
"tr",
"tm",
"tc",
"tv",
"ug",
"ua",
"ae",
"gb",
"us",
"um",
"uy",
"uz",
"vu",
"ve",
"vn",
"vg",
"vi",
"wf",
"eh",
"ye",
"zm",
"zw"
],
"type": "string",
"description": "Specifies the country used for the search and the Google Search domain (e.g. <code>google.es</code> for Spain). By default, the actor uses United States (<code>google.com</code>)."
},
"languageCode": {
"title": "Language",
"enum": [
"",
"af",
"sq",
"sm",
"ar",
"az",
"eu",
"be",
"bn",
"bh",
"bs",
"bg",
"ca",
"zh-CN",
"zh-TW",
"hr",
"cs",
"da",
"nl",
"en",
"eo",
"et",
"fo",
"fi",
"fr",
"fy",
"gl",
"ka",
"de",
"el",
"gu",
"iw",
"hi",
"hu",
"is",
"id",
"ia",
"ga",
"it",
"ja",
"jw",
"kn",
"ko",
"la",
"lv",
"lt",
"mk",
"ms",
"ml",
"mt",
"mr",
"ne",
"no",
"nn",
"oc",
"fa",
"pl",
"pt-BR",
"pt-PT",
"pa",
"ro",
"ru",
"gd",
"sr",
"si",
"sk",
"sl",
"es",
"su",
"sw",
"sv",
"tl",
"ta",
"te",
"th",
"ti",
"tr",
"uk",
"ur",
"uz",
"vi",
"cy",
"xh",
"zu"
],
"type": "string",
"description": "Language for the search results, which is passed to Google Search as the <code>hl</code> URL query parameter. Only set this if you want to use a non-default language for the selected country.",
"default": ""
},
"locationUule": {
"title": "Exact location (Google UULE parameter)",
"type": "string",
"description": "The code for the exact location for the Google search. It's passed to Google Search as the <code>uule</code> URL query parameter. You can use the <a href='https://padavvan.github.io/' target='_blank'>UULE code generator</a>. Learn more about <a href='https://moz.com/ugc/geolocation-the-ultimate-tip-to-emulate-local-search' target='_blank'>emulating local search</a>."
},
"mobileResults": {
"title": "Mobile results",
"type": "boolean",
"description": "If checked the scraper will return results for mobile version of Google search. Otherwise desktop results are returned.",
"default": false
},
"includeUnfilteredResults": {
"title": "Unfiltered results",
"type": "boolean",
"description": "If checked the lower quality results that Google normally filters out will be included.",
"default": false
},
"saveHtml": {
"title": "Save HTML to dataset",
"type": "boolean",
"description": "If checked the HTML of the Google Search results pages will be stored to the default dataset, under the <code>html</code> property. This is useful if you need to process the HTML, but it makes the dataset large.",
"default": false
},
"saveHtmlToKeyValueStore": {
"title": "Save HTML to key-value store",
"type": "boolean",
"description": "If checked the HTML of the Google Search results pages will be stored to the default key-value store and links to the files stored to the dataset under the <code>htmlSnapshotUrl</code> property. This is useful for debugging since you can easily view the pages in the browser. However, the use of this feature may slow down the Actor.",
"default": false
},
"includeIcons": {
"title": "Include icon image data (base64)",
"type": "boolean",
"description": "If checked all of the results (organicResults, paidResults, suggestedResults) will contain Base64-encoded icon image data if found.",
"default": false
}
}
}
}
}
}Google Custom Search API for Spout
API to search the web using Google's Custom Search engine, tailored for gardening and plant care. Includes filters for availability, relevance, and image analysis to ensure accurate results for gardening needs.
GET /customsearch/v1Search the web using Google Custom Search API tailored for gardeningRetrieve gardening-related results, including brand, description, price, and images. Filters out unavailable, sold-out, broken, and restricted items with image analysis for relevance.
Schéma original API
{
"openapi": "3.0.1",
"info": {
"title": "Google Custom Search API for Spout",
"description": "API to search the web using Google's Custom Search engine, tailored for gardening and plant care. Includes filters for availability, relevance, and image analysis to ensure accurate results for gardening needs.",
"version": "1.0.1"
},
"servers": [
{
"url": "https://www.googleapis.com"
}
],
"paths": {
"/customsearch/v1": {
"get": {
"summary": "Search the web using Google Custom Search API tailored for gardening",
"description": "Retrieve gardening-related results, including brand, description, price, and images. Filters out unavailable, sold-out, broken, and restricted items with image analysis for relevance.",
"operationId": "searchWebWithCustomSearchAPIForGardening",
"parameters": [
{
"in": "query",
"name": "key",
"required": true,
"schema": {
"type": "string"
},
"description": "AIzaSyBNuFWFHb7Sn0hDdw7shAOl5o6C0QDztTs",
"value": "AIzaSyBNuFWFHb7Sn0hDdw7shAOl5o6C0QDztTs"
},
{
"in": "query",
"name": "cx",
"required": true,
"schema": {
"type": "string"
},
"description": "46dbcdf5b1d8c4b70",
"value": "46dbcdf5b1d8c4b70"
},
{
"in": "query",
"name": "q",
"required": true,
"schema": {
"type": "string"
},
"description": "Search query related to gardening or plant care."
},
{
"in": "query",
"name": "num",
"required": false,
"schema": {
"type": "integer",
"format": "int32"
},
"description": "Number of search results to return. Max is 10."
}
],
"responses": {
"200": {
"description": "A successful response containing gardening-related search results.",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "The title of the search result, related to gardening."
},
"link": {
"type": "string",
"description": "The URL of the gardening-related search result."
},
"snippet": {
"type": "string",
"description": "A brief snippet of the result content, related to gardening."
},
"image": {
"type": "string",
"description": "The URL of an image associated with the gardening search result."
},
"brand": {
"type": "string",
"description": "The brand of the gardening product."
},
"description": {
"type": "string",
"description": "The description of the gardening product."
},
"color": {
"type": "string",
"description": "The color of the gardening product."
},
"price": {
"type": "string",
"description": "The price of the gardening product."
},
"availability": {
"type": "string",
"description": "The availability status of the gardening product. Possible values: 'available', 'sold-out', 'out-of-stock'."
}
}
}
},
"searchInformation": {
"type": "object",
"properties": {
"totalResults": {
"type": "string",
"description": "The total number of search results found for gardening queries."
},
"searchTime": {
"type": "number",
"format": "float",
"description": "The time taken to complete the gardening search, in seconds."
}
}
},
"filters": {
"type": "object",
"properties": {
"unavailable": {
"type": "boolean",
"description": "Filter out unavailable gardening items.",
"default": true
},
"soldOut": {
"type": "boolean",
"description": "Filter out sold-out gardening items.",
"default": true
},
"brokenLinks": {
"type": "boolean",
"description": "Filter out gardening items with broken links.",
"default": true
},
"outOfStock": {
"type": "boolean",
"description": "Filter out out-of-stock gardening items.",
"default": true
},
"restrictedProductPages": {
"type": "boolean",
"description": "Filter out restricted gardening product pages.",
"default": true
},
"popUpAndAdHeavyPages": {
"type": "boolean",
"description": "Filter out gardening pages that are pop-up and ad-heavy.",
"default": true
},
"nonResponsiveWebsites": {
"type": "boolean",
"description": "Filter out non-responsive gardening websites.",
"default": true
},
"restrictedGeographicalAvailability": {
"type": "boolean",
"description": "Filter out gardening items with restricted geographical availability.",
"default": true
}
}
},
"imageAnalysis": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"description": "Enable image analysis to ensure the displayed images match the gardening search criteria.",
"default": true
},
"criteria": {
"type": "object",
"properties": {
"relevance": {
"type": "boolean",
"description": "Ensure the displayed images are relevant to the gardening query.",
"default": true
},
"colorMatch": {
"type": "boolean",
"description": "Ensure the displayed images match the color criteria for gardening products.",
"default": true
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}