YepAPI
SERP

Bing SERP

Bing search results — organic rankings on Microsoft's search engine, powering Copilot and DuckDuckGo.

POST/v1/serp/bing
$0.01/call

Usage

const res = await fetch('https://api.yepapi.com/v1/serp/bing', {
  method: 'POST',
  headers: {
    'x-api-key': 'YOUR_API_KEY',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({ query: 'typescript vs javascript performance', depth: 10 }),
});
const { data } = await res.json();
console.log(data);
curl -X POST https://api.yepapi.com/v1/serp/bing \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query": "typescript vs javascript performance", "depth": 10}'

Request Body

ParameterTypeRequiredDescriptionDefault
querystringYesSearch query to look up on Bing
depthnumberNoNumber of results to return10
location_codenumberNoTarget country code (e.g., 2840 for US). See Location Codes.2840
languagestringNoISO language code (e.g., en, es)"en"

Response

{
  "ok": true,
  "data": {
    "query": "typescript vs javascript",
    "totalResults": 50,
    "results": [
      {
        "position": 1,
        "type": "organic",
        "title": "Why use triple-equal (===) in TypeScript? - Stack Overflow",
        "url": "https://stackoverflow.com/questions/57125700/why-use-triple-equal-in-typescript",
        "description": "Jul 20, 2019 · Typescript actually does fix == vs === (as far as possible at least). In Javascript there are two comparison operators: == : When comparing primitive values, like numbers and strings, this ...",
        "domain": "stackoverflow.com"
      },
      {
        "position": 2,
        "type": "organic",
        "title": "What is TypeScript and why should I use it instead of JavaScript ...",
        "url": "https://stackoverflow.com/questions/12694530/what-is-typescript-and-why-should-i-use-it-instead-of-javascript",
        "description": "What is the TypeScript language? What can it do that JavaScript or available libraries cannot do, that would give me reason to consider it?",
        "domain": "stackoverflow.com"
      },
      {
        "position": 3,
        "type": "organic",
        "title": "When should I use ?? (nullish coalescing) vs || (logical ...",
        "url": "https://stackoverflow.com/questions/61480993/when-should-i-use-nullish-coalescing-vs-logical-or",
        "description": "The nullish coalescing operator (??) in JavaScript only considers null or undefined as \"nullish\" values. If the left-hand side is any other value, even falsy values like \"\" (empty string), 0, or false, it will not use ...",
        "domain": "stackoverflow.com"
      }
    ]
  }
}

Response Fields

FieldTypeDescription
okbooleanWhether the request succeeded
data.querystringThe search query that was executed on Bing
data.totalResultsnumberTotal number of Bing results for the query
data.resultsobject[]Array of search result items
data.results[].positionnumberPosition in search results (1-indexed)
data.results[].typestringResult type (typically organic)
data.results[].titlestringTitle of the search result
data.results[].urlstringURL of the search result page
data.results[].descriptionstringSnippet or description shown in Bing results
data.results[].domainstringDomain of the result URL
Under the Hood

Under the hood, this queries our SERP engine. We normalize the response format and flatten nested structures for consistency.

On this page