立即开始
SerpAPI Tools

Serpapi Hotel Search

通过 Aident Loadout 使用 SerpAPI Tools 的 Serpapi Hotel Search。执行前查看输入、输出、设置、价格和风险。

写入操作风险等级 2/5Aident 托管访问

服务提供商说明

Retrieve Google Hotel Search Results. Supports parameters like q (query), location, etc. Returns hotel SERP data in JSON format.

价格与限制

价格
统一支付
支持使用 Aident 美元余额

输入

  • qstring
    必填
    Parameter defines the search query. You can use anything that you would use in a regular Google Hotels search.
  • glstring
    Parameter defines the country to use for the Google Hotels search. It's a two-letter country code. (e.g., us for the United States, uk for United Kingdom, or fr for France)
  • hlstring
    Parameter defines the language to use for the Google Hotels search. It's a two-letter language code. (e.g., en for English, es for Spanish, or fr for French).
  • asyncboolean
    Parameter defines the way you want to submit your search to SerpApi.
  • adultsinteger
    Parameter defines the number of adults. Default to 2.
  • outputstring
    Parameter defines the final output you want. It can be set to json (default) to get a structured JSON of the results, or html to get the raw html retrieved.
  • ratinginteger
    Parameter is used for filtering the results to certain rating.
  • sort_bystring
    Parameter is used for sorting the results. Default is sort by Relevance.
  • bedroomsinteger
    Parameter defines the minimum number of bedrooms. Default to 0.
  • childreninteger
    Parameter defines the number of children. Default to 0.
  • currencystring
    Parameter defines the currency of the returned prices. Default to USD.
  • no_cacheboolean
    Parameter will force SerpApi to fetch the Google Hotels results even if a cached version is already present.

可观察输出

  • data
    必填
    Data from the action execution
  • errorstring
    Error if any occurred during the execution of the action
  • successfulboolean
    必填
    Whether or not the action execution was successful or not

使用此操作的技能

相关使用场景

尚未关联经过验证的相关使用场景。

官方来源

服务提供商来源