0

I'm using the Google Custom Search JSON API to check whether a specific URL is indexed. However, even though I can find the page in Google manually, the API returns totalResults: 0

Here’s the URL I’m checking: https://diario24horas.com/madrid/consigue-un-cabello-liso-y-saludable-con-un-alisado-permanente-organico-en-dim-salon/

And this is the request I'm sending:

GET https://www.googleapis.com/customsearch/v1?q=site:https://diario24horas.com/madrid/consigue-un-cabello-liso-y-saludable-con-un-alisado-permanente-organico-en-dim-salon/&key=API_KEY&cx=MY_cx

I get this response:

{
  "searchInformation": {
    "totalResults": "0"
  }
}

a solution for my problem

1 Answer 1

0

Is your engine configured to search the full web? CSE only provides a subset of the full web indexed by Google

https://support.google.com/programmable-search/answer/70392

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.