seats-aero
暂无简介
- License 许可
- MIT
- 最近更新
- 2026-08-23
- Stars
- ★ 1
- Forks
- 0
02 资源文件 1
- 参考文档_meta.json452 B
03 SKILL.md 正文
Seats.aero Award Flight Search
Search award flight availability across 24 mileage programs using the seats.aero partner API.
Setup
Before searching, you need a seats.aero API key:
- If the user hasn't provided an API key, prompt them:
- "Please provide your seats.aero API key. You can get one at https://seats.aero/partner"
- Store the key in conversation context for subsequent requests
- All requests require the header:
Partner-Authorization: Bearer {api_key}
Core Capabilities
1. Search Routes (/search)
Search cached availability across all mileage programs for a specific origin-destination pair.
2. Bulk Availability (/availability)
Explore all availability from a single mileage program, optionally filtered by region.
3. Route Discovery (/routes)
Get all routes monitored for a specific mileage program.
4. Trip Details (/trips/{id})
Get detailed flight segments and booking links for a specific availability.
Quick Reference
| Item | Value |
|---|---|
| Base URL | https://seats.aero/partnerapi/ |
| Auth Header | Partner-Authorization: Bearer {key} |
| Date Format | YYYY-MM-DD |
Cabin Codes
Y= EconomyW= Premium EconomyJ= BusinessF= First
Regions
North America, South America, Europe, Africa, Middle East, Asia, Oceania
Supported Programs
aeroplan, alaska, american, aeromexico, azul, copa, delta, emirates,
ethiopian, etihad, finnair, flyingblue, gol, jetblue, lufthansa,
qantas, qatar, sas, saudia, singapore, turkish, united,
virginatlantic, virginaustralia
Common Workflows
Find availability on a specific route
User: "Find business class SFO to Tokyo next month"
- Use
/searchendpoint with:origin_airport=SFOdestination_airport=NRT,HND(both Tokyo airports)cabin=Jstart_dateandend_datefor the date range
Explore program availability
User: "What United awards are available from Europe?"
- Use
/availabilityendpoint with:source=unitedorigin_region=Europe
Get booking details
User: "Show me details for that flight"
- Use
/trips/{id}with the availability ID from previous search - Response includes flight segments, times, and booking links
Check what routes a program covers
User: "What routes does Aeroplan monitor?"
- Use
/routesendpoint withsource=aeroplan
API Parameters Quick Guide
/search
| Parameter | Required | Description |
|---|---|---|
| origin_airport | Yes | 3-letter IATA code |
| destination_airport | Yes | 3-letter IATA code(s), comma-separated |
| cabin | No | Y, W, J, or F (comma-separated for multiple) |
| start_date | No | YYYY-MM-DD |
| end_date | No | YYYY-MM-DD |
| sources | No | Program name(s), comma-separated |
| only_direct | No | true/false |
| take | No | Results per page (default 100) |
| cursor | No | Pagination cursor |
/availability
| Parameter | Required | Description |
|---|---|---|
| source | Yes | Single program name |
| cabin | No | Single cabin code |
| origin_region | No | Filter by origin region |
| destination_region | No | Filter by destination region |
| start_date | No | YYYY-MM-DD |
| end_date | No | YYYY-MM-DD |
| take | No | Results per page |
Script Usage
For complex or repeated searches, use the Python helper:
from scripts.seats_api import search_availability, format_results
results = search_availability(
api_key="your_key",
origin="SFO",
destination="NRT",
start_date="2024-03-01",
end_date="2024-03-31",
cabins="J,F"
)
print(format_results(results["data"], cabin="J"))
See scripts/seats_api.py for full API client implementation.
Response Handling
Availability Object Fields
ID- Use for/trips/{id}lookupRoute- Origin-Destination pairDate- Flight dateYAvailable,WAvailable,JAvailable,FAvailable- Boolean availabilityYMileageCost, etc. - Points required per cabinYDirects, etc. - Number of direct flights availableSource- Program nameComputedLastSeen- Data freshness timestamp
Error Handling
- 401: Invalid or missing API key
- 429: Rate limited, wait and retry
- 404: No results or invalid availability ID
Tips
- Date ranges: Keep to 30-60 days for faster results
- Multiple cabins: Search J,F together for premium options
- Direct flights: Use
only_direct=trueto filter connections - Pagination: Use
cursorfrom response for more results - Data freshness: Check
ComputedLastSeen- older data may be stale
Reference Documentation
For complete API specification including all fields and response schemas, see references/api-spec.md.
04 同仓库更多 Skills
crowd-prompting
A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.
dilemm-ai
Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
git-summary
Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.
agent-constitution
Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.