Bing Search API
Search APIs
Bing Search API
Bing-powered real-time web search API with auto-crawling, page content extraction, and multiple output formats. Optimized for RAG pipelines, LLM context, and AI agents.
GET
Bing Search API
Overview
The Bing Search API provides real-time web search powered by Bing, with optional automatic crawling and content extraction of search results. It supports granular control over SERP enrichments and multiple output formats (HTML, Markdown, plain text) — making it the ideal choice for LLM applications, RAG pipelines, and AI agents.Which Search API should I use? Use the Bing Search API for LLM/RAG workflows — it supports auto-crawling and returns page content in Markdown. Use the Google Search API for SEO monitoring, lead generation, and structured SERP analysis.
Endpoint
Parameters
Required Headers
Your Crawleo API key for authentication. (Alternatively, use the
Authorization: Bearer YOUR_API_KEY header.)Example: x-api-key: YOUR_API_KEY or Authorization: Bearer YOUR_API_KEYRequired Parameters
The search query string.
Pagination Parameters
Maximum number of search result pages to fetch. Each page costs 10 credits.
Localization Parameters
Language code for search results (e.g.,
en, es, fr, de).Country code for search results (e.g.,
US, GB, DE).Geographic location for localized results. Use
random for randomized geolocation.Device Simulation
Device type to simulate. Options:
desktop, mobile, tablet.SERP Enrichment Toggles
Include Copilot AI-generated answers in the SERP results.
Include “People Also Ask” question-and-answer cards in the results.
Include related search queries suggestions.
Include sidebar data (knowledge panels, local results, etc.).
Include direct answer boxes and instant answers.
Page Content Format Parameters
Return the original HTML source of each result page.
Return clean HTML with ads, scripts, and tracking removed.
Return plain text content extracted from each result page.
Return content as structured Markdown (recommended for RAG/LLM).
Auto-Crawling
Automatically crawl each search result URL and include page content.
Example Requests
Basic Search
Search with Auto-Crawling and Markdown Output
Full-Featured Search
Localized Search
Response
A successful response returns search results with optional crawled content:The search query that was executed.
Number of pages fetched from the search engine.
Object containing results keyed by page number (e.g., “1”, “2”).
Number of credits consumed by this request.
Important Updates
This endpoint provides granular control over SERP enrichments through five boolean query parameters:
copilot_answer- Control AI-generated answer cardsquestions_answers- Control People Also Ask suggestionsrelated_queries- Control related search queriessidebar- Control sidebar data and knowledge panelsdirect_answer- Control instant answer boxes
true, allowing you to selectively disable them as needed.Breaking Change:
enhanced_html and markdown now default to false. To receive page content, explicitly set enhanced_html=true and/or markdown=true in your request. This makes default responses leaner and more focused on core search results.Use Cases
RAG Pipeline
RAG Pipeline
Use
auto_crawling=true with markdown=true to fetch search results and their full content in a single request, formatted for LLM consumption. This is the primary advantage over the Google Search API.AI Agent Context
AI Agent Context
Feed real-time Bing search results with extracted page content directly into LLM agents. The auto-crawling and Markdown output minimize token usage and post-processing.
Research Agent
Research Agent
Combine with localization parameters to gather region-specific information for AI research agents.
Content Aggregation
Content Aggregation
Use
enhanced_html=true to collect clean content from multiple sources without ads and scripts.Fine-Grained SERP Control
Fine-Grained SERP Control
Use the SERP enrichment toggles to customize which advanced search features are extracted. For example, set
questions_answers=false if you only need core results and related queries.Need Google SERP data instead?
Use the Google Search API for SEO monitoring, lead generation, competitor research, and structured SERP analysis.
Last modified on April 21, 2026