{
  "opencollection": "1.0.0",
  "info": {
    "name": "Bing News Search API v7 News Category API",
    "version": "7.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Ocp-Apim-Subscription-Key",
      "value": "{{Ocp-Apim-Subscription-Key}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "News Category",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Top News by Category",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.bing.microsoft.com/v7.0/news",
            "headers": [
              {
                "name": "Ocp-Apim-Subscription-Key",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "category",
                "value": "",
                "type": "query",
                "description": "The category of news articles to return. Use this parameter only with the /news endpoint. If not specified, the response includes up to 10 headline news articles typically published in the last 24 hours from any category."
              },
              {
                "name": "mkt",
                "value": "",
                "type": "query",
                "description": "The market where the results come from. Typically the country where the user is making the request from. The market must be in the form <language>-<country/region>. For example, en-US. This parameter and the cc query parameter are mutually exclusive."
              },
              {
                "name": "cc",
                "value": "",
                "type": "query",
                "description": "A 2-character country code of the country where the results come from. If you set this parameter, you must also specify the Accept-Language header. This parameter and the mkt query parameter are mutually exclusive."
              },
              {
                "name": "setLang",
                "value": "",
                "type": "query",
                "description": "The language to use for user interface strings. You may specify the language using either a 2-letter or 4-letter code. This parameter and the Accept-Language header are mutually exclusive."
              },
              {
                "name": "safeSearch",
                "value": "",
                "type": "query",
                "description": "Used to filter news articles for adult content. The default is Moderate."
              },
              {
                "name": "textDecorations",
                "value": "",
                "type": "query",
                "description": "A Boolean value that determines whether display strings in the results should contain decoration markers such as hit highlighting characters. The default is false."
              },
              {
                "name": "textFormat",
                "value": "",
                "type": "query",
                "description": "The type of markers to use for text decorations (see the textDecorations query parameter). Raw uses Unicode characters; HTML uses HTML tags."
              }
            ]
          },
          "docs": "Returns top news articles filtered by category (e.g., Business, Entertainment, Sports, Health, ScienceAndTechnology, Politics, World). Supports multiple markets with locale-specific category taxonomies. No search query is required; results reflect top headlines for the chosen category in the specified market."
        }
      ]
    }
  ],
  "bundled": true
}