Custom Search API - metadata description

xgajdosm3 Gajdoš 1 Reputation point
2021-05-03T07:54:52.027+00:00

Hey guys,

I have a question if is available to enable/add for Custom Search API response metadata description of the page. I can find the snippet of the page but I have to pull metadata-description also. I also can see "name" parameter that is pulled as Metadata title of the page.

Thanks in advance.

Bing Custom Search
Bing Custom Search
An easy-to-use, ad-free, commercial-grade search tool that lets you deliver the results you want.
46 questions
No comments
{count} votes

1 answer

Sort by: Most helpful
  1. YutongTie-MSFT 24,806 Reputation points Microsoft Employee
    2021-05-04T04:59:32.043+00:00

    Hello,

    It seems like "searchTags" contains all of the information you want. Could you please take a look and check? Thanks.

    https://learn.microsoft.com/en-us/rest/api/cognitiveservices-bingsearch/bing-custom-search-api-v7-reference#webpage

    A list of search tags that the webpage owner specified on the webpage. The API returns only indexed search tags.

    The name field of the MetaTag object contains the indexed search tag. Search tags begin with search.* (for example, search.assetId). The content field contains the tag's value.

    Regards,
    Yutong