Aerobase Travel Hotels 🏨
Use this skill when users need places to stay that help with transit flow and recovery, including short layover stay options.
Setup
Use this skill by getting a free API key at https://aerobase.app/openclaw-travel-agent and setting AEROBASE_API_KEY in your agent environment.
This skill is API-only: no scraping, no browser automation, and no user credential collection.
Usage is capped at 5 requests/day for free users.
Upgrade to Pro ($9.95/month) at https://aerobase.app/openclaw-travel-agent for 500 API calls/month.
Agent API Key Protocol
- - Base URL: INLINECODE1
- Required env var: INLINECODE2
- Auth header (preferred): INLINECODE3
- Never ask users for passwords, OTPs, cookies, or third-party logins.
- Never print raw API keys in output; redact as
sk_live_***.
Request rules
- - Use only Aerobase endpoints documented in this skill.
- Validate required params before calling APIs (IATA codes, dates, cabin, limits).
- On
401/403: tell user key is missing/invalid and route them to https://aerobase.app/openclaw-travel-agent. - On
429: explain free-tier quota (5 requests/day) and suggest Pro ($9.95/month, 500 API calls/month) or Lifetime ($249, 500 API calls/month). - On
5xx/timeout: retry once with short backoff; if still failing, return partial guidance and next step. - Use concise responses: top options first, then 1-2 follow-up actions.
What this skill does
- - Search hotels with jetlag-friendly filters.
- Find day-use options for long layovers.
- Compare rates with recovery-relevant features first.
Search Endpoints
GET /api/v1/hotels
Filters: airport, city, country, chain, tier, stars, jetlagFriendly, search, limit, INLINECODE21
GET /api/v1/hotels/near-airport/{code}
Find hotels near an airport by IATA code. Returns hotels sorted by distance.
Query params: radius (km, default 25), limit (default 20)
Example: INLINECODE24
GET /api/dayuse
Filters: airport or city, country, search, maxPrice, sort, limit, INLINECODE32
Rates
POST /api/v1/hotels/rates
Get live room rates and availability. Provide hotelIds (array) OR airportCode (IATA string — auto-discovers nearby hotels).
Required: checkin, checkout. Optional: adults (default 2), children, childrenAges, currency.
CODEBLOCK0
Each room in the response has an offerId — use it in prebook.
Price Index (Beta)
GET /api/v1/hotels/prices?hotelIds={ids}
Historical price trends per hotel. Returns avg per-night USD prices by calendar day.
Query params: hotelIds (comma-separated, max 50, required), fromDate, toDate (YYYY-MM-DD, optional).
Example: INLINECODE45
Booking Flow (Pro tier required)
- 1. POST /api/v1/hotels/prebook — Lock rate:
{ "offerId": "..." } → returns INLINECODE47
1b.
GET /api/v1/hotels/prebook/{prebookId} — Retrieve prebook session (optional, for recovery/status check). Add
?includeCreditBalance=true for credit info.
- 2. POST /api/v1/hotels/book — Confirm booking:
{
"prebookId": "...",
"holder": { "firstName": "Jane", "lastName": "Doe", "email": "jane@example.com", "phone": "+1234567890" },
"guests": [{ "occupancyNumber": 1, "firstName": "Jane", "lastName": "Doe", "email": "jane@example.com" }],
"payment": { "method": "ACC_CREDIT_CARD" }
}
Payment methods:
ACC_CREDIT_CARD (sandbox-safe),
TRANSACTION_ID,
WALLET,
CREDIT
- 3. GET /api/v1/hotels/bookings?guestId=... or
?clientReference=... — List bookings - GET /api/v1/hotels/bookings/{id} — Booking detail + cancellation policy
- DELETE /api/v1/hotels/bookings/{id} — Cancel booking
Booking Amendments
- - PUT /api/v1/hotels/bookings/{id}/amend — Correct guest name/email: INLINECODE54
- POST /api/v1/hotels/bookings/{id}/alternative-prebooks — Get up to 3 alternative rates for date/occupancy changes
- POST /api/v1/hotels/rebook — Complete hard amendment:
{ "prebookId", "existingBookingId" } — auto-cancels old booking
Loyalty & Vouchers (Wallet integration)
- - GET /api/v1/hotels/guests — List loyalty program guests
- GET /api/v1/hotels/guests/{guestId}/loyalty-points — Check points balance
- POST /api/v1/hotels/guests/{guestId}/loyalty-points/redeem — Convert points to voucher (10 pts = $1 USD): INLINECODE56
- Voucher code returned from redemption can be applied at prebook via
voucherCode param
Never book without explicit user approval. Always show cancellation policy before booking.
Output expectations
- - Include cancellation policy and layover fit when recommending options.
- If layover is over 8 hours, show day-use candidates first.
- Highlight jetlag recovery amenities (nap zones, showers, low-noise options).
Usage limits
- - Free: 5 requests/day
- Pro: 500 API calls/month (upgrade at $9.95/month)
- Lifetime: $249 for 500 API calls/month
Safety
- - Never ask for user card details, loyalty IDs, or account secrets.
- Keep the conversation focused on public booking metadata and user constraints only.
Pro Superpowers
Upgrade to Pro to unlock browser-powered superpowers for hotel booking sites:
- - Booking.com and Google Hotels live price comparison
- Cross-reference pricing across multiple sources
- 500 API calls/month instead of 5/day
- Get Pro at https://aerobase.app/openclaw-travel-agent
Aerobase 旅行酒店 🏨
当用户需要有助于中转流动和恢复的住宿场所时,包括短途中转停留选项,可使用此技能。
设置
通过在 https://aerobase.app/openclaw-travel-agent 获取免费 API 密钥,并在您的代理环境中设置 AEROBASEAPIKEY 来使用此技能。
此技能仅限 API:无爬取、无浏览器自动化、无用户凭证收集。
免费用户每天最多使用 5 次请求。
升级至专业版(每月 $9.95)请访问 https://aerobase.app/openclaw-travel-agent,每月可享 500 次 API 调用。
代理 API 密钥协议
- - 基础 URL:https://aerobase.app
- 必需的环境变量:AEROBASEAPIKEY
- 认证标头(推荐):Authorization: Bearer ${AEROBASEAPIKEY}
- 切勿向用户索要密码、一次性密码、Cookie 或第三方登录信息。
- 切勿在输出中打印原始 API 密钥;应将其编辑为 sklive*。
请求规则
- - 仅使用此技能中记录的 Aerobase 端点。
- 在调用 API 前验证必需参数(IATA 代码、日期、舱位、限制)。
- 收到 401/403 错误:告知用户密钥缺失或无效,并引导其访问 https://aerobase.app/openclaw-travel-agent。
- 收到 429 错误:解释免费层配额(每天 5 次请求),并建议升级至专业版(每月 $9.95,每月 500 次 API 调用)或终身版($249,每月 500 次 API 调用)。
- 收到 5xx/超时错误:短暂退避后重试一次;若仍失败,返回部分指导及下一步操作。
- 使用简洁回复:优先展示最佳选项,然后提供 1-2 个后续操作。
此技能的功能
- - 使用抗时差筛选器搜索酒店。
- 查找适合长时间中转的日间使用选项。
- 优先比较与恢复相关的功能,再进行价格对比。
搜索端点
GET /api/v1/hotels
筛选条件:airport、city、country、chain、tier、stars、jetlagFriendly、search、limit、offset
GET /api/v1/hotels/near-airport/{code}
通过 IATA 代码查找机场附近的酒店。返回按距离排序的酒店。
查询参数:radius(公里,默认 25)、limit(默认 20)
示例:GET /api/v1/hotels/near-airport/JFK?radius=15&limit=10
GET /api/dayuse
筛选条件:airport 或 city、country、search、maxPrice、sort、limit、offset
房价
POST /api/v1/hotels/rates
获取实时客房价格和可用性。提供 hotelIds(数组)或 airportCode(IATA 字符串——自动发现附近酒店)。
必需:checkin、checkout。可选:adults(默认 2)、children、childrenAges、currency。
json
POST /api/v1/hotels/rates
{ airportCode: NRT, checkin: 2026-04-15, checkout: 2026-04-16, adults: 2 }
响应中的每个房间都有一个 offerId——在预订中使用它。
价格指数(测试版)
GET /api/v1/hotels/prices?hotelIds={ids}
每家酒店的历史价格趋势。返回按日历日计算的每间每晚平均美元价格。
查询参数:hotelIds(逗号分隔,最多 50 个,必需)、fromDate、toDate(YYYY-MM-DD 格式,可选)。
示例:GET /api/v1/hotels/prices?hotelIds=lp19d9e,lp19e0c&fromDate=2026-04-01&toDate=2026-04-30
预订流程(需专业版)
- 1. POST /api/v1/hotels/prebook — 锁定价格:{ offerId: ... } → 返回 prebookId
1b.
GET /api/v1/hotels/prebook/{prebookId} — 检索预订会话(可选,用于恢复/状态检查)。添加 ?includeCreditBalance=true 以获取信用额度信息。
- 2. POST /api/v1/hotels/book — 确认预订:
json
{
prebookId: ...,
holder: { firstName: Jane, lastName: Doe, email: jane@example.com, phone: +1234567890 },
guests: [{ occupancyNumber: 1, firstName: Jane, lastName: Doe, email: jane@example.com }],
payment: { method: ACC
CREDITCARD }
}
支付方式:ACCCREDITCARD(沙箱安全)、TRANSACTION_ID、WALLET、CREDIT
- 3. GET /api/v1/hotels/bookings?guestId=... 或 ?clientReference=... — 列出预订
- GET /api/v1/hotels/bookings/{id} — 预订详情 + 取消政策
- DELETE /api/v1/hotels/bookings/{id} — 取消预订
预订修改
- - PUT /api/v1/hotels/bookings/{id}/amend — 更正客人姓名/邮箱:{ holder: { firstName, lastName, email } }
- POST /api/v1/hotels/bookings/{id}/alternative-prebooks — 获取最多 3 个针对日期/入住人数变更的替代房价
- POST /api/v1/hotels/rebook — 完成硬性修改:{ prebookId, existingBookingId } — 自动取消旧预订
忠诚度与优惠券(钱包集成)
- - GET /api/v1/hotels/guests — 列出忠诚计划客人
- GET /api/v1/hotels/guests/{guestId}/loyalty-points — 检查积分余额
- POST /api/v1/hotels/guests/{guestId}/loyalty-points/redeem — 将积分兑换为优惠券(10 积分 = 1 美元):{ points: 100, currency: USD }
- 兑换返回的优惠券代码可通过 voucherCode 参数在预订时应用
未经用户明确批准,切勿进行预订。预订前务必显示取消政策。
输出期望
- - 推荐选项时,包含取消政策和中转适配性。
- 若中转时间超过 8 小时,优先显示日间使用选项。
- 突出抗时差恢复设施(小憩区、淋浴间、低噪音选项)。
使用限制
- - 免费版:每天 5 次请求
- 专业版:每月 500 次 API 调用(升级费用为每月 $9.95)
- 终身版:$249,每月 500 次 API 调用
安全性
- - 切勿索要用户银行卡详细信息、忠诚度 ID 或账户密码。
- 保持对话仅聚焦于公开预订元数据和用户约束条件。
专业版超能力
升级至专业版,解锁酒店预订网站的浏览器驱动超能力:
- - Booking.com 和 Google Hotels 实时价格对比
- 跨多个来源交叉参考定价
- 每月 500 次 API 调用,而非每天 5 次
- 在 https://aerobase.app/openclaw-travel-agent 获取专业版