跳转到主要内容
POST
Google Images Light Search

请求规范

  • 方法与路径: POST /apis/v1/serpapi/search-google-images-light
  • 可用状态: enabled
  • 请求 URL 模板: https://api.aisa.one/apis/v1/serpapi/search-google-images-light
完整 OpenAPI 定义 有效请求声明(包括认证和引用的 schema):

费用与请求规则

按实际用量收费。 默认请求预估费用:$0.0253 USD。 最终费用以实际用量为准。 账户适用价格可能不同;支持报价的接口可按实际请求获取报价。

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

请求体

application/json
q
string
必填

Search query for Google Images. Supports Google search operators like inurl:, site:, intitle:.

示例:

"coffee"

"landscape photography"

device
string

Device type for the search. Options: desktop (default), tablet, mobile.

示例:

"desktop"

"tablet"

"mobile"

end_date
string

End date for filtering images by upload date. Format: YYYYMMDD.

示例:

"20231231"

engine
string
默认值:google_images_light

Set parameter to google_images_light to use the Google Images Light API engine.

gl
string

Two-letter country code to define the country for the search.

示例:

"us"

"uk"

"fr"

google_domain
string

Google domain to use for the search. Defaults to google.com.

示例:

"google.com"

"google.co.uk"

hl
string

Two-letter language code to define the language for the search interface.

示例:

"en"

"es"

"fr"

image_color
string

Color filter for images. Options: bw (black and white), red, blue, green, yellow, orange, pink, white, gray, black, teal, brown.

示例:

"bw"

"red"

"blue"

imgar
string

Aspect ratio filter. Options: s (square), t (tall), w (wide), xw (extra wide).

示例:

"s"

"t"

"w"

"xw"

imgsz
string

Image size filter. Options: l (large), m (medium), i (icon), etc.

示例:

"l"

"m"

"i"

location
string

Geographic location for the search origin. Specify at city level for best results.

示例:

"Austin, Texas, United States"

"New York,United States"

period_unit
string

Time period unit for filtering by upload date. Options: s (second), n (minute), h (hour), d (day), w (week), m (month), y (year). Must be used with period_value.

示例:

"d"

"w"

"m"

period_value
integer

Time period value to use with period_unit. Specifies how many units back to search.

示例:

1

7

30

start
integer

Result offset for pagination. Must be between 0 and 999.

必填范围: 0 <= x <= 999
示例:

0

10

20

start_date
string

Start date for filtering images by upload date. Format: YYYYMMDD.

示例:

"20231201"

响应

Tool result data

images_results
object[]
search_information
object
search_metadata
object
search_parameters
object
serpapi_pagination
object