{"data":{"billing":{"currency":"USD","mode":"rules","parameters":[],"policy_version":2,"sale":{"addons":[],"base_price_micro_usd":"0","max_cost_micro_usd":"2000","quantities":[{"id":"upstream_credits","label":"Actual API.SH credits consumed","max_quantity":"1","measure":"value","pointer":"/credits_used","price_micro_usd":"2000","quantity_scale":0,"source":"response","unit":"credit","unit_quantity":"1"}],"rounding":"ceil","variants":[]}},"capabilityId":"3a8870eb-34a0-4b49-af4b-92a69db1496c","catalogType":"api","categories":["travel","data"],"dataPlatform":"flixbus","dataPlatformLogoUrl":"https://api.sh/logos/flixbus.png","dataPlatformTranslations":{},"dataProduct":"ground-transport","description":"Explore FlixBus destinations from a city via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as from, limit, output, and retrieve structured data including destination source city UUID, source route minimum-fare summary, source fare currency, source average route duration, and source minimum route duration to route discovery, and destination comparison.","descriptionTranslations":{"ar":"استرجع وجهات FlixBus من مدينة المصدر، مع البلد وترتيب ملخصات السعر والمدة لاستكشاف الطرق وحفظ سياق الأسعار والتحويلات. استخدم السجلات المنظمة لبناء واجهة لاكتشاف الحافلات أو ربط مواقع المصدر ومراجع الرحلات، مع توضيح تواريخ السفر ونطاق الأجرة وأمثلة الطلبات المدعومة وتسعير التنفيذ الحالي في صفحة API.","ja":"出典都市から FlixBus 目的地を取得し、国・参考価格・所要時間でルートを探索し集計運賃と接続情報を保持できます。 構造化記録をバス検索画面や出典の場所・旅程参照の連携に使い、旅行日・運賃範囲を明示できます。API 詳細ページには対応リクエスト例と選択した実装の料金があります。","zh":"按来源城市查询 FlixBus 目的地，可按国家、参考价格和时长筛选排序，探索路线并保留汇总票价及换乘上下文。 可利用结构化记录构建巴士发现界面或关联来源地点与行程引用，保留出行日期和票价范围；API 详情页提供受支持的请求示例及当前实现价格。"},"effectContentHtml":"","executionMode":"sync","id":"4ddca80b-92ad-40bf-8e56-f8426369260a","includedContentHtml":"","inputs":[{"description":"City name or id.","location":"query","name":"from","nullable":false,"required":true,"type":"string"},{"description":"Up to 500 (default 100).","location":"query","name":"limit","nullable":false,"required":false,"type":"integer"},{"description":"3-letter currency code (default `EUR`).","location":"query","name":"currency","nullable":false,"required":false,"type":"string"},{"description":"Only destinations in this 2-letter country.","location":"query","name":"country","nullable":false,"required":false,"type":"string"},{"description":"Only destinations whose lowest fare is at most this.","location":"query","name":"max_price","nullable":false,"required":false,"type":"number"},{"description":"`popularity` (default), `price` or `duration`.","enum_values":["popularity","price","duration"],"location":"query","name":"sort","nullable":false,"required":false,"type":"string"},{"description":"0 leaves out the bulky `raw` source blocks (often 10-30x smaller).","enum_values":["0","1"],"location":"query","name":"raw","nullable":false,"required":false,"type":"string"},{"description":"Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.","location":"query","name":"fields","nullable":false,"required":false,"type":"string"},{"description":"1 skips the 24-hour cache and fetches live.","enum_values":["1"],"location":"query","name":"fresh","nullable":false,"required":false,"type":"string"},{"description":"JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON are not supported.","enum_values":["json"],"location":"query","name":"output","nullable":false,"required":false,"type":"string"},{"description":"With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row.","location":"query","name":"records","nullable":false,"required":false,"type":"string"}],"logoUrl":"https://api.sh/logos/flixbus.png","method":"GET","name":"FlixBus destinations from a city API","nameTranslations":{},"overviewHtml":"\u003ch2\u003eFlixBus Destinations API\u003c/h2\u003e\n\u003cp\u003ePass from as a city name or ID, optionally country, currency, max_price, sort and limit. Destination prices and durations are route summaries; this operation exposes no date input.\u003c/p\u003e\n\u003ch2\u003eQuick Facts\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eFact\u003c/th\u003e\n\u003cth\u003eValue\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003eAccess\u003c/td\u003e\n\u003ctd\u003eOpenAny REST\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eAuthentication\u003c/td\u003e\n\u003ctd\u003eOpenAny API key in the Authorization header\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eCore inputs\u003c/td\u003e\n\u003ctd\u003eRequired: from. Optional: limit, currency, country, max_price, sort. JSON output; fresh=1 bypasses cache and raw=0 omits raw source blocks.\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected implementation\u003c/td\u003e\n\u003ctd\u003eapish · FlixBus destinations from a city API\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eBilling\u003c/td\u003e\n\u003ctd\u003eSee the pricing area for the selected implementation and request options\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eWhat You Can Build\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003cstrong\u003eRoute discovery\u003c/strong\u003e: Keep route summaries separate from dated quotes.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eDestination comparison\u003c/strong\u003e: Retain average and minimum durations independently.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch2\u003eReturned Data\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eField\u003c/th\u003e\n\u003cth\u003eMeaning\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003edestinations[].id\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eDestination source city UUID\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003edestinations[].price.min\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eSource route minimum-fare summary\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003edestinations[].price.currency\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eSource fare currency\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003edestinations[].avg_duration_minutes\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eSource average route duration\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003edestinations[].min_duration_minutes\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eSource minimum route duration\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003edestinations[].transfer_needed\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eSource route transfer flag\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eQuick Start\u003c/h2\u003e\n\u003col\u003e\n\u003cli\u003eSet OPENANY_API_KEY to your OpenAny API key.\u003c/li\u003e\n\u003cli\u003eReview the selected implementation and pricing, then adapt the request below to your target.\u003c/li\u003e\n\u003cli\u003eCheck the HTTP response and business result before reading optional fields.\u003c/li\u003e\n\u003c/ol\u003e\n\u003cpre\u003e\u003ccode class=\"language-bash\"\u003ecurl --request GET --get \\\n  https://api.openany.si/v1/agent-apis/apish/flixbus/v1/destinations \\\n  -H \u0026#34;Authorization: Bearer ${OPENANY_API_KEY}\u0026#34; \\\n  --data-urlencode from=Berlin \\\n  --data-urlencode limit=1 \\\n  --data-urlencode output=json \\\n  --data-urlencode raw=0\n\u003c/code\u003e\u003c/pre\u003e\n\u003ch2\u003eRequest and Response Examples\u003c/h2\u003e\n\u003cp\u003eThe response example is a documentation reference and may be abbreviated. The documented request is a calling template; use the published contract and returned response for the selected implementation.\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"https://openany.si/api/v1/agent-apis/4ddca80b-92ad-40bf-8e56-f8426369260a\"\u003ePublished FlixBus Destinations API implementation contract\u003c/a\u003e.\u003c/p\u003e\n\u003ch2\u003ePricing and Billing\u003c/h2\u003e\n\u003cp\u003eThe pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service\u0026#39;s public availability does not determine OpenAny billing.\u003c/p\u003e\n\u003ch2\u003eFrequently Asked Questions\u003c/h2\u003e\n\u003ch3\u003eWhich origin reference is supported?\u003c/h3\u003e\n\u003cp\u003eUse a city name or ID from City Search. country filters destinations rather than changing the origin identity.\u003c/p\u003e\n\u003ch3\u003eHow can I order and limit results?\u003c/h3\u003e\n\u003cp\u003esort supports popularity, price or duration; limit defaults to 100 and accepts up to 500.\u003c/p\u003e\n\u003ch3\u003eDoes max_price select a dated bookable fare?\u003c/h3\u003e\n\u003cp\u003eIt filters the route minimum-price summary in the selected currency. Use Trip Search for dated passenger-specific records.\u003c/p\u003e\n\u003ch3\u003eCan I treat average and minimum durations as identical?\u003c/h3\u003e\n\u003cp\u003eNo. Preserve both duration summaries and transfer_needed with their source route scope.\u003c/p\u003e\n\u003ch3\u003eHow do I bypass cached results?\u003c/h3\u003e\n\u003cp\u003ePass fresh=1. A cache bypass retrieves available source data; it does not make unpublished or restricted records available.\u003c/p\u003e\n\u003ch3\u003eCan I request CSV or NDJSON?\u003c/h3\u003e\n\u003cp\u003eThis OpenAny implementation serves JSON only. Omit output or set output=json.\u003c/p\u003e\n\u003ch2\u003eRelated APIs\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/flixbus/flixbus-city-autocomplete-api\"\u003eFlixBus city autocomplete API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/flixbus/flixbus-city-profile-api\"\u003eFlixBus city profile API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/flixbus/flixbus-popular-cities-api\"\u003eFlixBus popular cities API\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/flixbus/flixbus-destinations-from-a-city-api?offering=4ddca80b-92ad-40bf-8e56-f8426369260a","providerId":"apish","publicPath":"/v1/agent-apis/apish/flixbus/v1/destinations","requestContentType":"none","revision":3,"samples":[{"http_status":200,"name":"Official example · Live API.SH response · Minimal request","request":{"body":null,"headers":{},"path":{},"query":{"from":"Berlin","limit":"1","output":"json","raw":"0"}},"response_body":{"applied_filters":{"country":null,"max_price":null,"sort":"popularity"},"cached":false,"count":1,"credits_used":1,"currency":"EUR","destinations":[{"avg_duration_minutes":986,"country":"FR","id":"40de8964-8646-11e6-9066-549f350fcb0c","lat":48.835335,"legacy_id":2015,"lng":2.380503,"min_duration_minutes":735,"name":"Paris","price":{"avg":51.47,"currency":"EUR","max":90.97,"min":41.98},"route_popularity":32900,"search_volume":26239900,"slug":"paris","transfer_needed":false,"transport":["bus"]}],"fetched_at":"2026-11-19T12:24:59.810Z","from":{"id":"40d8f682-8646-11e6-9066-549f350fcb0c","name":"Berlin"}}}],"seoDescription":"Explore FlixBus destinations from a city via REST or MCP powered by Apish. Pay per call, no subscription. Structured JSON output with one OpenAny API key.","updatedAt":"2026-12-03T02:47:02.774Z","usageInstructionsHtml":""}}