跳转到主要内容
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
  • Runtime 事实版本: 1d8d2010628130bd331b470b564dd1cd5784989899ccf3e384a8de02a69e0558
完整 OpenAPI 定义 有效请求与价格声明(包括认证和引用的 schema):

费用与请求规则

按用量计费;默认请求预估费用:$0.0253 USD(不是固定价格)。 声明的单位费率:每 provider_credit $0.000001 USD。 最终费用以账户适用价格及实际结算为准。 公开参考值不是你的账户报价或最终扣费。对于支持 X-AISA-Cost-Mode: quote 的接口,执行前请针对完整请求获取免费报价;执行后通过响应费用元数据和 Usage Logs 核对结算费用。1 USD 等于 1,000,000 个整数 micro-USD。
  • 默认请求参考估价(USD): 0.0253
  • 声明的单位费率(USD): 1e-06
  • 计费单位: provider_credit
  • 计费依据: response_units
  • 公开参考倍率: 1.0
  • 声明的最大计数或单位数: 10000000
  • 结算证据来源: response_body

授权

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"

gl
string

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

示例:

"us"

"uk"

"fr"

hl
string

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

示例:

"en"

"es"

"fr"

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"

start
integer

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

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

0

10

20

device
string

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

示例:

"desktop"

"tablet"

"mobile"

engine
string
默认值:google_images_light

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

end_date
string

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

示例:

"20231231"

location
string

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

示例:

"Austin, Texas, United States"

"New York,United States"

start_date
string

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

示例:

"20231201"

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"

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

google_domain
string

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

示例:

"google.com"

"google.co.uk"

响应

Tool result data

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