API Reference

অনুসন্ধান কনসোল এপিআই নিম্নলিখিত পরিষেবাগুলি সরবরাহ করে:

  • Search Analytics - Query traffic data for your site.
  • সাইটম্যাপস - আপনার সমস্ত সাইটম্যাপগুলি তালিকাভুক্ত করুন, একটি নির্দিষ্ট সাইটম্যাপ সম্পর্কে তথ্যের জন্য অনুরোধ করুন এবং গুগলে একটি সাইটম্যাপ জমা দিন।
  • Sites - List/add/remove properties from your Search Console account.
  • URL Inspection - Inspect the status of a page in the Google index (equivalent to URL Inspection in Search Console).

অনুসন্ধান বিশ্লেষণ

For Search Analytics Resource details, see the resource representation page.

পদ্ধতি HTTP অনুরোধ বর্ণনা
URIs relative to https://www.googleapis.com/webmasters/v3, unless otherwise noted
প্রশ্ন POST /sites/ siteUrl /searchAnalytics/query

Query your search traffic data with filters and parameters that you define. The method returns zero or more rows grouped by the row keys (dimensions) that you define. You must define a date range of one or more days.

When date is one of the dimensions, any days without data are omitted from the result list. To learn which days have data, issue a query without filters grouped by date, for the date range of interest.

Results are sorted by click count descending. If two rows have the same click count, they are sorted in an arbitrary way.

See the python sample for calling this method.

JSON POST Example:
POST https://www.googleapis.com/webmasters/v3/sites/https%3A%2F%2Fwww.example.com%2F/searchAnalytics/query
{
  "startDate": "2015-04-01",
  "endDate": "2015-05-01",
  "dimensions": ["country","device"]
}

সাইটম্যাপ

For Sitemaps Resource details, see the resource representation page.

পদ্ধতি HTTP অনুরোধ বর্ণনা
URIs relative to https://www.googleapis.com/webmasters/v3, unless otherwise noted
মুছে ফেলুন DELETE /sites/ siteUrl /sitemaps/ feedpath এই সাইট থেকে একটি সাইটম্যাপ মুছে দেয়।
পেতে GET /sites/ siteUrl /sitemaps/ feedpath Retrieves information about a specific sitemap.
তালিকা GET /sites/ siteUrl /sitemaps Lists the sitemaps-entries submitted for this site, or included in the sitemap index file (if sitemapIndex is specified in the request).
জমা PUT /sites/ siteUrl /sitemaps/ feedpath Submits a sitemap for a site.

সাইট

For Sites Resource details, see the resource representation page.

পদ্ধতি HTTP অনুরোধ বর্ণনা
URIs relative to https://www.googleapis.com/webmasters/v3, unless otherwise noted
যোগ করুন PUT /sites/ siteUrl Adds a site to the set of the user's sites in Search Console.
মুছে ফেলুন DELETE /sites/ siteUrl ব্যবহারকারীর সার্চ কনসোল সাইটগুলির সেট থেকে একটি সাইট সরিয়ে দেয়।
পেতে GET /sites/ siteUrl Retrieves information about specific site.
তালিকা GET /sites Lists the user's Search Console sites.

ইউআরএল পরিদর্শন

ইউআরএল পরিদর্শন সম্পদ বিবরণের জন্য, সম্পদ প্রতিনিধিত্ব পৃষ্ঠা দেখুন।

পদ্ধতি HTTP অনুরোধ বর্ণনা
https://searchconsole.googleapis.com/v1 এর সাথে সম্পর্কিত URI
index.inspect POST /urlInspection/index:inspect

Google সূচকে দেওয়া URL সম্পর্কে তথ্য।

JSON POST Example:
POST https://searchconsole.googleapis.com/v1/urlInspection/index:inspect
{
  "inspectionUrl": "https://www.example.com/mypage",
  "siteUrl": "https://www.example.com/",
  "languageCode": "en-US"}