641 questions
0
votes
0
answers
145
views
Google CSE API returns different results than public CSE URL and regular Google search
I'm encountering inconsistent search results between Google's Custom Search JSON API, the public CSE URL, and regular Google searches despite identical queries and configuration. Here's my setup:
CSE ...
0
votes
0
answers
57
views
How can I filter websites by language in Google Vertex AI search?
In the now deprecated Custom Search Engine there was a filed "lr" that would filter by the language. When using the advanced indexing there is no explanation or documentation on how I can ...
0
votes
0
answers
225
views
Vertex AI Website Search using DiscoveryEngine API not return the images URL in the search resulted
We are using the Vertex AI Website Search using DiscoveryEngine API.
But the API was not returning the correct value for some keywords.
So we upgrade the API DataStore to Advanced search. With this we ...
0
votes
0
answers
103
views
How can I concatenate or append sorting variables to search URLs?
This is a followup to my earlier question How can I get tabbed site and image search results using Google Programmable Search?
I'm now trying to add date and sort parameters to the two URLs as ...
0
votes
0
answers
58
views
bulk download not indexed pages urls from Google Search Console
I have about 10.000 pages that are not indexed on a website. I want to download all the URLs in bulk but I don't know how.
I found something about a bulk download via Google Cloud, but it seems like ...
3
votes
2
answers
296
views
How can I get tabbed site and image search results using Google Programmable Search?
I'm trying to develop a tabbed search results page using the Google Programmable Search Engine (PSE) and their JSON API in order to have the same appearance as Google's hosted search engine, which ...
0
votes
1
answer
82
views
Changing nested markup with getElementsByClassName
I'm working with the API of Google's Programmable Search Engine and using a callback to chnage the stying of output, specificaly the font size of the title of each search result snippet.
What I have ...
0
votes
1
answer
172
views
How can we automate data fetching for Core Web Vitals?
I have been asked to maintain a daily report where I keep a track of the number of good, poor and average urls every alernative day. The way that this works is usually that today, we would get the ...
1
vote
0
answers
53
views
Google Programmable Search Engine
I have a website with the following structure:
site.com/game-01
site.com/game-02
site.com/game-03
and so on...
There are additional sections for each such section:
site.com/game-01/news
site.com/game-...
1
vote
1
answer
971
views
Searching through a specific list of websites using Google Search
I'm using SerpAPI Google Search to find shopping results and I have been trying to find a way to limit my search results to come from a specific list of websites. I couldn't find any direct parameters ...
1
vote
0
answers
165
views
Differences Between API and Web Interface results in Google Custom Search Engine
I'm currently working on a project that utilizes the Google Custom Search Engine (CSE) API to retrieve fact-checked information based on user queries. However, I'm encountering a significant issue ...
1
vote
0
answers
125
views
What is API endpoint for Google Search Results Page
There is private autocomplete endpoint:
https://wwww.google.com/complete/search?q=term&client=chrome
And I wonder how does google get its SERP results?
I inspected HTTP requests through Dev Tools ...
0
votes
1
answer
45
views
Rows data before 3-4 days are empty
I use Service Account and their credentials for fetching rows and everything was good.
Now I get empty rows for last 3-4 days, but when I used 5 days before time range, I get data, but this old data-...
-1
votes
1
answer
121
views
Scrape Google Search Results Python BeautifulSoup
I have a query for google, which show me 8000 results with link, I only want to scrape links(urls) in search results, I am able to get first page links, Is there any method to scrape next pages. Here ...
2
votes
1
answer
119
views
Perl: WWW::Google::CustomSearch: Missing required arguments?
(2024-03-01 update: following question was misleeding. This bug was already reported to the maintainer and I found a workaround. Please see the comments)
I'm writting a script to run the Google Custom ...
0
votes
0
answers
32
views
wrong number of results from google search
I have a problem with a difference between number of results from my code and directly from google search.
My code showes me for example i have 334 000 000 results for 'Python programming language', ...
0
votes
1
answer
212
views
does Mobile-Friendly Test API still working on 2024?
i was about to get datas from Mobile-FriendlyTest with google search console api
$request = new Request('POST', 'https://searchconsole.googleapis.com/v1/urlTestingTools/mobileFriendlyTest:run?key='.$...
0
votes
0
answers
324
views
Using Google api in CodeIgniter 4
I want to use google api in my CodeIgniter 4.
First I have downloaded and installed google api from https://github.com/googleapis/google-api-php-client
2nd i need to create library in CI4 library
...
0
votes
0
answers
149
views
Getting the full HTML Response with Google Search API
i am trying to get the full html response of an http request with Google Search API.
GET https://www.googleapis.com/customsearch/v1?key=MY_API_KEY&exactTerms=site:trovaweb24.com&cx=...
4
votes
3
answers
6k
views
Parsing error on langchain agent with gpt4all llm
I am trying to integrate GPT4All with serpapi agent from langchain.
But I am getting parsing error.
Agent unable to parse llm output.
I beleive the agent is expecting an output
Thought: ....
but not ...
0
votes
0
answers
178
views
Fetching authorized Google Search Console user websites?
I'm making a SAAS that will index articles and pages faster using Google Search Console API. I have made the authoisation with Next-Auth since I'm using NextJS. The user logs in with their google ...
1
vote
1
answer
114
views
Google Search Console API permissions on sudomains
Good day!
I have a series of domains on Google Search Console:
domain.eu
sub.domain.eu
test.sub.domain.eu
I have permissions for all three of them as Domain property (without protocol prefixes).
I ...
1
vote
1
answer
178
views
Using google search api to only give results from certain websites
I'm making a react app that uses the google search api allows users to submit websites that they want their search results to come from. I'm having trouble with getting results only from those ...
0
votes
0
answers
200
views
Too Many Request(Google Search API)
I am trying to perform scrapping using google search API ( www.google.com/search?q=keyword ). I am calling this API and giving a keyword in each loop iteration. I also pause the process in each ...
-1
votes
1
answer
811
views
Why is my google custom search API call from python not working?
When I run the following code I am getting an error response (see the second snippet). I have checked and made sure the GOOGLE_SEARCH_KEY and the SEARCH_ENGINE_ID are valid and I have billing set up ...
-1
votes
1
answer
346
views
programmable search engine returns 400 Request contains an invalid argument
When I call this url from Java code, postman or a web browser
URL:
https://customsearch.googleapis.com/customsearch/v1?key=AIzaSyCca5akhZ492pP08QBchz5Q4QA6kFYsBrc&cx=923a7bcc712ee431d&...
0
votes
1
answer
2k
views
Is there any way to get more than 100 results at a time from a Google SERP API?
I've been stuck on this issue for so long. Basically I'm supposed to crawl throught the search results page and extract the urls of the first 10000 results. But with the APIs I can only get upto 100 ...
0
votes
0
answers
173
views
Google Search Console API returning 403 Error
I'm getting 403 error when trying to access Google Search console API.
Google Search Console API is enabled
Services account + Key generated and added to .env.local
but I'm getting error below.
[...
0
votes
0
answers
379
views
How to write a query to get the list of 20 highest rated books from google book API?
I am working with Stepzen, using Google Search Books API.
This is a query to search for books by the variable name $q entered:
query SearchBooks($q: String) {
googleBooksSearch(q: $q, country: &...
2
votes
0
answers
205
views
Sending multipart/mixed request in JavaScript
i want to send multipart request to Google Search Console as described in here
https://developers.google.com/webmaster-tools/v1/how-tos/batch#batch-example-request
I'm looking for any help how to send ...
0
votes
0
answers
75
views
Custom JSON API search using operator "site"
I need to check several hundred websites/pages a day for the presence of a Google index, in fact, I need an imitation of site:something.com. I use Custom Search JSON API
`
$search_query = ...
1
vote
0
answers
908
views
How can I search a local image with Google reverse image search?
From a Delphi 32-bit Windows VCL Application in Delphi 11 Alexandria, is it possible to programmatically reverse-search Google Images by uploading a local image file?
The Google Reverse Image API is ...
0
votes
0
answers
229
views
Google API Crux API - Invalid JSON payload received. Unknown name "collectionPeriod": Cannot find field.'
I'm trying to set a date range using collectionPeriod for the google Crux API (https://developer.chrome.com/docs/crux/api/)
url = "https://chromeuxreport.googleapis.com/v1/records:queryRecord?key=...
0
votes
1
answer
501
views
How to use did you mean and showing results for suggestions from google
So basically I would like to use a spell checker for different places, countries, types of foods in my program google search engine does a pretty good job in identifying mistakes in the sentences. Am ...
2
votes
0
answers
395
views
PHP Google Search Console API "invalid_grant" response
I am using following PHP code to fetch data through Google Search Consonle API.
It was working fine 2 months ago but now it's showing invalid grand message instead of data. Please! need your help.
...
1
vote
0
answers
115
views
Return a list of keywords associated with a place id in Google API?
Google API allows to retrieve a list of places based on Text Search in an area and the place_id initially retrieved can then be used with Place Details to get more information. However Google doesn't ...
2
votes
1
answer
2k
views
How to tell google not to index header and footer of a website
I am using the google search api to provide a site search function for my website. However, I got a problem on the search results since Google will index whole content on every pages, including the ...
0
votes
1
answer
311
views
Use full name as one word using Google Custom Search
I have a list of 14 keywords, as well as the name. I need to send a request through the Custom Search JSON API by building the following query:
"name * keyword1" OR "name * keyword2&...
1
vote
1
answer
2k
views
Google custom search: can't get api key
I want to programmatically search the web using Google, and after hours of Google searching I have found this answer, but it was written in 2016 and many things have changed since then.
Following the ...
0
votes
1
answer
204
views
Failed to load resource: the server responded with a status of 404 (Not Found) for google clone react app
i integrated my react app with google search api from rapidapi.com,everything is working except the image result (nothing is shown in image result)and when checked the console of chrome its showing ...
-1
votes
1
answer
326
views
google shared drive search api
i have lots of google shared drive and many content in it , currently trying to search some query and i got only limited result , but when i am trying to search those query in drive i got many results....
1
vote
1
answer
2k
views
Google Search Console API, URL Inspection
I want to use the Google Search Console API to check if an url is indexed.
$client = new Google_Client();
$client->setAuthConfig( json_decode( $json, true ));
$scopes = ['https://www.googleapis.com/...
0
votes
1
answer
673
views
Google Search console API > index inspect gives bool(false)
I'm trying to build a script to use the new Google Search Console API url inspection method : https://developers.google.com/webmaster-tools/v1/urlInspection.index/inspect
I'm fine getting the token ...
1
vote
2
answers
863
views
Google Custom Search API not returning results
In google custom search I have set $key and $cx parameter correctly to my url
$googleApiUrl = 'https://www.googleapis.com/customsearch/v1?cx=[MYSEARCHENGINEID]&lr=lang_en&q=jeans&key=[...
1
vote
0
answers
113
views
Changing div parameter in Google programmable search does not rerender the page
I have build a React app containing a google programable search (cse). Within the div element I have added a custom parameter data-as_oq that is population with a state variable:
<div className='...
1
vote
1
answer
835
views
How to prefill the search box of a Programmable Google Search
I have the following simple HTML code on my web page that will allow a user to do a custom Google Search:
<script async src="https://cse.google.com/cse.js?cx=partner-pub-xxx:yyy"></...
0
votes
1
answer
1k
views
Google Programmable Search Engine: Search only for HTTPS websites
I want to configure my google search engine in order to search only for HTTPS websites. I found something like Google Programmable Search Engine. I am now struggling to configure the HTTPS-pattern of ...
0
votes
3
answers
4k
views
Which filetypes can be explicitly searched for in Google search? [closed]
I was surprised not to find any data in the following google search
US Politics filetype:csv
After some tinkering, I realised any search for filetype:csv will return 0 results!
In the past, searches ...
2
votes
1
answer
524
views
Google Search Console API is returning no data
I am getting empty data when trying to query the data.
Request Params:
{
"startDate": "2021-07-24",
"endDate": "2021-10-04",
"aggregationType": &...
2
votes
1
answer
179
views
Chainlink request not returning the integer at the followed path
I have a very simple smart contract which creates and sends a Chainlink request to the Kovan Linkpool node using the get>uint256 job. The contract looks like this (API private key removed).
...