{"openapi":"3.0.0","info":{"title":"Agoda Hotels Prices Rooms and Reviews Data","version":"1.0.0","description":"Agoda hotel listings, nightly prices, ratings, addresses, rooms and optional guest reviews worldwide, one row per entity."},"servers":[{"url":"https://ah-agoda-com.opendata.best/s/agoda-com"}],"paths":{"/v1/search":{"post":{"operationId":"search","summary":"Search Agoda hotels, rooms and guest reviews","description":"Query Agoda accommodation prices, ratings, room offers and optional guest reviews by city name or Agoda URL.","tags":["search"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"destination":{"type":"string","description":"Destination. A city name such as Chiang Mai, Seoul or Tokyo, in a language Agoda recognizes. A name that is not recognized as a city returns no rows; hotel page URLs, a city page URL or a city ID take precedence.","example":"Bangkok"},"regionId":{"type":"string","description":"Agoda city ID. Numeric Agoda city ID, such as 9395 for Bangkok. Used instead of destination, unless hotel page URLs or a city page URL are set."},"cityPageUrl":{"type":"string","description":"City page URL. Agoda city page URL, such as https://www.agoda.com/city/bangkok-th.html. Returns listed hotels without dated prices; takes precedence over destination and regionId, but not detailUrls."},"detailUrls":{"type":"array","items":{"type":"string"},"description":"Hotel page URLs. Up to 20 distinct Agoda hotel page URLs, such as https://www.agoda.com/asia-hotel-bangkok/hotel/bangkok-th.html. These take precedence over other targets; readable pages return hotel rows, with dated prices when available and optional review rows."},"checkin":{"type":"string","description":"Check-in date. Check-in date in YYYY-MM-DD format. Leave empty to use 21 days from today."},"checkout":{"type":"string","description":"Check-out date. Check-out date in YYYY-MM-DD format, 1 to 30 nights after check-in. Leave empty to use two nights after check-in. Stays above 14 nights discover hotels with a 14-night window and price the full stay."},"adults":{"type":"integer","minimum":1,"maximum":10,"description":"Adults. Number of adults, from 1 to 10.","default":2},"children":{"type":"integer","minimum":0,"maximum":10,"description":"Children. Number of children, from 0 to 10. Optional childAges can specify each child's age.","default":0},"childAges":{"type":"array","items":{"type":"string"},"description":"Children ages. Optional ages in years for each child (0-17). When set, provide one entry per child."},"rooms":{"type":"integer","minimum":1,"maximum":10,"description":"Rooms. Number of rooms, from 1 to 10.","default":1},"maxResults":{"type":"integer","minimum":1,"maximum":20,"description":"Max rows per input (each listed URL, ID or keyword; a single target counts as one input). All row types share this allowance. Each plan caps the rows of one request (BASIC 10, PRO 70, ULTRA 200, MEGA 500); larger values are lowered to your plan's cap. You pay per delivered row (Rows).","default":10,"example":1},"enrichDetails":{"type":"boolean","description":"Read hotel pages. Add descriptions, amenities, FAQs and available address details to the first search-result hotels. Guest reviews are separate rows only when includeReviews is enabled.","default":true,"example":true},"enrichLimit":{"type":"integer","minimum":0,"maximum":20,"description":"Hotel pages to read. Number of search-result hotels to enrich, from 0 to 20. Direct hotel page inputs are read separately from this setting.","default":1,"example":1},"includeReviews":{"type":"boolean","description":"Return guest reviews. Return each available guest review as a separate billed row. Hotel and review rows share maxResults; this also enables hotel details.","default":false,"example":false},"includeSponsored":{"type":"boolean","description":"Include sponsored hotels. Keep hotels Agoda marks as sponsored.","default":false},"includeRooms":{"type":"boolean","description":"Return room variants. Return each sellable room variant (room type, bed configuration, price plan) as a separate billed row, in addition to hotel and review rows. Room rows share maxResults.","default":false,"example":false},"domain":{"type":"string","description":"Agoda site. Agoda site, such as www.agoda.com, www.agoda.co.th or www.agoda.co.jp. A supported country site determines the language and currency.","default":"www.agoda.com"},"locale":{"type":"string","description":"Language (www.agoda.com). Language and currency setting on www.agoda.com, such as en-us for USD or ja-jp for JPY. A supported country site overrides this setting.","default":"en-us"},"requestId":{"type":"string","pattern":"^[A-Za-z0-9._:-]{1,80}$","description":"Optional. Your id for this request: repeating it while the job runs returns the same job."}}},"example":{"destination":"Bangkok","enrichDetails":false,"includeReviews":false,"includeRooms":false,"maxResults":3}}}},"responses":{"200":{"description":"Done within the request: the rows.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RowsPage"}}}},"404":{"description":"No results matched the query (nothing was billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid or missing parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"At capacity, too many running jobs, or rolling 24-hour row limit reached; retry after Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"The source could not be collected this time (not billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"504":{"description":"Synchronous timeout reached before completion; task cancelled (nothing was billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/health":{"get":{"operationId":"health","summary":"API health check","description":"Lightweight readiness check for this API. Never starts a collection and always bills 0 rows.","tags":["health"],"responses":{"200":{"description":"API is operational (0 rows).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthStatus"}}}},"503":{"description":"API is temporarily unavailable (not billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthStatus"}}}}}}}},"components":{"schemas":{"Row":{"type":"object","properties":{"rowType":{"type":"string","title":"Row type","description":"Entity represented by this row: hotel, review or room.","enum":["hotel","review","room"]},"id":{"type":"string","title":"Row ID","description":"Row identifier, unique together with rowType. Review rows have their own IDs and link to a hotel through parentId."},"parentId":{"type":"string","title":"Parent hotel ID","description":"Hotel id copied onto review rows."},"parentName":{"type":"string","title":"Parent hotel name"},"parentUrl":{"type":"string","title":"Parent hotel URL"},"parentLocation":{"type":"object","title":"Parent hotel location","additionalProperties":true},"reviewId":{"nullable":true,"type":"string","title":"Agoda review ID"},"text":{"type":"string","title":"Review text"},"reviewSampleCount":{"type":"integer","title":"Sampled review count","minimum":0},"source":{"type":"string","title":"Source","description":"Always 'agoda.com'."},"service":{"type":"string","title":"Service","description":"Accommodation service, with the value hotels when present. The type and listingType fields are aliases."},"listingId":{"type":"string","title":"Listing ID","description":"Property identifier, usually the same as hotelId when known. Review rows use id for the review identity and parentId to link to the hotel."},"hotelId":{"nullable":true,"type":"string","title":"Hotel ID","description":"Agoda numeric hotel id; null when the page does not give it."},"name":{"type":"string","title":"Name","description":"Hotel or accommodation name."},"area":{"type":"string","title":"Area","description":"Neighborhood / area text when shown on the card."},"domain":{"type":"string","title":"Domain","description":"Agoda regional site selected for the search. The authority field is an alias."},"destination":{"type":"string","title":"Destination","description":"Search destination echoed from input."},"url":{"type":"string","title":"URL","description":"Agoda hotel page URL. The listingUrl field is an alias; canonicalUrl may provide a standardized link."},"price":{"nullable":true,"type":"number","title":"Price","description":"Room price when available. Check priceBasis for the rate basis and currency for the currency code."},"priceDisplay":{"type":"string","title":"Price display","description":"Raw price text from the card."},"currency":{"nullable":true,"type":"string","title":"Currency","description":"ISO currency code of the price; null when the row has no price."},"rating":{"nullable":true,"type":"number","title":"Rating","description":"Agoda guest review score (0-10); null when the source has none."},"reviewCount":{"nullable":true,"type":"integer","title":"Review count","minimum":0,"description":"Number of reviews; null when the source does not give it."},"country":{"nullable":true,"type":"string","title":"Country","description":"Hotel country code given by the source; null when the source has none."},"status":{"nullable":true,"type":"string","title":"Status","description":"Availability status, such as available or soldout, when supplied. May be empty when no availability information is returned."},"starRating":{"nullable":true,"type":"number","title":"Star rating","description":"Hotel star class; null when the source has none."},"hotelProviderId":{"nullable":true,"type":"integer","title":"Hotel provider ID","description":"Agoda provider id of the hotel; null when the source does not give it."},"sponsored":{"type":"boolean","title":"Sponsored","description":"True when the card is a sponsored ad."},"scrapedAt":{"type":"string","title":"Scraped at","description":"ISO timestamp when the row was collected."},"phones":{"type":"array","title":"Phones","items":{"type":"object","properties":{"value":{"nullable":true,"type":"string"},"type":{"nullable":true,"type":"string"},"e164":{"nullable":true,"type":"string"}},"additionalProperties":true}},"emails":{"type":"array","title":"Emails","items":{"type":"object","properties":{"value":{"nullable":true,"type":"string"},"type":{"nullable":true,"type":"string"}},"additionalProperties":true}},"address":{"nullable":true,"type":"object","title":"Address","properties":{"street":{"nullable":true,"type":"string"},"unit":{"nullable":true,"type":"string"},"locality":{"nullable":true,"type":"string"},"region":{"nullable":true,"type":"string"},"postalCode":{"nullable":true,"type":"string"},"country":{"nullable":true,"type":"string"},"full":{"nullable":true,"type":"string"}},"additionalProperties":true},"geo":{"nullable":true,"type":"object","title":"Coordinates","properties":{"lat":{"nullable":true,"type":"number"},"lng":{"nullable":true,"type":"number"}},"additionalProperties":true},"person":{"nullable":true,"type":"object","title":"Person","properties":{"name":{"nullable":true,"type":"string"},"role":{"nullable":true,"type":"string"}},"additionalProperties":true},"org":{"nullable":true,"type":"object","title":"Organization","properties":{"name":{"nullable":true,"type":"string"},"id":{"nullable":true,"type":"string"}},"additionalProperties":true},"web":{"nullable":true,"type":"object","title":"Website and socials","properties":{"website":{"nullable":true,"type":"string"},"socials":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"leadSource":{"nullable":true,"type":"string","title":"Lead source","enum":["search","detail","city-landing","entity","contact","reveal-xhr"]},"leadReveal":{"nullable":true,"type":"string","title":"Lead reveal","enum":["visible","click","xhr","gated","image","absent"]},"leadAbsences":{"type":"object","title":"Lead absences","description":"Per-field reason a lead field is empty: not on this site, or not read (only the hotel page has it).","additionalProperties":{"type":"string"}},"type":{"type":"string","title":"Service (alias)","description":"Alias of service, with the value hotels when present."},"listingType":{"type":"string","title":"Listing type (alias)","description":"Alias of service, with the value hotels when present."},"listingUrl":{"type":"string","title":"Listing URL (alias)","description":"Alias of `url`. Prefer `canonicalUrl` for the canonical form when present."},"authority":{"type":"string","title":"Authority (alias)","description":"Alias of domain, the Agoda regional site selected for the search."},"locale":{"type":"string","title":"Locale","description":"Language and currency setting used for the row, such as en-us."},"regionId":{"type":"string","title":"Region ID","description":"Agoda city ID supplied in the input, when present."},"cityId":{"type":"string","title":"City ID","description":"Agoda city ID identified for the search, when known."},"checkin":{"type":"string","title":"Check-in date (search)","description":"Search check-in date in YYYY-MM-DD format. This is different from the hotel check-in time in policyCheckIn."},"checkout":{"type":"string","title":"Check-out date (search)","description":"Search check-out date in YYYY-MM-DD format. This is different from the hotel check-out time in policyCheckOut."},"discountText":{"type":"string","title":"Discount text","description":"Promotional banner / discount copy when shown on the card."},"priceBasis":{"type":"string","title":"Price basis","description":"Rate basis when supplied. The value per_room_per_night_excluding_taxes means price is the nightly rate for one room before taxes."},"priceIncludingTaxes":{"nullable":true,"type":"number","title":"Price (tax inclusive)","description":"Nightly room price including taxes, when available. Compare with price only when both fields use the same rate basis."},"propertyType":{"nullable":true,"type":"string","title":"Property type","description":"Human-readable accommodation name, e.g. \"Hotel\", \"Resort\", \"NHA Villa\"."},"accommodationType":{"nullable":true,"type":"integer","title":"Accommodation type","description":"Agoda accommodation type ID. Non-hotel accommodation types 28, 29, 103 and 131 may include houseRules or hostProfile."},"canonicalUrl":{"nullable":true,"type":"string","title":"Canonical URL","description":"Standardized Agoda hotel page URL, when available."},"policyCheckIn":{"nullable":true,"type":"string","title":"Check-in time (policy)","description":"Hotel check-in time, such as 15:00. This is not the search check-in date."},"policyCheckOut":{"nullable":true,"type":"string","title":"Check-out time (policy)","description":"Hotel check-out time, such as 12:00. This is not the search check-out date."},"description":{"type":"string","title":"Short description","description":"Short hotel description, when available."},"descriptionLong":{"type":"string","title":"Long description","description":"Longer hotel description, when available."},"amenities":{"type":"array","title":"Amenities","description":"Available named property amenities, capped at 50 entries.","items":{}},"amenitiesTruncated":{"type":"boolean","title":"Amenities truncated","description":"True when the amenity list was capped at 50."},"amenitiesMissing":{"type":"boolean","title":"Amenities missing","description":"True when Agoda returned no amenity entries for the property."},"policies":{"type":"object","title":"Policies","description":"Hotel policies: {adult, extraBed, additional, minAge} as lists/strings.","additionalProperties":true},"spokenLanguages":{"type":"array","title":"Spoken languages","description":"Agoda language IDs for languages spoken by property staff, when supplied.","items":{}},"restaurantOnSite":{"type":"array","title":"On-site restaurants","description":"On-site restaurant information, including names, cuisines and meals served when available.","items":{}},"houseRules":{"nullable":true,"type":"string","title":"House rules","description":"House rules for non-hotel accommodation, when available. The value may contain HTML."},"hostProfile":{"nullable":true,"type":"object","title":"Host profile","description":"Host information for non-hotel accommodation, when supplied, including display name, ratings and response information.","additionalProperties":true},"messaging":{"type":"object","title":"Messaging","description":"Property messaging information, such as host name, response rate and whether messages are allowed before or after booking.","additionalProperties":true},"companyTraceabilityData":{"nullable":true,"type":"object","title":"Company traceability","description":"Seller identity information when Agoda provides it; may be null.","additionalProperties":true},"reviewScore":{"nullable":true,"type":"number","title":"Review score (detail)","description":"Combined guest review score from the property details, on a 0-10 scale, when available."},"reviewSnippets":{"type":"array","title":"Review snippets","description":"Short review excerpts with available dates and ratings. These are property attributes, not full review rows.","items":{}},"faq":{"type":"array","title":"FAQ","description":"Hotel questions and answers when available and details were read.","items":{"type":"object"}},"images":{"type":"array","title":"Images","description":"Available hotel image URLs, capped at 50 entries.","items":{}},"usefulInfoGroups":{"type":"array","title":"Useful info groups","description":"Grouped property information, such as check-in times, children, extra beds and pet policies.","items":{"type":"object"}},"contentImages":{"type":"object","title":"Content images metadata","description":"Image counts and available video or virtual-tour references. Hotel image URLs are in images.","additionalProperties":true},"contentHighlights":{"type":"object","title":"Content highlights","description":"Property and location highlights, including notable facilities when available.","additionalProperties":true},"contentLocalInformation":{"type":"object","title":"Local information","description":"Local information, such as walkable places, attractions and nearby restaurants.","additionalProperties":true},"contentExperience":{"type":"object","title":"Experience","description":"Property experience categories and nearby experiences when supplied.","additionalProperties":true},"isAvailable":{"nullable":true,"type":"boolean","title":"Available","description":"Whether Agoda reports an available offer for the selected dates, when supplied."},"isReady":{"nullable":true,"type":"boolean","title":"Ready","description":"Whether Agoda marked the price as ready. A false value indicates it may still be provisional."},"isLuxuryHotel":{"nullable":true,"type":"boolean","title":"Luxury hotel","description":"Whether Agoda identifies the property as a luxury hotel, when supplied."},"hasHostExperience":{"nullable":true,"type":"boolean","title":"Has host experience","description":"Whether Agoda marks the property as offering a host-stay experience, when supplied."},"reviewSourceId":{"nullable":true,"type":"string","title":"Review source id","description":"Review source identifier supplied by Agoda, useful for distinguishing review sources."},"positives":{"nullable":true,"type":"string","title":"Positives","description":"Positive segment of the review text."},"negatives":{"nullable":true,"type":"string","title":"Negatives","description":"Negative segment of the review text."},"title":{"nullable":true,"type":"string","title":"Review title","description":"Review title when present."},"reviewDate":{"nullable":true,"type":"string","title":"Review date","description":"ISO/date string of when the review was written."},"checkInDate":{"nullable":true,"type":"string","title":"Stay check-in date","description":"Guest-reported check-in date for this review."},"reviewer":{"nullable":true,"type":"string","title":"Reviewer name","description":"Reviewer display name, when supplied."},"reviewerCountry":{"nullable":true,"type":"string","title":"Reviewer country","description":"Reviewer country, when supplied."},"reviewerRoomType":{"nullable":true,"type":"string","title":"Reviewer room type","description":"Room type associated with the review, when supplied."},"helpfulVotes":{"nullable":true,"type":"integer","title":"Helpful votes","description":"Helpful votes count on this review."},"responseText":{"nullable":true,"type":"string","title":"Hotel response","description":"Property's reply text when present."},"kind":{"nullable":true,"type":"string","title":"Row kind (alias)","description":"Alias of rowType on review and room rows."},"searchRank":{"nullable":true,"type":"integer","title":"Search rank","description":"1-based rank among returned search results."},"searchPosition":{"nullable":true,"type":"integer","title":"Search position","description":"1-based position in the upstream search list."},"soldOut":{"nullable":true,"type":"boolean","title":"Sold out","description":"Whether the property is sold out for the requested stay."},"imageCount":{"nullable":true,"type":"integer","title":"Image count","description":"Total distinct hotel images available before the 50-item row cap."},"ugcImages":{"type":"array","title":"Guest photos","description":"Guest-contributed property photos, capped at 50 entries.","items":{}},"amenityGroups":{"type":"array","title":"Amenity groups","description":"Grouped available hotel facilities.","items":{}},"highlights":{"type":"array","title":"Highlights","description":"Favorite features and location highlights.","items":{}},"localInformation":{"type":"array","title":"Local information","description":"Walkable places and nearby area categories.","items":{}},"experience":{"type":"array","title":"Experience","description":"Experience categories and nearby activities.","items":{}},"landmarks":{"type":"array","title":"Landmarks","description":"Nearby landmarks sorted by distance in kilometers.","items":{}},"nearestLandmark":{"nullable":true,"type":"string","title":"Nearest landmark","description":"Closest listed landmark name."},"distanceToNearestLandmarkKm":{"nullable":true,"type":"number","title":"Nearest landmark distance (km)","description":"Distance in kilometers to the closest listed landmark."},"awards":{"type":"array","title":"Awards","description":"Property awards such as Agoda Gold Circle Award.","items":{}},"categoryScores":{"type":"object","title":"Category scores","description":"Per-category guest review scores.","additionalProperties":true},"scoreDistribution":{"type":"array","title":"Score distribution","description":"Guest review count breakdown by rating bucket.","items":{}},"reviewGrades":{"type":"array","title":"Review grades","description":"Per-category review grade scores from the room grid payload.","items":{}},"reviewFilterAndSort":{"type":"object","title":"Review filters","description":"Available review filter buckets and sort metadata.","additionalProperties":true},"roomId":{"nullable":true,"type":"string","title":"Room variant ID","description":"Agoda room offer identifier."},"masterRoomId":{"nullable":true,"type":"string","title":"Master room ID","description":"Agoda room-type identifier."},"masterRoomName":{"nullable":true,"type":"string","title":"Master room name","description":"Room-type headline name."},"roomName":{"nullable":true,"type":"string","title":"Room name","description":"Sellable room plan or room-type name."},"maxOccupancy":{"nullable":true,"type":"integer","title":"Max occupancy","description":"Maximum guests allowed for this room plan."},"bedConfiguration":{"nullable":true,"type":"string","title":"Bed configuration","description":"Bed setup summary for the room type."},"roomSize":{"nullable":true,"type":"string","title":"Room size","description":"Room size label when supplied."},"benefits":{"type":"array","title":"Room benefits","description":"Included benefits on this rate plan.","items":{}},"isBreakfastIncluded":{"nullable":true,"type":"boolean","title":"Breakfast included","description":"Whether breakfast is included in this rate plan."},"priceInclusive":{"nullable":true,"title":"Nightly price incl. taxes","description":"Per-room-per-night price including taxes and fees, or formatted display string on summary rows."},"crossedOutPrice":{"nullable":true,"type":"number","title":"Crossed-out price","description":"Reference crossed-out nightly price before discount."},"beforeDiscountPrice":{"nullable":true,"type":"number","title":"Before-discount price","description":"Master-room reference price before discount."},"discountPercentage":{"nullable":true,"type":"integer","title":"Discount (%)","description":"Advertised percentage discount on this rate plan."},"totalPrice":{"nullable":true,"type":"number","title":"Total stay price (excl. taxes)","description":"Full-stay price excluding taxes and fees."},"totalPriceInclusive":{"nullable":true,"type":"number","title":"Total stay price (incl. taxes)"},"payAtHotel":{"nullable":true,"type":"number","title":"Pay at hotel amount","description":"Amount payable at the property when applicable."},"isPayLater":{"nullable":true,"type":"boolean","title":"Pay later / at hotel","description":"Whether the rate supports paying later or at the property."},"cancellationPolicy":{"nullable":true,"type":"string","title":"Cancellation policy","description":"Headline cancellation policy label."},"cancellationCode":{"nullable":true,"type":"string","title":"Cancellation code","description":"Structured Agoda cancellation window code."},"cancellationDescription":{"nullable":true,"type":"string","title":"Cancellation description","description":"Detailed cancellation terms text."},"isFreeCancellation":{"nullable":true,"type":"boolean","title":"Free cancellation","description":"Whether the rate includes free cancellation."},"freeCancelUntil":{"nullable":true,"type":"string","title":"Free cancel until","description":"ISO YYYY-MM-DD deadline for free cancellation derived from check-in and cancellation window."},"availableRooms":{"nullable":true,"type":"integer","title":"Available rooms","description":"Remaining sellable rooms reported for this variant."},"urgencyMessage":{"nullable":true,"type":"string","title":"Urgency message","description":"Scarcity or urgency notice on the room variant."},"reviewProvider":{"nullable":true,"type":"string","title":"Review provider","description":"Human-readable review source name (e.g. Agoda, Booking.com, Priceline)."},"responderName":{"nullable":true,"type":"string","title":"Responder name","description":"Name of the property responder when a verified reply exists."},"responseDate":{"nullable":true,"type":"string","title":"Response date","description":"Date of the property's reply when present."},"reviewerGroup":{"nullable":true,"type":"string","title":"Reviewer traveler type","description":"Traveler group label such as Couple or Solo traveler."},"lengthOfStay":{"nullable":true,"type":"integer","title":"Reviewer length of stay","description":"Nights stayed by the reviewer."},"reviewerFlag":{"nullable":true,"type":"string","title":"Reviewer country code","description":"Reviewer country flag code when supplied."},"reviewerCountryId":{"nullable":true,"type":"integer","title":"Reviewer country ID","description":"Numeric reviewer country identifier."},"isExpertReviewer":{"nullable":true,"type":"boolean","title":"Expert reviewer","description":"Whether Agoda marks the reviewer as an expert reviewer."},"unhelpfulVotes":{"nullable":true,"type":"integer","title":"Unhelpful votes","description":"Unhelpful vote count on the review."},"originalTitle":{"nullable":true,"type":"string","title":"Original review title","description":"Original untranslated review title when distinct."},"originalComment":{"nullable":true,"type":"string","title":"Original review text","description":"Original untranslated review comment when distinct."},"translateSource":{"nullable":true,"type":"string","title":"Translation source language","description":"Source language code when translated."},"isTranslated":{"nullable":true,"type":"boolean","title":"Is translated","description":"Whether translation metadata or toggle is present."},"reviewImages":{"type":"array","title":"Review photos","description":"Guest photo URLs attached to this review.","items":{}}},"additionalProperties":true,"description":"One collected entity. Field availability depends on rowType and the source. Fields always present (a|b = at least one of them): every row: id; rowType=hotel: name, url, hotelId|listingId; rowType=review: id, reviewId, hotelId; rowType=room: id, roomId, hotelId."},"Error":{"type":"object","required":["error"],"properties":{"error":{"$ref":"#/components/schemas/ErrorDetail"}}},"ErrorDetail":{"type":"object","required":["code","message","retryable"],"properties":{"code":{"type":"string","example":"invalid_input"},"message":{"type":"string"},"retryable":{"type":"boolean"}}},"JobStatus":{"type":"object","properties":{"jobId":{"type":"string"},"status":{"type":"string","enum":["queued","running","succeeded","partial","failed","cancelled"]},"done":{"type":"boolean"},"rowsAvailable":{"type":"integer"},"rowsDelivered":{"type":"integer","description":"Rows already delivered (and billed) to you for this job."},"rowsLimit":{"type":"integer","description":"Most rows this job can deliver."},"estimatedFinishSec":{"type":"integer","description":"While running: estimated seconds until done."},"statusUrl":{"type":"string"},"resultsUrl":{"type":"string"},"expiresAt":{"type":"string","format":"date-time"},"retentionHours":{"type":"integer"},"error":{"$ref":"#/components/schemas/ErrorDetail"}}},"RowsPage":{"allOf":[{"$ref":"#/components/schemas/JobStatus"},{"type":"object","properties":{"offset":{"type":"integer"},"nextOffset":{"type":"integer"},"hasMore":{"type":"boolean"},"rowCount":{"type":"integer"},"rowsBilled":{"type":"integer","description":"Rows delivered by this response."},"rows":{"type":"array","items":{"$ref":"#/components/schemas/Row"}},"meta":{"type":"object","additionalProperties":true}}}]},"HealthStatus":{"type":"object","required":["ok","site","status","endpoints","rowsBilled"],"properties":{"ok":{"type":"boolean"},"site":{"type":"string"},"status":{"type":"string","enum":["operational","unavailable"]},"endpoints":{"type":"array","items":{"type":"string"}},"rowsBilled":{"type":"integer"}}}}}}