Search and book flights, hotels, and travel via RunRelay API. Covers 300+ airlines including low-cost carriers (Ryanair, Wizz Air, EasyJet) that no other API offers. Use when: (1) user asks about flights or hotels, (2) user wants to plan or book a trip, (3) user needs LCC coverage, (4) travel agent or concierge tasks. MCP-compatible, OpenAI-compatible.
唯一覆盖低成本航空公司(瑞安航空、维兹航空、易捷航空 = 占欧盟航班33%)以及300多家GDS航空公司的旅行API。低成本航空公司采用人工介入预订模式,GDS提供即时API。
bash
获取密钥:https://app.runrelay.io
https://api.runrelay.io
认证方式:Authorization: Bearer $RUNRELAYAPIKEY
bash
curl -X POST https://api.runrelay.io/api/search-flights \
-H Content-Type: application/json \
-H Authorization: Bearer $RUNRELAYAPIKEY \
-d {
origin: DXB,
destination: LHR,
departureDate: 2026-03-15,
passengers: {adults: 1}
}
响应: 按30%时间 + 30%价格 + 20%航空公司 + 15%中转次数排序的报价数组。
bash
curl -X POST https://runrelay-hotels.fly.dev/api/search-hotels \
-H Content-Type: application/json \
-d {
city: London,
checkin: 2026-03-15,
checkout: 2026-03-20,
guests: 2
}
供应商:RateHawk(全球70万+房源)。
bash
curl -X POST https://api.runrelay.io/api/book-flight \
-H Content-Type: application/json \
-H Authorization: Bearer $RUNRELAYAPIKEY \
-d {
offerId: off_abc123,
passengers: [{
firstName: John,
lastName: Doe,
email: john@example.com,
phone: +44123456789,
birthDate: 1990-01-15,
gender: male
}]
}
协调并行搜索航班、酒店和活动:
bash
curl -X POST https://prefy.com/api/v1/orchestrate \
-H Content-Type: application/json \
-d {
destination: LHR,
origin: DXB,
date: 2026-03-15,
nights: 5
}
返回3个并行代理的综合结果。
RunRelay也可作为Claude、Cursor及其他MCP客户端的MCP服务器使用:
| 端点 | 方法 | 描述 |
|---|---|---|
| /api/search-flights | POST | 搜索航班(GDS + 低成本航空) |
| /api/search-status/:id |
该技能支持在以下平台通过对话安装:
帮我安装 SkillHub 和 runrelay-1776280393 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 runrelay-1776280393 技能
skillhub install runrelay-1776280393
文件大小: 2.08 KB | 发布时间: 2026-4-16 18:01