Bing Search
Search Bing via API. Supply a search query. Sample fields include titles and links. Use it to surface relevant records in a search or discovery tool. The POST request schema also lists timeout. Use the results to organize a research workflow and cross-check the relevant source records.
- Selected price
- $0.00015 / callPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
Bing Search
Prepare your request, then continue with your agent.
Selected price
$0.00015 / call
- Provider
- Pricing
On this page
Playground
Run sends a real API request. Charges follow the published API contract.
Response structure
knowledge_graphobjectdescriptionstringtitlestring
litescrape_paginationobjectnextstring
organic_resultsobject[]linkstringpositionintegertitlestring
paginationobjectnextstring
search_metadataobjectbing_urlstringidstringstatusstring
search_parametersobjectdevicestringenginestringmktstringqstring
submit_feedback_for_this_response_herestring
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
knowledge_graph?: {
description?: string;
title?: string;
};
litescrape_pagination?: {
next?: string;
};
organic_results?: Array<{
link?: string;
position?: number;
title?: string;
}>;
pagination?: {
next?: string;
};
search_metadata?: {
bing_url?: string;
id?: string;
status?: string;
};
search_parameters?: {
device?: string;
engine?: string;
mkt?: string;
q?: string;
};
submit_feedback_for_this_response_here?: string;
};Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
litescrapeCurrent Bing Search · POST · View API reference | $0.00015 / call | — | —successP50— |
- Unit price
- $0.00015
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 3. Price update time: not supplied.
Total $0.015
API
- Method
- POST
- Endpoint
https://api.openany.si/v1/agent-apis/litescrape/api/bing/search- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
'https://api.openany.si/v1/agent-apis/litescrape/api/bing/search' \
-X POST \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"q": "python documentation"
}'Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
timeout | URL query parametersquery | number | No | Total request execution budget in seconds, greater than 0 and at most 90. Supply in the query string for GET or POST. page_timeout cannot extend this budget. maximum: 90 |
cc | JSON request bodybody | string | null | No | Case-insensitive two-letter country of origin. Format: US or GB. Cannot be combined with mkt. |
device | JSON request bodybody | string | No | Selects desktop, tablet, or mobile result behavior. enum: "desktop", "tablet", "mobile" |
engine | JSON request bodybody | string | No | Selects the Bing web-search engine. const: "bing" |
filters | JSON request bodybody | string | null | No | Native Bing display or date filter expression. Maximum length: 8,192 characters. Control characters are rejected. |
first | JSON request bodybody | integer | No | One-based native offset for organic results. Range: 1 through 9,007,199,254,740,991. Prefer litescrape_pagination.next when it is returned. |
lat | JSON request bodybody | number | null | No | Latitude from -90 through 90. May be supplied independently or with lon. |
location | JSON request bodybody | string | null | No | Named city-level origin used to localize the Bing request. Maximum length: 256 characters. Control characters are rejected. |
lon | JSON request bodybody | number | null | No | Longitude from -180 through 180. May be supplied independently or with lat. |
mkt | JSON request bodybody | string | null | No | Case-insensitive Bing language-country market token. Format: two-letter language and country, such as en-US. Cannot be combined with cc. |
q | JSON request bodybody | string | Yes | Bing search query after trimming. Accepted length: 1 through 2,048 characters. Control characters are rejected. Bing query syntax such as quoted phrases and exclusions remains available. |
safeSearch | JSON request bodybody | string | No | Bing adult-content policy; values are case-insensitive. enum: "off", "moderate", "strict" |
Required markers inside a nested object or variant apply when that object or variant is used.
Sample response
Sample response · Documented HTTP 200 Example from the provider's documentation. Field values in your results will differ.
{
"knowledge_graph": {
"description": "A baked flatbread dish with toppings.",
"title": "Pizza"
},
"litescrape_pagination": {
"next": "https://ecll-litescrape-v3--site-api-web.modal.run/api/bing/search?q=pizza+shops+in+New+York&first=11"
},
"organic_results": [
{
"link": "https://example.com/pizza",
"position": 1,
"title": "Example Pizza"
}
],
"pagination": {
"next": "https://www.bing.com/search?q=pizza+shops+in+New+York&first=11"
},
"search_metadata": {
"bing_url": "https://www.bing.com/search?q=pizza+shops+in+New+York",
"id": "a4d234f6b74a330f8a8d5069",
"status": "Success"
},
"search_parameters": {
"device": "desktop",
"engine": "bing",
"mkt": "en-US",
"q": "pizza shops in New York"
},
"submit_feedback_for_this_response_here": "https://ecll-litescrape-v3--site-api-web.modal.run/api/feedback/example-not-a-valid-token"
}Agent integration
Copy the resource contract without sharing an API key.
View API Markdown
# Bing Search
Search Bing via API. Supply a search query. Sample fields include titles and links. Use it to surface relevant records in a search or discovery tool. The POST request schema also lists timeout. Use the results to organize a research workflow and cross-check the relevant source records.
## Available implementations
litescrape · Bing Search: https://openany.si/markets/apis/capabilities/bing-search?offering=642e50bd-3369-4143-821f-29f0121f7faf · $0.00015 / call
## Selected API contract
Documentation: https://openany.si/markets/apis/capabilities/bing-search
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/litescrape/api/bing/search
Price: $0.00015 / call
Provider: litescrape
Contract revision: 3
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.
Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.
## Prepared request
```bash
curl \
'https://api.openany.si/v1/agent-apis/litescrape/api/bing/search' \
-X POST \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"q": "python documentation"
}'
```
## API contract
```json
{
"resource_type": "api",
"name": "Bing Search",
"endpoint": "https://api.openany.si/v1/agent-apis/litescrape/api/bing/search",
"method": "POST",
"content_type": "application/json",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": "Total request execution budget in seconds, greater than 0 and at most 90. Supply in the query string for GET or POST. page_timeout cannot extend this budget.",
"location": "query",
"maximum": "90",
"name": "timeout",
"nullable": false,
"required": false,
"type": "number"
},
{
"description": "Get Bing web search results.",
"json_schema": {
"additionalProperties": false,
"examples": [
{
"q": "python documentation"
}
],
"properties": {
"cc": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Case-insensitive two-letter country of origin.\n\nFormat: US or GB. Cannot be combined with mkt.",
"title": "Cc",
"x-litescrape": {
"formGroup": 2,
"group": 2,
"id": "bing-localization-cc",
"label": "Country",
"notes": [
"Format: US or GB.",
"Cannot be combined with mkt."
],
"placeholder": "US",
"summary": "Case-insensitive two-letter country of origin."
}
},
"device": {
"default": "desktop",
"description": "Selects desktop, tablet, or mobile result behavior.",
"enum": [
"desktop",
"tablet",
"mobile"
],
"title": "Device",
"type": "string",
"x-litescrape": {
"formGroup": 3,
"group": 3,
"id": "bing-controls-device",
"kind": "select",
"label": "Device",
"options": [
{
"label": "desktop (default)",
"value": "desktop"
},
{
"label": "tablet",
"value": "tablet"
},
{
"label": "mobile",
"value": "mobile"
}
],
"summary": "Selects desktop, tablet, or mobile result behavior."
}
},
"engine": {
"const": "bing",
"default": "bing",
"description": "Selects the Bing web-search engine.",
"title": "Engine",
"type": "string",
"x-litescrape": {
"formGroup": 0,
"group": 0,
"hiddenInput": true,
"id": "bing-search-engine",
"summary": "Selects the Bing web-search engine."
}
},
"filters": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Native Bing display or date filter expression.\n\nMaximum length: 8,192 characters. Control characters are rejected.",
"title": "Filters",
"x-litescrape": {
"formGroup": 0,
"group": 3,
"id": "bing-controls-filters",
"kind": "textarea",
"label": "Bing filters",
"notes": [
"Maximum length: 8,192 characters.",
"Control characters are rejected."
],
"placeholder": "ex1:\"ez5_20069_20433\"",
"summary": "Native Bing display or date filter expression."
}
},
"first": {
"default": 1,
"description": "One-based native offset for organic results.\n\nRange: 1 through 9,007,199,254,740,991. Prefer litescrape_pagination.next when it is returned.",
"title": "First",
"type": "integer",
"x-litescrape": {
"formGroup": 2,
"group": 3,
"id": "bing-controls-first",
"kind": "number",
"label": "First result",
"notes": [
"Range: 1 through 9,007,199,254,740,991.",
"Prefer litescrape_pagination.next when it is returned."
],
"placeholder": "1",
"summary": "One-based native offset for organic results."
}
},
"lat": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"description": "Latitude from -90 through 90.\n\nMay be supplied independently or with lon.",
"title": "Lat",
"x-litescrape": {
"formGroup": 1,
"group": 1,
"id": "bing-origin-lat",
"label": "Latitude",
"notes": [
"May be supplied independently or with lon."
],
"placeholder": "40.7128",
"summary": "Latitude from -90 through 90."
}
},
"location": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Named city-level origin used to localize the Bing request.\n\nMaximum length: 256 characters. Control characters are rejected.",
"title": "Location",
"x-litescrape": {
"formGroup": 1,
"group": 1,
"id": "bing-origin-location",
"label": "Location",
"notes": [
"Maximum length: 256 characters.",
"Control characters are rejected."
],
"placeholder": "New York, New York",
"summary": "Named city-level origin used to localize the Bing request."
}
},
"lon": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"description": "Longitude from -180 through 180.\n\nMay be supplied independently or with lat.",
"title": "Lon",
"x-litescrape": {
"formGroup": 1,
"group": 1,
"id": "bing-origin-lon",
"label": "Longitude",
"notes": [
"May be supplied independently or with lat."
],
"placeholder": "-74.0060",
"summary": "Longitude from -180 through 180."
}
},
"mkt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Case-insensitive Bing language-country market token.\n\nFormat: two-letter language and country, such as en-US. Cannot be combined with cc.",
"title": "Mkt",
"x-litescrape": {
"formGroup": 2,
"group": 2,
"id": "bing-localization-mkt",
"label": "Market",
"notes": [
"Format: two-letter language and country, such as en-US.",
"Cannot be combined with cc."
],
"placeholder": "en-US",
"summary": "Case-insensitive Bing language-country market token."
}
},
"q": {
"description": "Bing search query after trimming.\n\nAccepted length: 1 through 2,048 characters. Control characters are rejected. Bing query syntax such as quoted phrases and exclusions remains available.",
"title": "Q",
"type": "string",
"x-litescrape": {
"formGroup": 0,
"group": 0,
"id": "bing-search-q",
"label": "Query",
"notes": [
"Accepted length: 1 through 2,048 characters.",
"Control characters are rejected.",
"Bing query syntax such as quoted phrases and exclusions remains available."
],
"placeholder": "pizza shops in New York",
"summary": "Bing search query after trimming."
}
},
"safeSearch": {
"default": "moderate",
"description": "Bing adult-content policy; values are case-insensitive.",
"enum": [
"off",
"moderate",
"strict"
],
"title": "Safesearch",
"type": "string",
"x-litescrape": {
"formGroup": 3,
"group": 3,
"id": "bing-controls-safeSearch",
"kind": "select",
"label": "SafeSearch",
"options": [
{
"label": "off",
"value": "off"
},
{
"label": "moderate (default)",
"value": "moderate"
},
{
"label": "strict",
"value": "strict"
}
],
"summary": "Bing adult-content policy; values are case-insensitive."
}
}
},
"required": [
"q"
],
"title": "Request",
"type": "object"
},
"location": "body",
"name": "body",
"nullable": false,
"pointer": "",
"required": true,
"type": "object"
}
],
"billing": {
"currency": "USD",
"mode": "fixed",
"priceMicroUsd": "150",
"rounding": null,
"unit": "call",
"unitQuantity": null
},
"examples": [
{
"http_status": 200,
"name": "Official example",
"request": {
"body": {
"q": "python documentation"
},
"headers": {},
"path": {},
"query": {}
},
"response_body": {
"knowledge_graph": {
"description": "A baked flatbread dish with toppings.",
"title": "Pizza"
},
"litescrape_pagination": {
"next": "https://ecll-litescrape-v3--site-api-web.modal.run/api/bing/search?q=pizza+shops+in+New+York&first=11"
},
"organic_results": [
{
"link": "https://example.com/pizza",
"position": 1,
"title": "Example Pizza"
}
],
"pagination": {
"next": "https://www.bing.com/search?q=pizza+shops+in+New+York&first=11"
},
"search_metadata": {
"bing_url": "https://www.bing.com/search?q=pizza+shops+in+New+York",
"id": "a4d234f6b74a330f8a8d5069",
"status": "Success"
},
"search_parameters": {
"device": "desktop",
"engine": "bing",
"mkt": "en-US",
"q": "pizza shops in New York"
},
"submit_feedback_for_this_response_here": "https://ecll-litescrape-v3--site-api-web.modal.run/api/feedback/example-not-a-valid-token"
}
}
]
}
```Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Official example
Example from the provider's documentation. Field values in your results will differ.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 2
Review these request fields before running. Keep the published provider and request method unchanged.
timeout- Total request execution budget in seconds, greater than 0 and at most 90. Supply in the query string for GET or POST. page_timeout cannot extend this budget.
body- Get Bing web search results.
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/litescrape/api/bing/search' \ -X POST \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json' \ --data-raw '{ "q": "python documentation" }'Check the response
Sample response · Documented HTTP 200
Sample response{ "knowledge_graph": { "description": "A baked flatbread dish with toppings.", "title": "Pizza" }, "litescrape_pagination": { "next": "https://ecll-litescrape-v3--site-api-web.modal.run/api/bing/search?q=pizza+shops+in+New+York&first=11" }, "organic_results": [ { "link": "https://example.com/pizza", "position": 1, "title": "Example Pizza" } ], "pagination": { "next": "https://www.bing.com/search?q=pizza+shops+in+New+York&first=11" }, "search_metadata": { "bing_url": "https://www.bing.com/search?q=pizza+shops+in+New+York", "id": "a4d234f6b74a330f8a8d5069", "status": "Success" }, "search_parameters": { "device": "desktop", "engine": "bing", "mkt": "en-US", "q": "pizza shops in New York" }, "submit_feedback_for_this_response_here": "https://ecll-litescrape-v3--site-api-web.modal.run/api/feedback/example-not-a-valid-token" }