Our Yahoo! Images API allows you to scrape SERP results from Yahoo! Images. The API is accessed through the following endpoint: /search?engine=yahoo_images
.
Endpoint
GET https://serpapi.abcproxy.com/search
Description
A user may query the following:
https://serpapi.abcproxy.com/search?engine=yahoo
utilizing a GET request. Head to the for a live and interactive demo.
Search Query
p
string
Yes
Parameter defines the search query. You can use anything that you would use in a regular Yahoo! search.
coffee
Localization
yahoo_domain
string
No
Parameter defines the Yahoo! domain to use.
fr.search.yahoo.com
Advanced Yahoo Images Parameters
imgsz
string
No
Parameter is used for filtering images by size. It can be set to:
small
- Small
medium
- Medium
large
- Large
wallpaper
- Extra Large
-
imgc
string
No
Parameter is used for filtering images by color. It can be set to:
color
- Color Only
bw
- Black & white
red
- Red color
orange
- Orange color
yellow
- Yellow color
green
- Green color
teal
- Teal color
blue
- Blue color
purple
- Purple color
pink
- Pink color
brown
- Brown color
black
- Black color
gray
- Gray color
white
- White color
-
imgty
string
No
Parameter is used for filtering images by image type. It can be set to:
photo
- Photo
clipart
- Clipart
linedrawing
- Line Drawing
gif
- Animated GIF
transparent
- Transparent
-
imga
string
No
Parameter is used for filtering images by layout. It can be set to:
square
- Square
wide
- Wide
tall
- Tall
-
imgf
string
No
Parameter is used for filtering images by people. It can be set to:
face
- Faces Only
portrait
- Head & Shoulders
nonportrait
- No People
-
imgt
string
No
Parameter is used for filtering images by time. It can be set to:
day
- Past 24 hours
week
- Past week
month
- Past month
year
- Past year
-
imgl
string
No
Parameter is used for filtering images by usage rights. It can be set to:
cc
- All Creative Commons
pd
- Public Domain
fsu
- Free to share and use
fsuc
- Free to share and use commercially
fmsu
- Free to modify, share and use
fmsuc
- Free to modify, share, and use commercially
-
Pagination
b
int
Yes
Parameter defines the result offset. It skips the given number of results. It's used for pagination.
1
Serpapi Parameters
engine
string
Yes
Set parameter to yahoo_images
to use the Yahoo! Images API engine.
yahoo
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
Containstiming
and status
information
images_results
object[]
List of image search results
shopping_results
object[]
List of shopping related
results
related_searches
object[]
List of related search suggestions
suggested_searches
object[]
List of suggested search queries
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