News Search API - v7

The News API lets partners send a search query to Bing and get back a list of relevant news articles. Note you should call the News API if you need news content only. If you need other content such as images and webpages in addition to images, you must call the Search API which includes news articles in the response. You must display the news articles in the order provided in the response.

Trending Topics

Get trending topics identified by Bing. These are the same topics shown in the banner at the bottom of the Bing home page.

Try it

Request URL

Request headers

string
Subscription key which provides access to this API. Found in your Cognitive Services accounts.

Request body

Response 200

{
    "_type": "TrendingTopics",
    "instrumentation": {
        "pingUrlBase": "https://www.bing.com/api/ping?IG=DC9F5A1F6D134AC2B5CFD60E722661DB&CID=070910FF0C0362112C11188E0DD06323&ID=",
        "pageLoadPingUrl": "https://www.bing.com/api/ping/pageload?IG=DC9F5A1F6D134AC2B5CFD60E722661DB&CID=070910FF0C0362112C11188E0DD06323&Type=Event.CPT&DATA=0"
    },
    "value": [
        {
            "name": "DOJ: Motion to compel",
            "image": {
                "url": "https://www.bing.com/th?id=OS.RTNews_oaqMhpCc4cTE7I7f&c=7&rs=2&qlt=80&pcl=f9f9f9&pid=News",
                "provider": [
                    {
                        "_type": "Organization",
                        "name": "© REUTERS/Stephen Lam"
                    }
                ]
            },
            "webSearchUrl": "https://www.bing.com/search?q=US+Justice+Department+Apple&filters=tnTID%3a%220C71A232-0D94-484f-986E-BE185141D09E%22+tnVersion%3a%221298376%22+Segment%3a%22popularnow.carousel%22+tnCol%3a%220%22+tnScenario%3a%22TrendingTopicsAPI%22+tnOrder%3a%221f9bbfc8-8f92-47cb-b483-b22b329158ca%22",
            "webSearchUrlPingSuffix": "DevEx,5003.1",
            "isBreakingNews": false
        },
        {
            "name": "Once had an ocean?",
            "image": {
                "url": "https://www.bing.com/th?id=OS.RTNews_qNPOi6HiyfKDutS6&c=7&rs=2&qlt=80&pcl=f9f9f9&pid=News",
                "provider": [
                    {
                        "_type": "Organization",
                        "name": "© NASA/JHUAPL/SWRI via Getty Images"
                    }
                ]
            },
            "webSearchUrl": "https://www.bing.com/search?q=Pluto+moon+ocean&filters=tnTID%3a%221E35703A-317D-4bd4-AC44-3781CECDCF65%22+tnVersion%3a%221298376%22+Segment%3a%22popularnow.carousel%22+tnCol%3a%221%22+tnScenario%3a%22TrendingTopicsAPI%22+tnOrder%3a%221f9bbfc8-8f92-47cb-b483-b22b329158ca%22",
            "webSearchUrlPingSuffix": "DevEx,5004.1",
            "isBreakingNews": false
        },
        {
            "name": "Elevator art project",
            "image": {
                "url": "https://www.bing.com/th?id=OS.RTNews_y9bRgo-HsLaUus-B&c=7&rs=2&qlt=80&pcl=f9f9f9&pid=News",
                "provider": [
                    {
                        "_type": "Organization",
                        "name": "© Walter McBride/FilmMagic"
                    }
                ]
            },
            "webSearchUrl": "https://www.bing.com/search?q=Shia+LaBeouf+elevator&filters=tnTID%3a%22872B3D41-271F-429f-88FE-AB3664E09899%22+tnVersion%3a%221298376%22+Segment%3a%22popularnow.carousel%22+tnCol%3a%222%22+tnScenario%3a%22TrendingTopicsAPI%22+tnOrder%3a%221f9bbfc8-8f92-47cb-b483-b22b329158ca%22",
            "webSearchUrlPingSuffix": "DevEx,5005.1",
            "isBreakingNews": false
        },
        {
            "name": "NTSB probing crash",
            "image": {
                "url": "https://www.bing.com/th?id=OS.RTNews_9tnTuszx1evwmr_g&c=7&rs=2&qlt=80&pcl=f9f9f9&pid=News",
                "provider": [
                    {
                        "_type": "Organization",
                        "name": "© Shawn Winrich via the AP"
                    }
                ]
            },
            "webSearchUrl": "https://www.bing.com/search?q=Pearl+Harbor+helicopter+crash&filters=tnTID%3a%22BCC5197A-6300-4535-AFDE-01693EAE38FD%22+tnVersion%3a%221298376%22+Segment%3a%22popularnow.carousel%22+tnCol%3a%224%22+tnScenario%3a%22TrendingTopicsAPI%22+tnOrder%3a%221f9bbfc8-8f92-47cb-b483-b22b329158ca%22",
            "webSearchUrlPingSuffix": "DevEx,5006.1",
            "isBreakingNews": false
        },
        {
            "name": "43 years in solitary",
            "image": {
                "url": "https://www.bing.com/th?id=OS.RTNews_y9bRgo-cvpuVstSf&c=7&rs=2&qlt=80&pcl=f9f9f9&pid=News",
                "provider": [
                    {
                        "_type": "Organization",
                        "name": "© Bryn Stole/Reuters"
                    }
                ]
            },
            "webSearchUrl": "https://www.bing.com/search?q=Albert+Woofox&filters=tnTID%3a%22B378564A-67CA-48c5-89DA-360A8DA3BD58%22+tnVersion%3a%221298376%22+Segment%3a%22popularnow.carousel%22+tnCol%3a%225%22+tnScenario%3a%22TrendingTopicsAPI%22+tnOrder%3a%221f9bbfc8-8f92-47cb-b483-b22b329158ca%22",
            "webSearchUrlPingSuffix": "DevEx,5007.1",
            "isBreakingNews": false
        },
        {
            "name": "Parents not happy",
            "image": {
                "url": "https://www.bing.com/th?id=OS.RTNews_gNDIi-jwiuz17P2D&c=7&rs=2&qlt=80&pcl=f9f9f9&pid=News",
                "provider": [
                    {
                        "_type": "Organization",
                        "name": "© Provided by Good Housekeeping"
                    }
                ]
            },
            "webSearchUrl": "https://www.bing.com/search?q=Lombardy+Elementary+%27Hurt+Feelings+Report%27&filters=tnTID%3a%2258664006-80D3-470a-BF74-87FA54BEA70B%22+tnVersion%3a%221298376%22+Segment%3a%22popularnow.carousel%22+tnCol%3a%226%22+tnScenario%3a%22TrendingTopicsAPI%22+tnOrder%3a%221f9bbfc8-8f92-47cb-b483-b22b329158ca%22",
            "webSearchUrlPingSuffix": "DevEx,5008.1",
            "isBreakingNews": false
        },
        {
            "name": "Garbage departs ISS",
            "image": {
                "url": "https://www.bing.com/th?id=OS.RTNews_1rrTguDX-_v20ebS&c=7&rs=2&qlt=80&pcl=f9f9f9&pid=News",
                "provider": [
                    {
                        "_type": "Organization",
                        "name": "© Rex Shutterstock"
                    }
                ]
            },
            "webSearchUrl": "https://www.bing.com/search?q=Cygnus+cargo+ship&filters=tnTID%3a%22DB2ABE22-2C1E-436e-B5CD-49567BA6B0BB%22+tnVersion%3a%221298376%22+Segment%3a%22popularnow.carousel%22+tnCol%3a%227%22+tnScenario%3a%22TrendingTopicsAPI%22+tnOrder%3a%221f9bbfc8-8f92-47cb-b483-b22b329158ca%22",
            "webSearchUrlPingSuffix": "DevEx,5009.1",
            "isBreakingNews": false
        },
        {
            "name": "Declared unsafe",
            "image": {
                "url": "https://www.bing.com/th?id=OS.RTNews_hM7FlqHpzuWUp9-D&c=7&rs=2&qlt=80&pcl=f9f9f9&pid=News",
                "provider": [
                    {
                        "_type": "Organization",
                        "name": "© FREDERIC J. BROWN/AFP/Getty Images"
                    }
                ]
            },
            "webSearchUrl": "https://www.bing.com/search?q=Government+hoverboards+declared+unsafe&filters=tnTID%3a%2235952BB3-26AD-4641-8049-F27D84ED66A5%22+tnVersion%3a%221298376%22+Segment%3a%22popularnow.carousel%22+tnCol%3a%2210%22+tnScenario%3a%22TrendingTopicsAPI%22+tnOrder%3a%221f9bbfc8-8f92-47cb-b483-b22b329158ca%22",
            "webSearchUrlPingSuffix": "DevEx,5010.1",
            "isBreakingNews": false
        },
        {
            "name": "On replacing Scalia",
            "image": {
                "url": "https://www.bing.com/th?id=OS.RTNews_y9bRgo-EkpuesNOS&c=7&rs=2&qlt=80&pcl=f9f9f9&pid=News",
                "provider": [
                    {
                        "_type": "Organization",
                        "name": "© Harry Cabluck/AP"
                    }
                ]
            },
            "webSearchUrl": "https://www.bing.com/search?q=Sandra+Day+O%27Connor&filters=tnTID%3a%22DA2D9D91-90E0-454d-BA85-5D8385DFBCC3%22+tnVersion%3a%221298376%22+Segment%3a%22popularnow.carousel%22+tnCol%3a%2212%22+tnScenario%3a%22TrendingTopicsAPI%22+tnOrder%3a%221f9bbfc8-8f92-47cb-b483-b22b329158ca%22",
            "webSearchUrlPingSuffix": "DevEx,5011.1",
            "isBreakingNews": false
        },
        {
            "name": "China accuses US",
            "image": {
                "url": "https://www.bing.com/th?id=OS.RTNews_lduh5Y-IuZ2esJOP&c=7&rs=2&qlt=80&pcl=f9f9f9&pid=News",
                "provider": [
                    {
                        "_type": "Organization",
                        "name": "© US Navy via Reuters"
                    }
                ]
            },
            "webSearchUrl": "https://www.bing.com/search?q=China+US+South+China+Sea&filters=tnTID%3a%22D83AC201-B788-4d69-91E1-B4C98120A51F%22+tnVersion%3a%221298376%22+Segment%3a%22popularnow.carousel%22+tnCol%3a%2214%22+tnScenario%3a%22TrendingTopicsAPI%22+tnOrder%3a%221f9bbfc8-8f92-47cb-b483-b22b329158ca%22",
            "webSearchUrlPingSuffix": "DevEx,5012.1",
            "isBreakingNews": false
        },
        {
            "name": "Shakeup at SeaWorld",
            "image": {
                "url": "https://www.bing.com/th?id=OS.RTNews_gZLLleiYtJWnsMyN&c=7&rs=2&qlt=80&pcl=f9f9f9&pid=News",
                "provider": [
                    {
                        "_type": "Organization",
                        "name": "© Mike Blake/Reuters"
                    }
                ]
            },
            "webSearchUrl": "https://www.bing.com/search?q=SeaWorld+executives&filters=tnTID%3a%226C0837A5-3C9A-451d-B209-37356A4DCE60%22+tnVersion%3a%221298376%22+Segment%3a%22popularnow.carousel%22+tnCol%3a%2215%22+tnScenario%3a%22TrendingTopicsAPI%22+tnOrder%3a%221f9bbfc8-8f92-47cb-b483-b22b329158ca%22",
            "webSearchUrlPingSuffix": "DevEx,5013.1",
            "isBreakingNews": false
        },
        {
            "name": "Hearing in lawsuit",
            "image": {
                "url": "https://www.bing.com/th?id=OS.RTNews_lduh5Y-AtIeYvpCK&c=7&rs=2&qlt=80&pcl=f9f9f9&pid=News",
                "provider": [
                    {
                        "_type": "Organization",
                        "name": "© Charles Sykes/Invision/AP"
                    }
                ]
            },
            "webSearchUrl": "https://www.bing.com/search?q=Kesha&filters=tnTID%3a%22D604E0E4-8B1F-496b-8FCB-CF7118B60A9B%22+tnVersion%3a%221298376%22+Segment%3a%22popularnow.carousel%22+tnCol%3a%2216%22+tnScenario%3a%22TrendingTopicsAPI%22+tnOrder%3a%221f9bbfc8-8f92-47cb-b483-b22b329158ca%22",
            "webSearchUrlPingSuffix": "DevEx,5014.1",
            "isBreakingNews": false
        },
        {
            "name": "Bronze Age wheel",
            "image": {
                "url": "https://www.bing.com/th?id=OS.RTNews_pNvEy-X5xJueq9i5&c=7&rs=2&qlt=80&pcl=f9f9f9&pid=News",
                "provider": [
                    {
                        "_type": "Organization",
                        "name": "© Joe Giddens/Press Association"
                    }
                ]
            },
            "webSearchUrl": "https://www.bing.com/search?q=Bronze+Age+wheel&filters=tnTID%3a%22AA6BA3FB-F164-44d8-A9CC-D3C64AF8D555%22+tnVersion%3a%221298376%22+Segment%3a%22popularnow.carousel%22+tnCol%3a%2217%22+tnScenario%3a%22TrendingTopicsAPI%22+tnOrder%3a%221f9bbfc8-8f92-47cb-b483-b22b329158ca%22",
            "webSearchUrlPingSuffix": "DevEx,5015.1",
            "isBreakingNews": false
        },
        {
            "name": "To play Mary Poppins?",
            "image": {
                "url": "https://www.bing.com/th?id=OS.RTNews_lduh5Y-JvYGeq5CK&c=7&rs=2&qlt=80&pcl=f9f9f9&pid=News",
                "provider": [
                    {
                        "_type": "Organization",
                        "name": "© Dimitrios Kambouris/Getty Images"
                    }
                ]
            },
            "webSearchUrl": "https://www.bing.com/search?q=Emily+Blunt&filters=tnTID%3a%2287EC70BA-941D-4619-8332-84FE6DF57D63%22+tnVersion%3a%221298376%22+Segment%3a%22popularnow.carousel%22+tnCol%3a%2219%22+tnScenario%3a%22TrendingTopicsAPI%22+tnOrder%3a%221f9bbfc8-8f92-47cb-b483-b22b329158ca%22",
            "webSearchUrlPingSuffix": "DevEx,5016.1",
            "isBreakingNews": false
        },
        {
            "name": "Marriage license bill",
            "image": {
                "url": "https://www.bing.com/th?id=OS.RTNews_jN3GgKHq-My9v86S&c=7&rs=2&qlt=80&pcl=f9f9f9&pid=News",
                "provider": [
                    {
                        "_type": "Organization",
                        "name": "© Timothy D. Easley/AP"
                    }
                ]
            },
            "webSearchUrl": "https://www.bing.com/search?q=Kentucky+2+marriage+licenses&filters=tnTID%3a%22FA066983-B845-4228-A5BC-97A0312E1490%22+tnVersion%3a%221298376%22+Segment%3a%22popularnow.carousel%22+tnCol%3a%2220%22+tnScenario%3a%22TrendingTopicsAPI%22+tnOrder%3a%221f9bbfc8-8f92-47cb-b483-b22b329158ca%22",
            "webSearchUrlPingSuffix": "DevEx,5017.1",
            "isBreakingNews": false
        },
        {
            "name": "'Flak' for voting GOP",
            "image": {
                "url": "https://www.bing.com/th?id=OS.RTNews_j8zG5Y-BtJqeu8zL&c=7&rs=2&qlt=80&pcl=f9f9f9&pid=News",
                "provider": [
                    {
                        "_type": "Organization",
                        "name": "© Danny Moloshok/Reuters"
                    }
                ]
            },
            "webSearchUrl": "https://www.bing.com/search?q=Caitlyn+Jenner+Republican&filters=tnTID%3a%221B729C41-F1A8-4beb-8A38-204D595E3993%22+tnVersion%3a%221298376%22+Segment%3a%22popularnow.carousel%22+tnCol%3a%2221%22+tnScenario%3a%22TrendingTopicsAPI%22+tnOrder%3a%221f9bbfc8-8f92-47cb-b483-b22b329158ca%22",
            "webSearchUrlPingSuffix": "DevEx,5018.1",
            "isBreakingNews": false
        },
        {
            "name": "Russian asteroid plan",
            "image": {
                "url": "https://www.bing.com/th?id=OS.RTNews_qNXSlub1wfSt3a_c&c=7&rs=2&qlt=80&pcl=f9f9f9&pid=News",
                "provider": [
                    {
                        "_type": "Organization",
                        "name": "© Ivan Sekretarev/AP"
                    }
                ]
            },
            "webSearchUrl": "https://www.bing.com/search?q=Russia+destroy+asteroids&filters=tnTID%3a%221ACDD1B7-6E1B-453d-98D0-9B6DA4C70764%22+tnVersion%3a%221298376%22+Segment%3a%22popularnow.carousel%22+tnCol%3a%2222%22+tnScenario%3a%22TrendingTopicsAPI%22+tnOrder%3a%221f9bbfc8-8f92-47cb-b483-b22b329158ca%22",
            "webSearchUrlPingSuffix": "DevEx,5019.1",
            "isBreakingNews": false
        },
        {
            "name": "$500M for 2 paintings?",
            "image": {
                "url": "https://www.bing.com/th?id=OS.RTNews_uv3TkaHm0_qWt9SI&c=7&rs=2&qlt=80&pcl=f9f9f9&pid=News",
                "provider": [
                    {
                        "_type": "Organization",
                        "name": "© Bloomberg"
                    }
                ]
            },
            "webSearchUrl": "https://www.bing.com/search?q=Kenneth+Griffin+paintings&filters=tnTID%3a%2265BC1089-F484-4982-83FA-570822CAB6AB%22+tnVersion%3a%221298376%22+Segment%3a%22popularnow.carousel%22+tnCol%3a%2223%22+tnScenario%3a%22TrendingTopicsAPI%22+tnOrder%3a%221f9bbfc8-8f92-47cb-b483-b22b329158ca%22",
            "webSearchUrlPingSuffix": "DevEx,5020.1",
            "isBreakingNews": false
        },
        {
            "name": "'Flies' through water",
            "image": {
                "url": "https://www.bing.com/th?id=OS.RTNews_9ITpgOPu2_D-1_3i&c=7&rs=2&qlt=80&pcl=f9f9f9&pid=News",
                "provider": [
                    {
                        "_type": "Organization",
                        "name": "© Alexander Semenov/Getty Images"
                    }
                ]
            },
            "webSearchUrl": "https://www.bing.com/search?q=Limacina+helicina+flies+study&filters=tnTID%3a%2205B5381B-033A-480d-885C-4ACC58CD7DFC%22+tnVersion%3a%221298376%22+Segment%3a%22popularnow.carousel%22+tnCol%3a%2224%22+tnScenario%3a%22TrendingTopicsAPI%22+tnOrder%3a%221f9bbfc8-8f92-47cb-b483-b22b329158ca%22",
            "webSearchUrlPingSuffix": "DevEx,5021.1",
            "isBreakingNews": false
        },
        {
            "name": "Pay hike for execs",
            "image": {
                "url": "https://www.bing.com/th?id=OS.RTNews_gc-Pj__hsrCeudqI&c=7&rs=2&qlt=80&pcl=f9f9f9&pid=News",
                "provider": [
                    {
                        "_type": "Organization",
                        "name": "© Justin Sullivan/Getty Images"
                    }
                ]
            },
            "webSearchUrl": "https://www.bing.com/search?q=McDonald%e2%80%99s+execs+raises&filters=tnTID%3a%229755A3BA-CA46-4d0f-9B1E-09C5D36F630F%22+tnVersion%3a%221298376%22+Segment%3a%22popularnow.carousel%22+tnCol%3a%2226%22+tnScenario%3a%22TrendingTopicsAPI%22+tnOrder%3a%221f9bbfc8-8f92-47cb-b483-b22b329158ca%22",
            "webSearchUrlPingSuffix": "DevEx,5022.1",
            "isBreakingNews": false
        },
        {
            "name": "Saves grandmother",
            "image": {
                "url": "https://www.bing.com/th?id=OS.RTNews_lt_UgKHnyOGUiuiB&c=7&rs=2&qlt=80&pcl=f9f9f9&pid=News",
                "provider": [
                    {
                        "_type": "Organization",
                        "name": "© WWL-TV Screenshot"
                    }
                ]
            },
            "webSearchUrl": "https://www.bing.com/search?q=5-year-old+saves+grandmother&filters=tnTID%3a%22AAD9DF17-52D2-4efe-8D4C-03D007D31D1A%22+tnVersion%3a%221298376%22+Segment%3a%22popularnow.carousel%22+tnCol%3a%2227%22+tnScenario%3a%22TrendingTopicsAPI%22+tnOrder%3a%221f9bbfc8-8f92-47cb-b483-b22b329158ca%22",
            "webSearchUrlPingSuffix": "DevEx,5023.1",
            "isBreakingNews": false
        },
        {
            "name": "Emotional eulogy",
            "image": {
                "url": "https://www.bing.com/th?id=OS.RTNews_5c2N-pr70e751rn7&c=7&rs=2&qlt=80&pcl=f9f9f9&pid=News",
                "provider": [
                    {
                        "_type": "Organization",
                        "name": "© David Zalubowski/AP"
                    }
                ]
            },
            "webSearchUrl": "https://www.bing.com/search?q=Monty+Williams&filters=tnTID%3a%2271D5FC0B-1C08-4e62-9929-5B697B234E5D%22+tnVersion%3a%221298376%22+Segment%3a%22popularnow.carousel%22+tnCol%3a%2228%22+tnScenario%3a%22TrendingTopicsAPI%22+tnOrder%3a%221f9bbfc8-8f92-47cb-b483-b22b329158ca%22",
            "webSearchUrlPingSuffix": "DevEx,5024.1",
            "isBreakingNews": false
        },
        {
            "name": "Steeler hangs 'em up",
            "image": {
                "url": "https://www.bing.com/th?id=OS.RTNews_j8zG5Y-GuJidscnI&c=7&rs=2&qlt=80&pcl=f9f9f9&pid=News",
                "provider": [
                    {
                        "_type": "Organization",
                        "name": "© Nick Cammett/Diamond Images/Getty Images"
                    }
                ]
            },
            "webSearchUrl": "https://www.bing.com/search?q=Heath+Miller&filters=tnTID%3a%2232D35058-528F-43ec-91F7-2BD194C8B787%22+tnVersion%3a%221298376%22+Segment%3a%22popularnow.carousel%22+tnCol%3a%2230%22+tnScenario%3a%22TrendingTopicsAPI%22+tnOrder%3a%221f9bbfc8-8f92-47cb-b483-b22b329158ca%22",
            "webSearchUrlPingSuffix": "DevEx,5025.1",
            "isBreakingNews": false
        },
        {
            "name": "Thieves' bad luck",
            "image": {
                "url": "https://www.bing.com/th?id=OS.RTNews_t9PDh-r6yrvpy6q6&c=7&rs=2&qlt=80&pcl=f9f9f9&pid=News",
                "provider": [
                    {
                        "_type": "Organization",
                        "name": "© Getty Images"
                    }
                ]
            },
            "webSearchUrl": "https://www.bing.com/search?q=81-year-old+chases+robbers&filters=tnTID%3a%223AE1B2A9-E903-4434-A785-7ADA0223BB02%22+tnVersion%3a%221298376%22+Segment%3a%22popularnow.carousel%22+tnCol%3a%2231%22+tnScenario%3a%22TrendingTopicsAPI%22+tnOrder%3a%221f9bbfc8-8f92-47cb-b483-b22b329158ca%22",
            "webSearchUrlPingSuffix": "DevEx,5026.1",
            "isBreakingNews": false
        },
        {
            "name": "Signs of US inflation",
            "image": {
                "url": "https://www.bing.com/th?id=OS.RTNews_hMjIiuGw6Nvfu9yL&c=7&rs=2&qlt=80&pcl=f9f9f9&pid=News",
                "provider": [
                    {
                        "_type": "Organization",
                        "name": "© Joe Raedle/Getty Images"
                    }
                ]
            },
            "webSearchUrl": "https://www.bing.com/search?q=US+consumer+inflation&filters=tnTID%3a%2274ECCD08-BC41-4c95-9DBB-4B4F7CCEC419%22+tnVersion%3a%221298376%22+Segment%3a%22popularnow.carousel%22+tnCol%3a%2232%22+tnScenario%3a%22TrendingTopicsAPI%22+tnOrder%3a%221f9bbfc8-8f92-47cb-b483-b22b329158ca%22",
            "webSearchUrlPingSuffix": "DevEx,5027.1",
            "isBreakingNews": false
        },
        {
            "name": "Gray trials halted",
            "image": {
                "url": "https://www.bing.com/th?id=OS.RTNews_jN3Ny-X8xJWJjumX&c=7&rs=2&qlt=80&pcl=f9f9f9&pid=News",
                "provider": [
                    {
                        "_type": "Organization",
                        "name": "© Patrick Semansky/AP"
                    }
                ]
            },
            "webSearchUrl": "https://www.bing.com/search?q=Freddie+Gray&filters=tnTID%3a%224E13DEC3-1251-404d-975B-C5695D538517%22+tnVersion%3a%221298376%22+Segment%3a%22popularnow.carousel%22+tnCol%3a%2233%22+tnScenario%3a%22TrendingTopicsAPI%22+tnOrder%3a%221f9bbfc8-8f92-47cb-b483-b22b329158ca%22",
            "webSearchUrlPingSuffix": "DevEx,5028.1",
            "isBreakingNews": false
        },
        {
            "name": "Humbles chess hustler",
            "image": {
                "url": "https://www.bing.com/th?id=OS.RTNews_j8zG5Y-KopydssPO&c=7&rs=2&qlt=80&pcl=f9f9f9&pid=News",
                "provider": [
                    {
                        "_type": "Organization",
                        "name": "© Brian Cahn/ZUMA Press/Corbis"
                    }
                ]
            },
            "webSearchUrl": "https://www.bing.com/search?q=Maurice+Ashley&filters=tnTID%3a%228BFADD82-93F1-43b2-87C9-416859221A4A%22+tnVersion%3a%221298376%22+Segment%3a%22popularnow.carousel%22+tnCol%3a%2236%22+tnScenario%3a%22TrendingTopicsAPI%22+tnOrder%3a%221f9bbfc8-8f92-47cb-b483-b22b329158ca%22",
            "webSearchUrlPingSuffix": "DevEx,5029.1",
            "isBreakingNews": false
        },
        {
            "name": "Republican town hall",
            "image": {
                "url": "https://www.bing.com/th?id=OS.RTNews_iZLLleifvoOel9-L&c=7&rs=2&qlt=80&pcl=f9f9f9&pid=News",
                "provider": [
                    {
                        "_type": "Organization",
                        "name": "© Randall Hill/Reuters"
                    }
                ]
            },
            "webSearchUrl": "https://www.bing.com/search?q=GOP+town+hall&filters=tnTID%3a%22C8180E68-61C4-4dc0-A7C9-E87D8C2BBD70%22+tnVersion%3a%221298376%22+Segment%3a%22popularnow.carousel%22+tnCol%3a%2238%22+tnScenario%3a%22TrendingTopicsAPI%22+tnOrder%3a%221f9bbfc8-8f92-47cb-b483-b22b329158ca%22",
            "webSearchUrlPingSuffix": "DevEx,5030.1",
            "isBreakingNews": false
        },
        {
            "name": "Hubble's successor",
            "image": {
                "url": "https://www.bing.com/th?id=OS.RTNews_idnShuD19Yna-omA&c=7&rs=2&qlt=80&pcl=f9f9f9&pid=News",
                "provider": [
                    {
                        "_type": "Organization",
                        "name": "© NASA via Getty Images"
                    }
                ]
            },
            "webSearchUrl": "https://www.bing.com/search?q=NASA+WFIRST&filters=tnTID%3a%2222BEA723-84D4-4709-8D3F-C721CAB43B57%22+tnVersion%3a%221298376%22+Segment%3a%22popularnow.carousel%22+tnCol%3a%2243%22+tnScenario%3a%22TrendingTopicsAPI%22+tnOrder%3a%221f9bbfc8-8f92-47cb-b483-b22b329158ca%22",
            "webSearchUrlPingSuffix": "DevEx,5031.1",
            "isBreakingNews": false
        },
        {
            "name": "South Carolina poll",
            "image": {
                "url": "https://www.bing.com/th?id=OS.RTNews_gryh5Y-Io4GK8NSV&c=7&rs=2&qlt=80&pcl=f9f9f9&pid=News",
                "provider": [
                    {
                        "_type": "Organization",
                        "name": "© Joshua Roberts/Reuters"
                    }
                ]
            },
            "webSearchUrl": "https://www.bing.com/search?q=Trump+Cruz+South+Carolina+poll&filters=tnTID%3a%22EC5C67D8-93DE-4a88-9CF5-3F8D622882C9%22+tnVersion%3a%221298376%22+Segment%3a%22popularnow.carousel%22+tnCol%3a%2246%22+tnScenario%3a%22TrendingTopicsAPI%22+tnOrder%3a%221f9bbfc8-8f92-47cb-b483-b22b329158ca%22",
            "webSearchUrlPingSuffix": "DevEx,5032.1",
            "isBreakingNews": false
        },
        {
            "name": "'Affluenza' hearing",
            "image": {
                "url": "https://www.bing.com/th?id=OS.RTNews_lduh5Y-IvoGTuZOO&c=7&rs=2&qlt=80&pcl=f9f9f9&pid=News",
                "provider": [
                    {
                        "_type": "Organization",
                        "name": "© Mexico's Jalisco state prosecutor's office via AP"
                    }
                ]
            },
            "webSearchUrl": "https://www.bing.com/search?q=Ethan+Couch&filters=tnTID%3a%22C0E6328A-59DA-4925-88DE-DF51D41EAC63%22+tnVersion%3a%221298376%22+Segment%3a%22popularnow.carousel%22+tnCol%3a%2247%22+tnScenario%3a%22TrendingTopicsAPI%22+tnOrder%3a%221f9bbfc8-8f92-47cb-b483-b22b329158ca%22",
            "webSearchUrlPingSuffix": "DevEx,5033.1",
            "isBreakingNews": false
        },
        {
            "name": "SpaceShipTwo unveiled",
            "image": {
                "url": "https://www.bing.com/th?id=OS.RTNews_ot3NhOzp0eW41KTZ&c=7&rs=2&qlt=80&pcl=f9f9f9&pid=News",
                "provider": [
                    {
                        "_type": "Organization",
                        "name": "© Mark Greenberg/Virgin Galactic/Getty Images"
                    }
                ]
            },
            "webSearchUrl": "https://www.bing.com/search?q=Virgin+Galactic+spaceship&filters=tnTID%3a%22141AC0F1-D953-4e59-B1C5-31EA43C30EBE%22+tnVersion%3a%221298376%22+Segment%3a%22popularnow.carousel%22+tnCol%3a%2248%22+tnScenario%3a%22TrendingTopicsAPI%22+tnOrder%3a%221f9bbfc8-8f92-47cb-b483-b22b329158ca%22",
            "webSearchUrlPingSuffix": "DevEx,5034.1",
            "isBreakingNews": false
        },
        {
            "name": "Democratic town hall",
            "image": {
                "url": "https://www.bing.com/th?id=OS.RTNews_i_TAieOh3unIi9GX&c=7&rs=2&qlt=80&pcl=f9f9f9&pid=News",
                "provider": [
                    {
                        "_type": "Organization",
                        "name": "© John Gurzinski/AFP/Getty Images"
                    }
                ]
            },
            "webSearchUrl": "https://www.bing.com/search?q=Democratic+town+hall&filters=tnTID%3a%225F7DD5E2-7C3E-4eae-B4DC-BB9414356F2A%22+tnVersion%3a%221298376%22+Segment%3a%22popularnow.carousel%22+tnCol%3a%2249%22+tnScenario%3a%22TrendingTopicsAPI%22+tnOrder%3a%221f9bbfc8-8f92-47cb-b483-b22b329158ca%22",
            "webSearchUrlPingSuffix": "DevEx,5035.1",
            "isBreakingNews": false
        },
        {
            "name": "Illini player arrested",
            "image": {
                "url": "https://www.bing.com/th?id=OS.RTNews_hN_Ky-X304aeu_iM&c=7&rs=2&qlt=80&pcl=f9f9f9&pid=News",
                "provider": [
                    {
                        "_type": "Organization",
                        "name": "© Duane Burleson/Getty Images"
                    }
                ]
            },
            "webSearchUrl": "https://www.bing.com/search?q=Leron+Black&filters=tnTID%3a%2220D9523B-3462-405e-9C8D-390010582B79%22+tnVersion%3a%221298376%22+Segment%3a%22popularnow.carousel%22+tnCol%3a%2250%22+tnScenario%3a%22TrendingTopicsAPI%22+tnOrder%3a%221f9bbfc8-8f92-47cb-b483-b22b329158ca%22",
            "webSearchUrlPingSuffix": "DevEx,5036.1",
            "isBreakingNews": false
        },
        {
            "name": "On This Day: 1945",
            "image": {
                "url": "https://www.bing.com/th?id=OS.RTNews_n6v3hOiziaDOvLLs&c=7&rs=2&qlt=80&pcl=f9f9f9&pid=News",
                "provider": [
                    {
                        "_type": "Organization",
                        "name": "Bing"
                    }
                ]
            },
            "webSearchUrl": "https://www.bing.com/search?q=On+this+day+in+history&filters=tnTID%3a%2222AF7874-C16D-4f9b-AF9D-2DF9C982F0D5%22+tnVersion%3a%221298376%22+Segment%3a%22popularnow.carousel%22+tnCol%3a%2251%22+tnScenario%3a%22TrendingTopicsAPI%22+tnOrder%3a%221f9bbfc8-8f92-47cb-b483-b22b329158ca%22",
            "webSearchUrlPingSuffix": "DevEx,5037.1",
            "isBreakingNews": false
        },
        {
            "name": "Spring break in Fla.?",
            "image": {
                "url": "https://www.bing.com/th?id=OS.RTNews_jZLLleiDsIaTtc6B&c=7&rs=2&qlt=80&pcl=f9f9f9&pid=News",
                "provider": [
                    {
                        "_type": "Organization",
                        "name": "© Gregory Shamus/Getty Images"
                    }
                ]
            },
            "webSearchUrl": "https://www.bing.com/search?q=NCAA+Michigan+spring+break&filters=tnTID%3a%22EE1F90E0-A643-4fc8-87E1-5C26DB60FA1C%22+tnVersion%3a%221298376%22+Segment%3a%22popularnow.carousel%22+tnCol%3a%2255%22+tnScenario%3a%22TrendingTopicsAPI%22+tnOrder%3a%221f9bbfc8-8f92-47cb-b483-b22b329158ca%22",
            "webSearchUrlPingSuffix": "DevEx,5038.1",
            "isBreakingNews": false
        },
        {
            "name": "Scalia memorial",
            "image": {
                "url": "https://www.bing.com/th?id=OS.RTNews_j8zG5Y-YspWcuNzK&c=7&rs=2&qlt=80&pcl=f9f9f9&pid=News",
                "provider": [
                    {
                        "_type": "Organization",
                        "name": "© Pablo Martinez Monsivais/AP"
                    }
                ]
            },
            "webSearchUrl": "https://www.bing.com/search?q=Antonin+Scalia&filters=tnTID%3a%22AAEC3CA9-C48F-4e0b-A41C-677FB0B24291%22+tnVersion%3a%221298376%22+Segment%3a%22popularnow.carousel%22+tnCol%3a%2256%22+tnScenario%3a%22TrendingTopicsAPI%22+tnOrder%3a%221f9bbfc8-8f92-47cb-b483-b22b329158ca%22",
            "webSearchUrlPingSuffix": "DevEx,5039.1",
            "isBreakingNews": false
        },
        {
            "name": "Harper Lee dies at 89",
            "image": {
                "url": "https://www.bing.com/th?id=OS.RTNews_gryh5Y-DnZGV8dSW&c=7&rs=2&qlt=80&pcl=f9f9f9&pid=News",
                "provider": [
                    {
                        "_type": "Organization",
                        "name": "© Rob Carr/AP"
                    }
                ]
            },
            "webSearchUrl": "https://www.bing.com/search?q=Harper+Lee&filters=tnTID%3a%22D768A588-D40A-462b-BAC7-4CE32CE34447%22+tnVersion%3a%221298376%22+Segment%3a%22popularnow.carousel%22+tnCol%3a%2258%22+tnScenario%3a%22TrendingTopicsAPI%22+tnOrder%3a%221f9bbfc8-8f92-47cb-b483-b22b329158ca%22",
            "webSearchUrlPingSuffix": "DevEx,5040.1",
            "isBreakingNews": false
        },
        {
            "name": "Strikes target ISIS",
            "image": {
                "url": "https://www.bing.com/th?id=OS.RTNews_xuCi_o3058bG4K3x&c=7&rs=2&qlt=80&pcl=f9f9f9&pid=News",
                "provider": [
                    {
                        "_type": "Organization",
                        "name": "© US Air Force via Reuters"
                    }
                ]
            },
            "webSearchUrl": "https://www.bing.com/search?q=US+airstrikes+ISIS+Libya&filters=tnTID%3a%225071E17B-EA1C-40c3-A809-4806CDF4EF7B%22+tnVersion%3a%221298376%22+Segment%3a%22popularnow.carousel%22+tnCol%3a%2259%22+tnScenario%3a%22TrendingTopicsAPI%22+tnOrder%3a%221f9bbfc8-8f92-47cb-b483-b22b329158ca%22",
            "webSearchUrlPingSuffix": "DevEx,5041.1",
            "isBreakingNews": false
        },
        {
            "name": "Lions escape in Kenya",
            "image": {
                "url": "https://www.bing.com/th?id=OS.RTNews_lduh5Y-HuJuerJCL&c=7&rs=2&qlt=80&pcl=f9f9f9&pid=News",
                "provider": [
                    {
                        "_type": "Organization",
                        "name": "© Simon Maina/AFP/Getty Images"
                    }
                ]
            },
            "webSearchUrl": "https://www.bing.com/search?q=Escaped+lions+Kenya&filters=tnTID%3a%22E2AC2C25-4530-4843-AC6B-C687A1541DFF%22+tnVersion%3a%221298376%22+Segment%3a%22popularnow.carousel%22+tnCol%3a%2261%22+tnScenario%3a%22TrendingTopicsAPI%22+tnOrder%3a%221f9bbfc8-8f92-47cb-b483-b22b329158ca%22",
            "webSearchUrlPingSuffix": "DevEx,5042.1",
            "isBreakingNews": false
        },
        {
            "name": "Test your smarts",
            "image": {
                "url": "https://www.bing.com/th?id=OS.RTNews_yL76uobLtrWp3daF&c=7&rs=2&qlt=80&pcl=f9f9f9&pid=News",
                "provider": [
                    {
                        "_type": "Organization",
                        "name": "© Bing"
                    }
                ]
            },
            "webSearchUrl": "https://www.bing.com/search?q=Bing+news+quiz&filters=tnTID%3a%227A71233F-08EF-4ce5-8472-7A9BF8A29E06%22+tnVersion%3a%221298376%22+Segment%3a%22popularnow.carousel%22+tnCol%3a%2262%22+tnScenario%3a%22TrendingTopicsAPI%22+tnOrder%3a%221f9bbfc8-8f92-47cb-b483-b22b329158ca%22",
            "webSearchUrlPingSuffix": "DevEx,5043.1",
            "isBreakingNews": false
        },
        {
            "name": "Remains a Rocket",
            "image": {
                "url": "https://www.bing.com/th?id=OS.RTNews_j8zG5Y-DvoORrNjO&c=7&rs=2&qlt=80&pcl=f9f9f9&pid=News",
                "provider": [
                    {
                        "_type": "Organization",
                        "name": "© Rick Scuteri/AP"
                    }
                ]
            },
            "webSearchUrl": "https://www.bing.com/search?q=Dwight+Howard&filters=tnTID%3a%22C58232A4-28C2-44a3-AA53-15F555EDA206%22+tnVersion%3a%221298376%22+Segment%3a%22popularnow.carousel%22+tnCol%3a%2263%22+tnScenario%3a%22TrendingTopicsAPI%22+tnOrder%3a%221f9bbfc8-8f92-47cb-b483-b22b329158ca%22",
            "webSearchUrlPingSuffix": "DevEx,5044.1",
            "isBreakingNews": false
        }
    ]
}

Response 401

{
    "error":{
        "statusCode": 401,
        "message": "Access denied due to invalid subscription key. Make sure you are subscribed to an API you are trying to call and provide the right key." 
    }
}

Response 403

{
    "error":{
        "statusCode": 403,
        "message": "Out of call volume quota. Quota will be replenished in 2.12 days." 
    }
}

Response 429

{
    "error":{
        "statusCode": 429,
        "message": "Rate limit is exceeded. Try again in 26 seconds." 
    }
}

Code samples

@ECHO OFF

curl -v -X GET "https://api.cognitive.microsoft.com/bing/v7.0/news/trendingtopics"
-H "Ocp-Apim-Subscription-Key: {subscription key}"

--data-ascii "{body}" 
using System;
using System.Net.Http.Headers;
using System.Text;
using System.Net.Http;
using System.Web;

namespace CSHttpClientSample
{
    static class Program
    {
        static void Main()
        {
            MakeRequest();
            Console.WriteLine("Hit ENTER to exit...");
            Console.ReadLine();
        }
        
        static async void MakeRequest()
        {
            var client = new HttpClient();
            var queryString = HttpUtility.ParseQueryString(string.Empty);

            // Request headers
            client.DefaultRequestHeaders.Add("Ocp-Apim-Subscription-Key", "{subscription key}");

            var uri = "https://api.cognitive.microsoft.com/bing/v7.0/news/trendingtopics?" + queryString;

            var response = await client.GetAsync(uri);
            if (response?.Content != null)
            {
                var responseString = await response.Content.ReadAsStringAsync();
                Console.WriteLine(responseString);    
            }
        }
    }
}	
// // This sample uses the Apache HTTP client from HTTP Components (http://hc.apache.org/httpcomponents-client-ga/)
import java.net.URI;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.client.HttpClient;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.client.utils.URIBuilder;
import org.apache.http.impl.client.HttpClients;
import org.apache.http.util.EntityUtils;
import org.apache.http.entity.StringEntity;

public class JavaSample 
{
    public static void main(String[] args) 
    {
        HttpClient httpclient = HttpClients.createDefault();

        try
        {
            URIBuilder builder = new URIBuilder("https://api.cognitive.microsoft.com/bing/v7.0/news/trendingtopics");


            URI uri = builder.build();
            HttpGet request = new HttpGet(uri);
            request.setHeader("Ocp-Apim-Subscription-Key", "{subscription key}");

            HttpResponse response = httpclient.execute(request);
            HttpEntity entity = response.getEntity();

            if (entity != null) 
            {
                System.out.println(EntityUtils.toString(entity));
            }
        }
        catch (Exception e)
        {
            System.out.println(e.getMessage());
        }
    }
}

<!DOCTYPE html>
<html>
<head>
    <title>JSSample</title>
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
</head>
<body>

<script type="text/javascript">
    $(function() {
        var params = {
            // Request parameters
        };
      
        $.ajax({
            url: "https://api.cognitive.microsoft.com/bing/v7.0/news/trendingtopics?" + $.param(params),
            beforeSend: function(xhrObj){
                // Request headers
                xhrObj.setRequestHeader("Ocp-Apim-Subscription-Key","{subscription key}");
            },
            type: "GET",
            // Request body
            data: "{body}",
        })
        .done(function(data) {
            alert(JSON.stringify(data));
        })
        .fail(function() {
            alert("error");
        });
    });
</script>
</body>
</html>
#import <Foundation/Foundation.h>

int main(int argc, const char * argv[])
{
    NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
    
    NSString* path = @"https://api.cognitive.microsoft.com/bing/v7.0/news/trendingtopics";
    NSArray* array = @[
                         // Request parameters
                         @"entities=true",
                      ];
    
    NSString* string = [array componentsJoinedByString:@"&"];
    path = [path stringByAppendingFormat:@"?%@", string];

    NSLog(@"%@", path);

    NSMutableURLRequest* _request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:path]];
    [_request setHTTPMethod:@"GET"];
    // Request headers
    [_request setValue:@"{subscription key}" forHTTPHeaderField:@"Ocp-Apim-Subscription-Key"];
    // Request body
    [_request setHTTPBody:[@"{body}" dataUsingEncoding:NSUTF8StringEncoding]];
    
    NSURLResponse *response = nil;
    NSError *error = nil;
    NSData* _connectionData = [NSURLConnection sendSynchronousRequest:_request returningResponse:&response error:&error];

    if (nil != error)
    {
        NSLog(@"Error: %@", error);
    }
    else
    {
        NSError* error = nil;
        NSMutableDictionary* json = nil;
        NSString* dataString = [[NSString alloc] initWithData:_connectionData encoding:NSUTF8StringEncoding];
        NSLog(@"%@", dataString);
        
        if (nil != _connectionData)
        {
            json = [NSJSONSerialization JSONObjectWithData:_connectionData options:NSJSONReadingMutableContainers error:&error];
        }
        
        if (error || !json)
        {
            NSLog(@"Could not parse loaded json with error:%@", error);
        }
        
        NSLog(@"%@", json);
        _connectionData = nil;
    }
    
    [pool drain];

    return 0;
}
<?php
// This sample uses the Apache HTTP client from HTTP Components (http://hc.apache.org/httpcomponents-client-ga/)
require_once 'HTTP/Request2.php';

$request = new Http_Request2('https://api.cognitive.microsoft.com/bing/v7.0/news/trendingtopics');
$url = $request->getUrl();

$headers = array(
    // Request headers
    'Ocp-Apim-Subscription-Key' => '{subscription key}',
);

$request->setHeader($headers);

$parameters = array(
    // Request parameters
);

$url->setQueryVariables($parameters);

$request->setMethod(HTTP_Request2::METHOD_GET);

// Request body
$request->setBody("{body}");

try
{
    $response = $request->send();
    echo $response->getBody();
}
catch (HttpException $ex)
{
    echo $ex;
}

?>
########### Python 3.2 #############
import http.client, urllib.request, urllib.parse, urllib.error, base64

headers = {
    # Request headers
    'Ocp-Apim-Subscription-Key': '{subscription key}',
}

params = urllib.parse.urlencode({
})

try:
    conn = http.client.HTTPSConnection('api.cognitive.microsoft.com')
    conn.request("GET", "/bing/v7.0/news/trendingtopics?%s" % params, "{body}", headers)
    response = conn.getresponse()
    data = response.read()
    print(data)
    conn.close()
except Exception as e:
    print("[Errno {0}] {1}".format(e.errno, e.strerror))

####################################
require 'net/http'

uri = URI('https://api.cognitive.microsoft.com/bing/v7.0/news/trendingtopics')
uri.query = URI.encode_www_form({
})

request = Net::HTTP::Get.new(uri.request_uri)
# Request headers
request['Ocp-Apim-Subscription-Key'] = '{subscription key}'
# Request body
request.body = "{body}"

response = Net::HTTP.start(uri.host, uri.port, :use_ssl => uri.scheme == 'https') do |http|
    http.request(request)
end

puts response.body