{"name":"travel-brief","description":"Pre-trip brief for a destination city: current weather, an fx rate from the traveler's home currency, and survival phrases translated into the destination language, plus an optional postcard illustration. Composite: one call runs weather-current-city + exchange-rates + translate (one leg per phrase) in parallel, and image-generate when include_image is set. Replaces the weather lookup, fx lookup, and phrase translation an agent would otherwise run as separate paid calls when prepping a trip. Succeeds unless both weather and fx fail; translation and the image degrade instead of failing the call. fx only runs when destination_currency is supplied or the city matches a curated currency list — unmapped cities return a note, not a guess. Price is flat regardless of include_image. Use it as a travel brief API, trip-prep bundle, or weather-fx-phrasebook composite for travel agents.","price":"$0.05","method":"POST","input_schema":{"properties":{"destination":{"type":"string","description":"Destination city name, e.g. 'Lisbon'. Max 120 chars."},"home_currency":{"type":"string","description":"Traveler's home currency, 3-letter ISO 4217 code. Default 'USD'."},"destination_currency":{"type":"string","description":"Destination currency, 3-letter ISO 4217 code. If omitted, resolved from a curated list of well-known cities; if the destination isn't in that list, the fx leg is skipped rather than guessed."},"language":{"type":"string","description":"Destination language name or ISO code for phrase translation, e.g. 'Portuguese'. Max 60 chars. If omitted, phrases are returned untranslated."},"phrases":{"type":"array","items":{"type":"string"},"description":"Phrases to translate. Default ['hello','thank you','where is the train station?']. Max 10 entries, 200 chars each."},"include_image":{"type":"boolean","description":"If true, also generates a postcard-style illustration of the destination. Adds latency; price is unchanged. Default false."}},"required":["destination"]},"input_example":{"destination":"Lisbon","language":"Portuguese"},"output_example":{"destination":"Lisbon","weather":{"location":{"name":"Lisbon","country_code":"PT","latitude":38.7167,"longitude":-9.1333},"current":{"temperature":24,"humidity_pct":55,"wind_speed":12,"weather_code":1},"daily":[{"date":"2026-07-14","temperature_max":27,"temperature_min":19}]},"fx":{"pair":"USD/EUR","rate":0.92},"phrases":[{"original":"hello","translated":"ola"},{"original":"thank you","translated":"obrigado"},{"original":"where is the train station?","translated":"onde fica a estacao de comboio?"}],"composed_of":["weather-current-city","exchange-rates","translate:0","translate:1","translate:2"],"components":[{"name":"weather-current-city","ok":true,"ms":900},{"name":"exchange-rates","ok":true,"ms":400}],"degraded":false},"x402_payment_required":true,"x402_facilitator":"https://api.cdp.coinbase.com/platform/v2/x402"}