Aerobase Flight Awards ✈️
Use this skill when users want fast, practical award options for a route. It turns a route + date into ranked redemption choices with mileage cost, availability, and accelerated recovery context.
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
- - Find available award seats and seat scarcity by cabin.
- Prioritize low-mileage and high-confidence options.
- Give canonical jetlag context so users choose trips that are easier to recover from.
Search
POST /api/v1/awards/search — Search cached award availability by route.
Body:
INLINECODE12
Required:
- -
from, to (3-letter IATA codes)
Optional:
- -
cabin (economy, business, premium, first) - INLINECODE20 (single departure date:
YYYY-MM-DD) - INLINECODE22 ,
date_to (range search, both YYYY-MM-DD) - INLINECODE25 (max results, capped at 100)
Returns array items:
- -
from, to, INLINECODE28 - INLINECODE29 ,
miles, INLINECODE31 - INLINECODE32 (program source)
- INLINECODE33 , INLINECODE34
- INLINECODE35 (
0-100, higher is better) - INLINECODE37 (accelerated functional recovery;
0 means negligible circadian disruption)
Alerts
- - POST /api/awards/alerts — create alert for a route/date band.
- GET /api/awards/alerts — list user alerts.
- PATCH /api/awards/alerts/{id} — activate/deactivate alert.
- DELETE /api/awards/alerts/{id} — remove alert.
Trip detail
GET /api/v1/awards/trips — fetch segment-level trip details for a cache hit.
Use either:
- -
id from /api/v1/awards/search results, or - INLINECODE41 ,
destination, date, source as query params.
Marketing/UX guidance
- - Lead with: value, scarcity, and recovery quality in one short line.
- Keep follow-up options limited and concrete:
- "Show best 3 in business"
- "Track this route daily"
- "Compare with one alternate date"
- - If no results return: "No data yet for this window; I can retry in X minutes."
Safety
- - Do not request or store passwords, OTP, cookies, loyalty logins, or any secrets.
- Use only the API key flow in setup.
Usage limits
- - Free: 5 requests/day
- Pro: 500 API calls/month (upgrade at $9.95/month)
- Lifetime: $249 for 500 API calls/month
Ranking logic
- - Compare by
miles within same cabin/date band first. - Use
seats_remaining to rank hard-to-find options higher. - Use
jetlagScore as a supporting quality signal. - If user shares a cash fare, compute cents-per-point:
cash_price_usd * 100 / miles.
Pro Superpowers
Upgrade to Pro to unlock browser-powered superpowers for air travel sites:
- - Automatic cash price lookup from Google Flights for cents-per-point calculation
- Automated tracking of award availability across programs
- 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)可获每月 500 次 API 调用,升级地址:https://aerobase.app/openclaw-travel-agent
代理 API 密钥协议
- - 基础 URL:https://aerobase.app
- 必需环境变量:AEROBASEAPIKEY
- 认证头(推荐):Authorization: Bearer ${AEROBASEAPIKEY}
- 切勿向用户索要密码、OTP、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 个后续操作。
此技能的功能
- - 按舱位查找可用奖励座位及座位稀缺性。
- 优先推荐低里程和高确定性的选项。
- 提供标准时差恢复信息,帮助用户选择更易恢复的行程。
搜索
POST /api/v1/awards/search — 按航线搜索缓存的奖励可用性。
请求体:
{ from, to, cabin?, date?, datefrom?, dateto?, limit? }
必需参数:
可选参数:
- - cabin(economy、business、premium、first)
- date(单次出发日期:YYYY-MM-DD)
- datefrom、dateto(范围搜索,均为 YYYY-MM-DD)
- limit(最大结果数,上限 100)
返回数组项:
- - from、to、date
- cabin、miles、seatsremaining
- program(奖励来源)
- departuretime、arrival_time
- jetlagScore(0-100,越高越好)
- recoveryDays(加速功能恢复天数;0 表示昼夜节律影响可忽略)
提醒
- - POST /api/awards/alerts — 为航线/日期范围创建提醒。
- GET /api/awards/alerts — 列出用户提醒。
- PATCH /api/awards/alerts/{id} — 激活/停用提醒。
- DELETE /api/awards/alerts/{id} — 删除提醒。
行程详情
GET /api/v1/awards/trips — 获取缓存命中结果的航段级行程详情。
使用以下任一方式:
- - 来自 /api/v1/awards/search 结果的 id,或
- 将 origin、destination、date、source 作为查询参数。
营销/用户体验指导
- - 开头用一句话概括:价值、稀缺性和恢复质量。
- 后续选项保持有限且具体:
- 显示商务舱最佳 3 个选项
- 每日追踪此航线
- 与另一个日期比较
- - 若无结果返回:此时间段暂无数据;我可在 X 分钟后重试。
安全
- - 请勿请求或存储密码、OTP、Cookie、会员登录信息或任何机密。
- 仅使用设置中的 API 密钥流程。
使用限制
- - 免费版:每天 5 次请求
- 专业版:每月 500 次 API 调用(升级费用每月 $9.95)
- 终身版:$249,每月 500 次 API 调用
排名逻辑
- - 首先在同一舱位/日期范围内按 miles 比较。
- 使用 seats_remaining 将稀缺选项排名更高。
- 使用 jetlagScore 作为辅助质量信号。
- 若用户提供现金票价,计算每分价值:
cash
priceusd * 100 / miles。
专业版超能力
升级至专业版,解锁航空旅行网站的浏览器驱动超能力:
- - 自动从 Google Flights 获取现金票价,用于每分价值计算
- 跨计划自动追踪奖励可用性
- 每月 500 次 API 调用,而非每天 5 次
- 获取专业版:https://aerobase.app/openclaw-travel-agent