Our Bing Images API allows you to scrape SERP results from Bing Images. The API is accessed through the following endpoint: /search?engine=bing_images
.
Endpoint
GET https://serpapi.abcproxy.com/search
Description
A user may query the following:
https://serpapi.abcproxy.com/search?engine=bing_images
utilizing a GET request. Head to the for a live and interactive demo.
Search Query
q
string
Yes
Parameter defines the search query. You can use anything that you would use in a regular Bing Images search.
coffee
Geographic Location
mkt
string
No
The market where the results come from (e.g. en-US
). Typically, mkt is the country where the user is making the request from. However, it could be a different country if the user is not located in a country where Bing Images API delivers results. The market must be in the form -. For example, en-US. The string is case insensitive. For a list of possible market values.
en-US
Localization
cc
string
No
us
,de
, gb
Pagination
first
string
No
Parameter controls the offset of the organic results. This parameter defaults to 1
.
10
count
string
No
Parameter controls the number of results per page. This parameter is only a suggestion and might not reflect the returned results.
100
Advanced Bing Images Parameters
imagesize
string
No
Parameter is used for filtering images by size. It can be set to:
small
- Small
medium
- Medium
large
- Large
wallpaper
- Extra Large
-
color2
string
No
Parameter is used for filtering images by color. It can be set to:
color
- Color Only
bw
- Black & white
FGcls_RED
- Red
FGcls_ORGANGE
- Orange
FGcls_YELLOW
- Yellow
FGcls_GREEN
- Green
FGcls_TEAL
- Teal
FGcls_BLUE
- Blue
FGcls_PURPLE
- Purple
FGcls_PINK
- Pink
FGcls_BROWN
- Brown
FGcls_BLACK
- Black
FGcls_GRAY
- Gray
FGcls_WHITE
- White
-
photo
string
No
Parameter is used for filtering images by image type. It can be set to:
photo
- Photo
clipart
- Clipart
linedrawing
- Line Drawing
animatedgif
- Animated GIF
transparent
- Transparent
-
aspect
string
No
Parameter is used for filtering images by layout. It can be set to:
square
- Square
wide
- Wide
tall
- Tall
-
face
string
No
Parameter is used for filtering images by people. It can be set to:
face
- Faces Only
portrait
- Head & Shoulders
-
age
string
No
Parameter is used for filtering images by date. It can be set to:
lt1440
- Past 24 hours
lt10080
- Past week
lt43200
- Past month
lt525600
- Past year
-
license
string
No
Parameter is used for filtering images by license. It can be set to:
Type-Any
- All Creative Commons
L1
- Public Domain
L2_L3_L4_L5_L6_L7
- Free to share and use
L2_L3_L4
- Free to share and use commercially
L2_L3_L5_L6
- Free to modify, share and use
L2_L3
- Free to modify, share, and use commercially
-
Serpapi Parameters
engine
string
Yes
Set parameter to bing_images
to use the Bing Images API engine.
bing_images
no_c1ache
boolean
No
Parameter will force SerpApi to fetch the Google Patents results even if a cached version is already present. A cache is served only if the query and all parameters are exactly the same. Cache expires after 1h. Cached searches are free, and are not counted towards your searches per month.
true
or false
api_key
string
Yes
Parameter defines the SerpApi private key to use.
YOUR_API_KEY
Response Body
Response Fields
search_parameters
object
Contains query
parameters and search
context
search_metadata
object
Contains timing
and status
information
images_results
object[]
List of image search results
suggested_searches
object[]
Suggested search terms with thumbnails
shopping_results
object[]
Product recommendations with pricing
related_searches
object[]
Text-only related
search terms
pagination
object
Search results pagination controls
Common Errors
200
400
API Key can not be empty
200
401
Param error
200
402
API Key error
200
403
Insufficient Balance
200
404
Deduction failed
200
405
Failed to record usage count
200
406
Unsupported engine
200
407
Network error
200
408
File not found
200
409
Limit param error
200
410
Build url error
200
411
Failed to QueryRecentRecord
200
412
Failed to find json
200
413
Get html error
200
414
HTML is empty
200
429
Too many request
Error Example
Parameter defines the country to search from. It follows the 2-character format.