{"name":"Bing Search API","description":"Bing search results for any query: organic results with title, URL, description, position and sitelinks, plus People Also Ask, related searches and news, in any Bing market and language.","api_id":"generated_321b23137210bbfbd3f37f46","slug":"bing-search-api","source":{"name":"Bing","domain":"bing.com","url":"https://www.bing.com/"},"category":"news_content","countries":[],"languages":[],"record_types":[],"tags":[],"limitations":[],"updated":"2026-12-05","note":"Sample records are saved samples, not a live run. CleanedWeb is not affiliated with the source.","version":"1.0","versions":[{"major":1,"latest_minor":"1.0","status":"current","sunset_at":null}],"changelog":[{"version":"1.0","date":"2026-12-04T14:31:14.000Z","kind":"major","changes":[]}],"version_note":"Pin a major with \"version\": N in the run body (an integer). Leave it out and the call runs on the latest major. A sunset major runs on the latest major and the response says rerouted. An unknown major answers 404 catalog_version_not_found and lists the available majors.","endpoints":[{"endpoint_id":"generated_321b23137210bbfbd3f37f46_search","name":"Search Bings","description":"Return records within the accepted scope.","definition_version":"813461c726f966ac7b8083ab1b191a3802a8a472401b7abe770613e6e4867850","method":"POST","path":"/v1/catalog/public/apis/generated_321b23137210bbfbd3f37f46/endpoints/generated_321b23137210bbfbd3f37f46_search/run","url":"https://api.cleanedweb.com/v1/catalog/public/apis/generated_321b23137210bbfbd3f37f46/endpoints/generated_321b23137210bbfbd3f37f46_search/run","authentication":{"type":"bearer","scheme":"Authorization: Bearer <API key>","scope":"run","note":"Reading this file and the live catalog needs no credential. A run needs a CleanedWeb account and uses the credits of its workspace.","docs":"https://cleanedweb.com/docs/run-catalog-api/"},"required_headers":[{"name":"Authorization","value":"Bearer YOUR_API_KEY","description":"An API key with the run scope."},{"name":"Idempotency-Key","value":"UNIQUE_REQUEST_ID","description":"Required. Save it before you send; reuse it only to retry the same request and to read the result. 1-200 characters: letters, numbers, . _ : -"},{"name":"Content-Type","value":"application/json","description":"The body is JSON."}],"request_body":{"input":"An object that follows input_schema.","max_items":"Optional. Stop after this many records.","timeout_seconds":"Optional, 60-86400, default 10800.","wait_seconds":"Optional, 0-86400, default 90. How long the request waits before answering 202.","version":"Optional integer major. Leave it out for the latest major."},"input_schema":{"type":"object","properties":{"enrich_records":{"type":"boolean","default":true,"description":"true: read each returned record's product/detail page and merge its fields into the record. false: return list/search-level fields only, with no detail page reads. Every returned record's detail page is read within the run's time budget; records the time budget leaves unread are returned without detail fields, and summary.record_enrichment reports how many records were enriched and why any were not (run_time_budget). Detail fields are optional.","title":"Open each result","x-input-group":"other"},"search":{"anyOf":[{"type":"string","minLength":1,"pattern":"^[^\\x00-\\x1f\\x7f]+$","description":"Optional. Text sent to the site's own search form; its result pages are read and revalidated like the collection. Omit to read the whole collection."},{"type":"array","minItems":1,"items":{"type":"string","minLength":1,"pattern":"^[^\\x00-\\x1f\\x7f]+$","description":"Optional. Text sent to the site's own search form; its result pages are read and revalidated like the collection. Omit to read the whole collection."}}],"description":"Optional. Text sent to the site's own search form; its result pages are read and revalidated like the collection. Omit to read the whole collection. Supply an array to union distinct results from each source search, in query order.","title":"Search words","x-input-group":"search"},"urls":{"anyOf":[{"type":"string","format":"uri","minLength":1},{"type":"array","minItems":1,"items":{"type":"string","format":"uri","minLength":1}}],"description":"Optional. Links copied from the site's address bar, one or a list. A results link (a category page, a search or a filtered list) is read as this API's own inputs and that list is walked; the run echoes each link's inputs in metadata.links. A record's own page (path shaped /images/{word}) is read as that one record. Record pages take no search or filter input beside them. A link from another site, or one that names a page or filter this API has no input for, refuses the call with the unread parts listed; it is never served from another page. Tracking and paging keys are dropped. Several links are read in order and max_items counts across all of them.","examples":[["https://www.bing.com/images?FORM=Z9LH"],["https://www.bing.com/images/search?q=Animal&FORM=IRPFED"]],"x-from-url":{"origin":"https://www.bing.com"},"title":"Links","x-input-group":"other"},"from_url":{"type":"string","format":"uri","description":"Deprecated: send the link in `urls`. A results link copied from the site (its own address bar): a category page, a search or a filtered list. It is read as this API's own inputs and the run echoes them as `decoded`. Tracking and paging keys are dropped. A link from another site, or one that names a page or filter this API has no input for, is refused with the unread parts listed; it is never served from another page.","x-from-url":{"origin":"https://www.bing.com"},"deprecated":true,"title":"Results link (old name)","x-input-group":"other"}},"required":[],"additionalProperties":false},"output_schema":{"type":"object","additionalProperties":false,"properties":{"title":{"type":"string"},"url":{"type":"string","format":"uri"},"urls":{"type":"object","properties":{"new_version":{"type":"string","description":"new version url"},"related_products":{"type":"array","items":{"type":"string"},"description":"related products url"}},"additionalProperties":true},"related_products":{"type":"array","items":{"type":"object","additionalProperties":{"type":["string","number","boolean","array"],"items":{"type":"string"}}},"description":"related products"}},"required":["title","url"]},"output_schema_note":"Some fields the source returns are not published here (credentials and page-building noise). A record can carry fields this schema does not list, so additionalProperties is true. Do not reject a record for an extra field. The live contract, linked as live_contract, lists every field the saved definition declares.","examples":[{"kind":"saved_validation_records","saved_at":"2026-12-04T14:31:14.180Z","live_verified":false,"request":{"input":{}},"records_shown":2,"records_saved":2,"records":[{"urls":{"new_version":"https://www.bing.com/images/vnext/search?q=Animal&FORM=IRPFED","related_products":["https://www.bing.com/images/search?q=Animal+Plushies&fsm=1&FORM=SHOPSO","https://www.bing.com/images/search?q=Animal+Crossing+New+Horizons&fsm=1&FORM=SHOPSO","https://www.bing.com/images/search?q=Animal+Wall+Art&fsm=1&FORM=SHOPSO"]},"title":"Animal","url":"https://www.bing.com/images/search?q=Animal&FORM=IRPFED"},{"urls":{"new_version":"https://www.bing.com/images/vnext/search?q=Photography&FORM=IRPFED","related_products":["https://www.bing.com/images/search?q=Photography+Books&fsm=1&FORM=SHOPSO","https://www.bing.com/images/search?q=Photography+Camera&fsm=1&FORM=SHOPSO","https://www.bing.com/images/search?q=Photography+Lighting+Kit&fsm=1&FORM=SHOPSO"]},"title":"Photography","url":"https://www.bing.com/images/search?q=Photography&FORM=IRPFED"}]}],"request_example":{"body":{"input":{},"version":1,"max_items":25},"curl":"curl -X POST https://api.cleanedweb.com/v1/catalog/public/apis/generated_321b23137210bbfbd3f37f46/endpoints/generated_321b23137210bbfbd3f37f46_search/run \\\n  -H \"Authorization: Bearer YOUR_API_KEY\" \\\n  -H \"Idempotency-Key: UNIQUE_REQUEST_ID\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n  \"input\": {},\n  \"version\": 1,\n  \"max_items\": 25\n}'"},"result":{"method":"GET","url":"https://api.cleanedweb.com/v1/catalog/public/apis/generated_321b23137210bbfbd3f37f46/endpoints/generated_321b23137210bbfbd3f37f46_search/result","note":"A run that does not end within wait_seconds answers 202. Read the result with the same API key and the same Idempotency-Key."},"links":{"page":"https://cleanedweb.com/catalog/bing-search-api/","markdown":"https://cleanedweb.com/catalog/bing-search-api/index.md","live_contract":"https://app.cleanedweb.com/api/catalog/apis/generated_321b23137210bbfbd3f37f46/endpoints/generated_321b23137210bbfbd3f37f46_search/contract","run_docs":"https://cleanedweb.com/docs/run-catalog-api/"}}],"links":{"page":"https://cleanedweb.com/catalog/bing-search-api/","markdown":"https://cleanedweb.com/catalog/bing-search-api/index.md","contract":"https://cleanedweb.com/catalog/bing-search-api/contract.json","catalog":"https://cleanedweb.com/catalog/","index":"https://cleanedweb.com/catalog/index.json","openapi":"https://cleanedweb.com/catalog/openapi.json"}}
