{"name":"whentofly","description":"Flexible-date flight search for AI agents. GET /search with a date window + min/max trip duration.","version":"0.0.1","docs":"https://whentofly.io/docs","openapi":"https://whentofly.io/openapi.json","llms_txt":"https://whentofly.io/llms.txt","locations":"https://whentofly.io/locations?q=Shanghai&limit=8","example":"https://whentofly.io/search?from=SGN&to=ICN&earliest=2026-08-26&latest=2026-11-24&min_days=10&max_days=15&top_n=10","instructions_for_agents":"Search responses contain preformatted agent_display Markdown and an single executable book_url for each result. Resolve city or airport names with /locations and submit its returned airport:AAA or city:AAA value unchanged. Explicit legacy IATA codes remain supported. Specific searches use ISO YYYY-MM-DD dates; different trip inputs produce a new /search response."}