Browse with Bing from API

Browse with Bing was added back to the chatgpt web application to allow for internet searches. Can this functionality be used via an OpenAI api call, or is it limited to just the website?


I have the same question - from testing various queries it’s unclear

“Browse with Bing” is a feature available for ChatGPT as a web service.
If you wish to achieve the same functionality using the API, you need to implement the Bing search functionality yourself.


Hello, is it still restricted to just chatgpt or can we already call via API?

1 Like

I’m also interested in this feature. Has it been integrated into the API?

1 Like

Still no change I think. They will show when it’s available in the link of this message. New Assistants: “browse with Bing” ability? - #17 by _j

you can try somthing like:

        const getBingResults = async (searchQuery) => {
            const response = await fetch(`${searchQuery}`, {
                headers: {
                    'Ocp-Apim-Subscription-Key': 'Bing-API-key'
            const data = await response.json();
            return data;

        const bingResults = await getBingResults(userInput);

        const response = await fetch('', {
            method: 'POST',
            headers: {
                'Content-Type': 'application/json',
                'Authorization': `Bearer ${api_key}`
            body: JSON.stringify({
                model: "gpt-4", 
                messages: [
                        {role: "user", content: userInput},
                        {role: "assistant", content: `The search results for "${userInput}" are: ${bingResults}`}