644
questions
1
vote
0
answers
31
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 ...
0
votes
0
answers
45
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 ...
0
votes
0
answers
14
views
Wrong results for restricted date search via Google Search API for Google Patens
I have been querying Google Patents with via Google Search API with queries like:
Search URL: https://www.googleapis.com/customsearch/v1?q=%22heat%22+before:publication:20090101&start=1&filter=...
0
votes
0
answers
57
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
28
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-...
0
votes
0
answers
65
views
Getting all search results from a google query
I am trying to get a list of all links to a particular subreddit but my problem is that the reddit api seems to only have access to the last 1000 posts.
To solve this I believe I can use a google ...
0
votes
0
answers
60
views
Uploading to Google Lens with Share X?
Share X is a software allows you to grab a screenshot (along other features) and then upload it to Google Images. It does so through this link:
https://www.google.com/search?q={0}&tbm=isch
Here's ...
0
votes
0
answers
139
views
Google Custom Search API giving error code 400 for no reason when ran by AI
I am trying to run an AI agent with a google search tool on it , but for some weird reason , the google API is behaving pretty weirdly and I dont know the reason.
I have setup a llama_index agent with ...
-1
votes
1
answer
73
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 ...
0
votes
0
answers
71
views
"Request contains an invalid argument." Google Search API
This link: https://customsearch.googleapis.com/customsearch/v1?cx=Search_engine_ID%0A&q=Napoleon+history+black+and+white&searchType=image&num=9&start=1&safe=high&key=API_KEY%0A&...
2
votes
1
answer
99
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
28
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
138
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
164
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
98
views
How i can get the list code url which is not indexed on the google search console using the api
How i can get the list code URL that is not indexed on the Google search console using the API? I have the service-account-key.json which only I can use to achieve this. Using PHP or Nodejs.
0
votes
0
answers
68
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=...
0
votes
0
answers
43
views
Fetch HTML from Google test rich result
is there a way to send and get the html of the pages looked by the form in https://search.google.com/test/rich-results ? Is there some API or something similar?
2
votes
3
answers
3k
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 am bit new to langchain framework. And I feel like I am missing ...
0
votes
0
answers
118
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
95
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
106
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
100
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
517
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
285
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
1k
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
159
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
311
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
185
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
68
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
745
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
202
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
316
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
378
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
99
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
1k
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
268
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
191
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
319
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
645
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
715
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
88
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
696
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
830
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
1k
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
382
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
162
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).
...
0
votes
1
answer
2k
views
How to increase queries per minute per user limit?
I have 100 queries per minute per user. But it's not enough for my project. How can I increase this limit? I already have billing account. I sent a request form to Google. But they increased only ...
6
votes
2
answers
18k
views
Module not found Error when using Google Search API (SERPAPI)
When I run this example code on my local machine:
from serpapi import GoogleSearch
params = {
"api_key": "secret_api_key",
"engine": "google",
"q&...