{"uid":"cap_Z-IR7MT99EzSo97FSTkVn","slug":"hotel-photo-library-by-property-token-23729dde","name":"Hotel Photo Library by Property Token","description":"Hotel photos — a hotel's photo library by property token, grouped into themed sections with full-size URLs, thumbnails, dimensions & paging.","url":"https://hotels.use.x402atlas.com/photos","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["property_token"],"properties":{"property_token":{"type":"string","minLength":1,"description":"Property token from a /hotels/search result"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["queried_at","property_token","sections"],"properties":{"sections":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string","description":"Theme of the section"},"total":{"type":"integer","description":"Photos available in this section"},"photos":{"type":"array","items":{"type":"object","properties":{"width":{"type":"integer"},"height":{"type":"integer"},"source":{"type":"string"},"photo_url":{"type":"string"},"posted_on":{"type":"string"},"source_url":{"type":"string"},"thumbnail_url":{"type":"string"}}}},"next_page_token":{"type":"string","description":"Pass back as next_page_token to page this section"}}}},"queried_at":{"type":"string","format":"date-time","description":"Time the lookup ran (UTC)"},"property_token":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"sections":[{"title":"At a glance","total":201,"photos":[{"width":5059,"height":3808,"source":"Owner Submitted","photo_url":"https://lh3.googleusercontent.com/gps-cs-s/AHRPTWlmfVGuxcjg0adrdBKKM7-nVLzU-WTpVO3W_5piuLWb5QnRaDzSEGz0epxpA6li2WTSuKL3qJteiEZRP8rXMOIJA5m30YWVcvETuiPzlz1yCw9GC4ygfY3c8G74_28mXNu3l6j0-w_fiiU=s5059","posted_on":"2025-08-19","source_url":"https://maps.google.com/maps/contrib/117464852068129788026","thumbnail_url":"https://lh3.googleusercontent.com/gps-cs-s/AHRPTWlmfVGuxcjg0adrdBKKM7-nVLzU-WTpVO3W_5piuLWb5QnRaDzSEGz0epxpA6li2WTSuKL3qJteiEZRP8rXMOIJA5m30YWVcvETuiPzlz1yCw9GC4ygfY3c8G74_28mXNu3l6j0-w_fiiU=w253-h190-k-no"}]}],"queried_at":"2026-07-25T12:00:00Z","property_token":"ChkI0Nqb_63cnPoTGg0vZy8xMWJ4ZjNoMXloEAE"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_4Oc03o5ckb7j-iLISEWN2","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a hotel's full photo library grouped into themed sections, with full-size URLs, thumbnails, dimensions, and pagination support.","exampleAgentPrompt":"Can you pull up all the photos for the Marriott Times Square — I have its property token ChIJ0X31pIlZwokRUAqhJbNmFVo — grouped by theme so I can see rooms, pool, and exterior separately?","exampleUseCases":[{"title":"Hotel comparison visual research","prompt":"I'm deciding between two hotels in Paris. Can you fetch the photo gallery for property token ChIJabcd1234 so I can see what the rooms and common areas actually look like before I book?"},{"title":"Travel blog content curation","prompt":"I'm writing a travel post about boutique hotels in Santorini. Pull the full photo library for property token ChIJxyz789 — I want all the themed sections and their full-size image URLs."},{"title":"Booking site hotel page builder","prompt":"We're building a hotel listing page for property token ChIJefgh5678. Fetch its photo sections with thumbnails and dimensions so we can lay out the gallery correctly."}],"resultDescription":"Returns an array of themed photo sections (e.g. Rooms, Pool, Exterior, Dining), each containing: section title, total photo count, an array of photo objects with full-size URL, thumbnail URL, width, height, source, and posting date, plus a next_page_token for paging within that section. Also includes the property_token and queried_at timestamp.","failureModes":["Missing or invalid property_token returns an error or empty result","property_token from an expired or unrelated search may return no photos","Sections with zero photos may be omitted from the response","next_page_token expiry causes pagination to fail if used after too long","Rate limits or upstream hotel data provider outages may return partial or empty results"],"whenToPreferThis":"Use this endpoint when you need visual media (photos, thumbnails, dimensions) for a specific hotel identified by a property token. It is purpose-built for retrieving structured photo galleries with themed sections and pagination — prefer it over general hotel detail or search endpoints when image content is the primary need.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:41:08.062Z","isFirstParty":false}