URL indexing in Google

前端 未结 2 836
無奈伤痛
無奈伤痛 2021-01-15 04:29

I want to check that a specific url is indexed in google using asp.net. Is google provide any api, webmethod anything regarding this.

Please provide your comments if

2条回答
  •  梦毁少年i
    2021-01-15 04:43

    You could use Google's JSON/Atom Custom Search API to accomplish that. Search for a website's address like ?q=www.stackoverflow.com and if you get any results, it's indexed.

    To access this API in .NET you can use Google's APIs Client Library for .NET.

    According to this answer on SO, it's probably not a good idea to to it without using an official API provided by Google because that would be against their ToS.

提交回复
热议问题