跳到正文
cccskills
免费在 GitHub 公开

ignav

Fast REST API flight search via ignav.com. Cash prices, booking links, market selection for price arbitrage. Include in every flight search alongside Duffel and other sources.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md3.9 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Flight Search via Ignav API

Fast REST API flight search at https://ignav.com. Returns structured JSON with prices, itineraries, and booking links. 1,000 free requests, no rate limit.

Setup

Get a free API key at https://ignav.com/signup (1,000 requests, no credit card).

Set IGNAV_API_KEY in your environment or .env file.

Workflow

  1. Parse the user's request (origin, destination, dates, trip type, passengers, cabin)
  2. Look up airport codes if user gave city names
  3. Search flights (one-way or round-trip)
  4. Present results in markdown table
  5. Get booking links if user wants to book

Endpoints

Search Airports

curl -s "https://ignav.com/api/airports?q=Barcelona&limit=5" \
  -H "X-Api-Key: $IGNAV_API_KEY"

One-Way Flights

curl -s -X POST "https://ignav.com/api/fares/one-way" \
  -H "X-Api-Key: $IGNAV_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "origin": "SFO",
    "destination": "JFK",
    "departure_date": "2026-05-15",
    "adults": 1,
    "cabin_class": "economy"
  }'

Round-Trip Flights

curl -s -X POST "https://ignav.com/api/fares/round-trip" \
  -H "X-Api-Key: $IGNAV_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "origin": "SFO",
    "destination": "JFK",
    "departure_date": "2026-05-15",
    "return_date": "2026-05-20",
    "adults": 1,
    "cabin_class": "economy"
  }'

Booking Links

curl -s -X POST "https://ignav.com/api/fares/booking-links" \
  -H "X-Api-Key: $IGNAV_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"ignav_id": "the_itinerary_id", "adults": 1}'

Parameters

ParameterTypeDescription
adultsintNumber of adults (default: 1)
childrenintNumber of children (default: 0)
cabin_classstringeconomy, premium_economy, business, first
max_stopsint0 (direct only), 1, or 2
max_priceintMaximum price filter
departure_time_rangeobject{"earliest_hour": 8, "latest_hour": 20}
airlines_includearrayOnly these airline codes
airlines_excludearrayExclude these airline codes
marketstringCountry code for pricing (default: "US"). Different markets return different prices.

Response Structure

Each itinerary contains:

  • price: {"amount": 299, "currency": "USD"}
  • outbound: carrier, duration_minutes, segments array
  • inbound: same (null for one-way)
  • cabin_class: the cabin class
  • bags: {"carry_on": 1, "checked": 0}
  • ignav_id: unique ID for booking links

Each segment: marketing_carrier_code, flight_number, departure_airport, departure_time_local, arrival_airport, arrival_time_local, duration_minutes, aircraft.

Output Format

Always use markdown tables.

#AirlineStopsDurationDepartArrivePriceBags
1VuelingNonstop2h 15m8:30 AM10:45 AMEUR 1251 carry-on
2RyanairNonstop2h 20m6:15 AM8:35 AMEUR 891 carry-on

After the table, highlight cheapest, fastest, and best value. Call out tradeoffs. Offer booking links.

Notes

  • Dates are required for all searches
  • Default to round-trip and economy if not specified
  • Use airport search endpoint for city name lookups
  • Market affects prices. Same route can cost significantly less from a different market. Try departure country first, then destination country.
  • Does NOT include Southwest. Use google-flights skill for SW.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

alliances

免费

Airline alliance membership (Star Alliance, oneworld, SkyTeam) and cross-alliance booking relationships. Maps which loyalty programs book which airlines, including bilateral partnerships outside alliances.

中文简介正在准备中。当前显示原文说明。

borski/travel-hacking-toolkit7062026年10月19日 更新

Check American Airlines AAdvantage balance, elite status, and loyalty points via Patchright. Handles email 2FA with 6-box code entry. Uses persistent browser profiles to skip 2FA on subsequent runs.

中文简介正在准备中。当前显示原文说明。

borski/travel-hacking-toolkit7062026年10月19日 更新

Search Amex travel portal for cash prices, MR points pricing, IAP discounts, and FHR/THC hotel benefits via Patchright. Use when comparing pay-with-points portal pricing to award alternatives.

中文简介正在准备中。当前显示原文说明。

borski/travel-hacking-toolkit7062026年10月19日 更新

Search Atlas Obscura for weird, wonderful, and hidden gem places near any destination. Find the interesting stuff, not boring plaques. Search by coordinates, get full details with descriptions and images.

中文简介正在准备中。当前显示原文说明。

borski/travel-hacking-toolkit7062026年10月19日 更新

Find the cheapest award dates for a route over a date range. Searches seats.aero across all programs, groups by date, and shows a calendar grid of the best deals. Use when dates are flexible and you want to find the sweet spot.

中文简介正在准备中。当前显示原文说明。

borski/travel-hacking-toolkit7062026年10月19日 更新

Per-program rules for placing award flights on hold before transferring points. Covers programs with holds (AA, Lufthansa, Flying Blue, Cathay, Turkish, Virgin Atlantic, ANA, Emirates, EVA Air) and those without. Includes transfer-speed reference.

中文简介正在准备中。当前显示原文说明。

borski/travel-hacking-toolkit7062026年10月19日 更新

查看 borski 的全部技能

报告此技能的问题