Amadeus酒店API自助版/企业版获取客房图片问题咨询
Hey there! Let's break down your questions about accessing hotel room images via Amadeus APIs clearly:
1. Can self-service Amadeus APIs retrieve hotel room images?
Unfortunately, self-service Amadeus APIs do not support fetching room-level images. These APIs typically only return hotel-level media (like property exterior photos) if available—room-specific imagery is restricted exclusively to the enterprise tier.
2. Do enterprise-level Amadeus APIs support this feature?
Yes! Enterprise-tier APIs (such as the Hotel Content API) do support returning room-specific images, using the exact media structure you referenced:
"media": [{ "uri": "string" }]
This data is nested under individual room type entries in the API response, so you'll need to ensure you're requesting detailed room content in your calls.
Why aren't you seeing the media tag in your tests?
If you're testing with self-service APIs: this is expected behavior, as room images aren't exposed in this tier.
If you're using enterprise APIs but still missing the tag, consider these common issues:
- No image data available for the property/room: Not all hotels provide room-specific imagery—try testing with major chain hotels (e.g., Marriott, Hilton) first, as they usually have complete media libraries.
- Missing request parameters: Some enterprise APIs require a specific parameter (like
view=FULL) to trigger the return of full room details, including media. Double-check your request to ensure you're asking for the complete dataset. - Permission limitations: Your enterprise API account might not have the necessary permissions to access media content. Reach out to your Amadeus account manager or support team to verify and adjust your access if needed.
内容的提问来源于stack exchange,提问作者rudymatos

