Other Documentation
Resources
Bing Images API Documentation
API Base URL
https://api.cognifyapi.comAuthentication header: x-cognifyapi-key
API key: YOUR_COGNIFY_API_KEY
Overview
Search Bing Images and retrieve image URLs, dimensions, and format metadata.
All requests use HTTPS and require the x-cognifyapi-key header. Replace the placeholder with your key from the CognifyAPI Studio. For interactive examples, visit the interactive Bing Images API page.
1. Bing Images Search
Search Bing Images and include image metadata.
GET/bing-images?query=microsoft&count=1&imageInfo=true
Query parameters
| Parameter | Example value |
|---|---|
query | microsoft |
count | 1 |
imageInfo | true |
Request example
bash
curl --request GET \
--url 'https://api.cognifyapi.com/bing-images?query=microsoft&count=1&imageInfo=true' \
--header 'x-cognifyapi-key: YOUR_COGNIFY_API_KEY'Response Example
json
{
"status": "success",
"query": "microsoft",
"results": 1,
"images": [
{
"url": "https://blockonomi.com/wp-content/uploads/2026/07/Microsoft-1-scaled-3.webp",
"width": 2560,
"height": 1702,
"type": "webp",
"mime": "image/webp"
}
]
}Authentication
Include your API key in every request using the x-cognifyapi-key request header.
Errors and limits
Check the HTTP status and response body when a request fails. Invalid parameters can return a 400 response; exceeding your plan's rate limit can return 429. Review your plan and usage in CognifyAPI Studio.