Find properties for a destination and stay of 1–30 nights. Check-in must be today or later in UTC.Use a returned id for hotel details and rates or guest reviews. Only offer these actions when an ID is present. Star class and guest rating are separate fields.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"SAN","description":"SAN is the live search network for agents. Search the web, read pages, and retrieve structured data through one API.","colors":{"primary":"#747474","light":"#ffffff","dark":"#000000"},"logo":"https://mintcdn.com/sanfoundation/ev7UrVifbGmS7miF/logo/dark.png?fit=max\u0026auto=format\u0026n=ev7UrVifbGmS7miF\u0026q=85\u0026s=84966695e444cc6702667b4054421c34","favicon":"https://mintcdn.com/sanfoundation/ev7UrVifbGmS7miF/favicon.ico?fit=max\u0026auto=format\u0026n=ev7UrVifbGmS7miF\u0026q=85\u0026s=54e6867af5d899b46f2b6adebc3c576c","api":{"openapi":"https://api.sanfoundation.com/openapi.json","examples":{"languages":["bash","python","javascript"]}},"appearance":{"default":"dark","strict":true},"navbar":{"links":[{"href":"mailto:joe@sanfoundation.com","label":"Support"}],"primary":{"type":"button","label":"Open platform","href":"https://platform.sanfoundation.com/"}},"footer":{"socials":{"x":"https://x.com/sanfdn"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Website","icon":{"style":"solid","name":"globe"},"color":{"light":"#747474","dark":"#747474"},"href":"https://sanfoundation.com/"},{"anchor":"Platform","icon":{"style":"solid","name":"grid-2"},"color":{"light":"#747474","dark":"#747474"},"href":"https://platform.sanfoundation.com/"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"sanfoundation","hasAudioNarration":false,"actualSubdomain":"sanfoundation","customDomains":["docs.sanfoundation.com"],"gitSource":{"type":"github","owner":"san-foundation","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6aace7cd56c14aa2f032b97c","collectionId":"5616a104-d19d-4ef2-aedb-0d382716937c","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6aace7cd56c14aa2f032b97c"},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6aace7cd56c14aa2f032b97c","clientVersion":"0.0.4021","searchFilterCounts":[{"language":"default","tag":"API reference","count":18},{"language":"default","tag":"Guides","count":12},{"language":"default","tag":"Flights","count":4},{"language":"default","tag":"API essentials","count":4},{"language":"default","tag":"Hotels","count":3},{"language":"default","tag":"Places","count":3},{"language":"default","tag":"Miners","count":3},{"language":"default","tag":"Platform","count":3},{"language":"default","tag":"Get started","count":2},{"language":"default","tag":"Shopping","count":2}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/hotels-search","slug":"/api-reference/hotels-search","pageMetadata":{"title":"Search hotels","description":"Find hotels and vacation rentals for a stay.","openapi":"https://api.sanfoundation.com/openapi.json GET /v1/hotels/search","href":"/api-reference/hotels-search"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Find hotels and vacation rentals for a stay.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Heading}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Find properties for a destination and stay of 1–30 nights. Check-in must be today or later in UTC.`}),`\n`,_jsxs(_components.p,{children:[`Use a returned `,_jsx(_components.code,{children:`id`}),` for `,_jsx(_components.a,{href:`/api-reference/hotels-details`,children:`hotel details and rates`}),` or `,_jsx(_components.a,{href:`/api-reference/hotels-reviews`,children:`guest reviews`}),`. Only offer these actions when an ID is present. Star class and guest rating are separate fields.`]}),`\n`,_jsx(Heading,{level:`2`,id:`example-stay`,children:`Example stay`}),`\n`,_jsx(_components.p,{children:`Generate future dates with Python 3, then search:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`9`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`CHECK_IN`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`$(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`python3`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'from datetime import datetime, timedelta, timezone; print((datetime.now(timezone.utc) + timedelta(days=30)).date())'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`CHECK_OUT`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`$(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`python3`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'from datetime import datetime, timedelta, timezone; print((datetime.now(timezone.utc) + timedelta(days=33)).date())'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --get`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://api.sanfoundation.com/v1/hotels/search'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$SAN_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'query=Tokyo'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"check_in=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$CHECK_IN`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"check_out=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$CHECK_OUT`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'currency=USD'`})]}),`\n`]})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Search hotels","description":"Find hotels and vacation rentals for a stay.","openapi":"https://api.sanfoundation.com/openapi.json GET /v1/hotels/search","href":"/api-reference/hotels-search"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Example stay","slug":"example-stay","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"description":"Find hotels and vacation rentals for a stay.","operationId":"HotelsController_search","parameters":["99bb96e6-f2b5-4a88-818f-ea5b910064f3","303c571a-97b8-47a9-a7ab-5c56ef1e58f1","385b8fdd-bd12-43f9-b00f-9dc3ab50d82b","63147a7f-d933-4f3f-8850-70f07494a272","1cfeb1e2-c585-49dc-8850-a936273875bb","fcd2d97c-7e74-4f7b-953c-2f7bc626701c","f2fabf96-888f-4f85-b9bb-767bce24d8d8"],"responses":{"200":"6dc199c5-16b1-42ae-baf2-487d873e1008","400":"924fed8a-0b2e-4604-89d2-e5a330f9c90a","401":"a88e6a0b-0eee-49c0-907a-163d6cac9d47","429":"ff4c3c4f-c222-4a86-9183-bd215d177ad5","503":"f3dfe24d-3bbb-44dd-872d-fe05bc993955"},"security":["c56116b5-a3a6-4a71-a3cc-52cff9d9743a","28f876ff-e12a-4976-b4da-36913a7469ab"],"summary":"Find places to stay","tags":["hotels"],"method":"get","type":"path","servers":[],"path":"/v1/hotels/search","baseUrlOptions":[],"title":"Find places to stay","codeSamples":[],"requestExampleLanguages":["bash","python","javascript"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"99bb96e6-f2b5-4a88-818f-ea5b910064f3":{"name":"page","required":false,"in":"query","description":"1 based, up to 5.","schema":{"type":"number","example":1,"isRequired":false,"description":"1 based, up to 5.","uniqueKey":"","typeLabel":"number"}},"303c571a-97b8-47a9-a7ab-5c56ef1e58f1":{"name":"country","required":false,"in":"query","description":"ISO 3166-1 alpha-2. Defaults to `us`.","schema":{"type":"string","example":"us","isRequired":false,"description":"ISO 3166-1 alpha-2. Defaults to `us`.","uniqueKey":"","typeLabel":"string"}},"385b8fdd-bd12-43f9-b00f-9dc3ab50d82b":{"name":"currency","required":false,"in":"query","description":"ISO 4217. Defaults to the currency of `country`.","schema":{"type":"string","example":"USD","isRequired":false,"description":"ISO 4217. Defaults to the currency of `country`.","uniqueKey":"","typeLabel":"string"}},"63147a7f-d933-4f3f-8850-70f07494a272":{"name":"stars","required":false,"in":"query","description":"Comma list of star classes, 1 to 5.","schema":{"example":"4,5","type":"string","isRequired":false,"description":"Comma list of star classes, 1 to 5.","uniqueKey":"","typeLabel":"string"}},"1cfeb1e2-c585-49dc-8850-a936273875bb":{"name":"check_out","required":true,"in":"query","description":"YYYY-MM-DD. 1 to 30 nights after `check_in`.","schema":{"example":"2026-10-19","type":"string","isRequired":true,"description":"YYYY-MM-DD. 1 to 30 nights after `check_in`.","uniqueKey":"","typeLabel":"string"}},"fcd2d97c-7e74-4f7b-953c-2f7bc626701c":{"name":"check_in","required":true,"in":"query","description":"YYYY-MM-DD. Not in the past.","schema":{"type":"string","example":"2026-10-15","isRequired":true,"description":"YYYY-MM-DD. Not in the past.","uniqueKey":"","typeLabel":"string"}},"f2fabf96-888f-4f85-b9bb-767bce24d8d8":{"name":"query","required":true,"in":"query","description":"The destination: a city, a neighbourhood or a landmark.","schema":{"example":"Tokyo","type":"string","isRequired":true,"description":"The destination: a city, a neighbourhood or a landmark.","uniqueKey":"","typeLabel":"string"}}},"responses":{"6dc199c5-16b1-42ae-baf2-487d873e1008":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Id of this request. Quote it when reporting a problem.","isRequired":true,"uniqueKey":"id","typeLabel":"string\u003cuuid>"},"took_ms":{"type":"number","example":1420,"description":"How long the request took, in milliseconds.","isRequired":true,"uniqueKey":"took_ms","typeLabel":"number"},"request":{"type":"object","additionalProperties":true,"description":"The parameters as accepted, after defaults and normalization. What the request actually ran with.","example":{"query":"coffee","country":"us","page":1},"isRequired":true,"uniqueKey":"request","typeLabel":"object"},"next_page":{"oneOf":[{"type":"number","example":2,"description":"The next page to ask for, or null when there is no further page. Never a page this endpoint would reject.","isRequired":true,"uniqueKey":"next_page.oneOf.0","typeLabel":"number"},{"type":"null","example":2,"description":"The next page to ask for, or null when there is no further page. Never a page this endpoint would reject.","isRequired":true,"uniqueKey":"next_page.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"next_page","typeLabel":"number | null"},"results":{"type":"array","items":{"type":"object","properties":{"position":{"type":"number","example":1,"isRequired":true,"uniqueKey":"results.items.[INDEX].position","typeLabel":"number"},"name":{"type":"string","example":"Park Hotel Tokyo","isRequired":true,"uniqueKey":"results.items.[INDEX].name","typeLabel":"string"},"type":{"type":"string","enum":["hotel","vacation_rental"],"example":"hotel","isRequired":true,"uniqueKey":"results.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","example":"san1.QkFEQ0FGRTAxMjM0NTY3ODk","description":"Opaque handle for this property.","uniqueKey":"results.items.[INDEX].id","typeLabel":"string"},"rate_per_night":{"type":"object","properties":{"amount":{"type":"number","example":180,"description":"The amount as a number.","isRequired":true,"uniqueKey":"results.items.[INDEX].rate_per_night.amount","typeLabel":"number"},"display":{"type":"string","example":"$180","description":"The same amount as displayed, with its currency.","isRequired":true,"uniqueKey":"results.items.[INDEX].rate_per_night.display","typeLabel":"string"}},"required":["amount","display"],"uniqueKey":"results.items.[INDEX].rate_per_night","typeLabel":"object"},"total_rate":{"type":"object","description":"Total for the stay.","required":["amount","display"],"properties":{"amount":{"type":"number","example":180,"description":"The amount as a number.","isRequired":true,"uniqueKey":"results.items.[INDEX].total_rate.amount","typeLabel":"number"},"display":{"type":"string","example":"$180","description":"The same amount as displayed, with its currency.","isRequired":true,"uniqueKey":"results.items.[INDEX].total_rate.display","typeLabel":"string"}},"uniqueKey":"results.items.[INDEX].total_rate","typeLabel":"object"},"rating":{"type":"number","example":4.3,"uniqueKey":"results.items.[INDEX].rating","typeLabel":"number"},"reviews":{"type":"number","example":2841,"uniqueKey":"results.items.[INDEX].reviews","typeLabel":"number"},"stars":{"type":"number","example":4,"description":"Star class, 1 to 5.","uniqueKey":"results.items.[INDEX].stars","typeLabel":"number"},"amenities":{"example":["Free Wi-Fi","Pool"],"type":"array","items":{"type":"string","uniqueKey":"results.items.[INDEX].amenities.items.[INDEX]","typeLabel":"string"},"uniqueKey":"results.items.[INDEX].amenities","typeLabel":"string[]"}},"required":["position","name","type"],"uniqueKey":"results.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"results","typeLabel":"object[]"},"total_results":{"type":"number","example":15000,"description":"Total matches reported for the search.","uniqueKey":"total_results","typeLabel":"number"},"currency":{"type":"string","example":"USD","description":"ISO 4217 code the prices are quoted in.","uniqueKey":"currency","typeLabel":"string"}},"required":["id","took_ms","request","next_page","results"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","took_ms":1420,"request":{"query":"coffee","country":"us","page":1},"next_page":2,"results":[{"position":1,"name":"Park Hotel Tokyo","type":"hotel","id":"san1.QkFEQ0FGRTAxMjM0NTY3ODk","rate_per_night":{"amount":180,"display":"$180"},"total_rate":{"amount":180,"display":"$180"},"rating":4.3,"reviews":2841,"stars":4,"amenities":["Free Wi-Fi","Pool"]}],"total_results":15000,"currency":"USD"}}},"exampleType":"generated"}},"exampleType":"generated"},"924fed8a-0b2e-4604-89d2-e5a330f9c90a":{"description":"A parameter is missing, invalid or not recognized.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["unauthorized","missing_parameter","invalid_parameter","not_found","quota_exceeded","rate_limited","unavailable","expired","internal_error"],"example":"missing_parameter","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","example":"Missing parameter `query`.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"param":{"type":"string","example":"query","description":"The parameter at fault, when one parameter is at fault.","uniqueKey":"error.param","typeLabel":"string"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"missing_parameter","message":"Missing parameter `query`.","param":"query"}}}},"exampleType":"generated"}},"exampleType":"generated"},"a88e6a0b-0eee-49c0-907a-163d6cac9d47":{"description":"Invalid API key.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["unauthorized","missing_parameter","invalid_parameter","not_found","quota_exceeded","rate_limited","unavailable","expired","internal_error"],"example":"missing_parameter","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","example":"Missing parameter `query`.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"param":{"type":"string","example":"query","description":"The parameter at fault, when one parameter is at fault.","uniqueKey":"error.param","typeLabel":"string"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"missing_parameter","message":"Missing parameter `query`.","param":"query"}}}},"exampleType":"generated"}},"exampleType":"generated"},"ff4c3c4f-c222-4a86-9183-bd215d177ad5":{"description":"Monthly quota exhausted. Hard stop, no overage.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["unauthorized","missing_parameter","invalid_parameter","not_found","quota_exceeded","rate_limited","unavailable","expired","internal_error"],"example":"missing_parameter","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","example":"Missing parameter `query`.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"param":{"type":"string","example":"query","description":"The parameter at fault, when one parameter is at fault.","uniqueKey":"error.param","typeLabel":"string"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"missing_parameter","message":"Missing parameter `query`.","param":"query"}}}},"exampleType":"generated"}},"exampleType":"generated"},"f3dfe24d-3bbb-44dd-872d-fe05bc993955":{"description":"No miner and no fallback could serve the request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["unauthorized","missing_parameter","invalid_parameter","not_found","quota_exceeded","rate_limited","unavailable","expired","internal_error"],"example":"missing_parameter","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","example":"Missing parameter `query`.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"param":{"type":"string","example":"query","description":"The parameter at fault, when one parameter is at fault.","uniqueKey":"error.param","typeLabel":"string"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"missing_parameter","message":"Missing parameter `query`.","param":"query"}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"c56116b5-a3a6-4a71-a3cc-52cff9d9743a":{"api_key":{"scheme":"bearer","bearerFormat":"JWT","type":"http","description":"Public API key: `Authorization: Bearer san_...`.","scopes":[]}},"28f876ff-e12a-4976-b4da-36913a7469ab":{"x-api-key":{"type":"apiKey","in":"header","name":"X-Api-Key","description":"The same public API key, as a header.","scopes":[]}}},"servers":{},"processedSecurityOptions":[{"schemes":[{"scheme":{"scheme":"bearer","bearerFormat":"JWT","type":"http","description":"Public API key: `Authorization: Bearer san_...`.","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Public API key: `Authorization: Bearer san_...`.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"api_key","name":"Authorization"}],"title":"api_key"},{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-Api-Key","description":"The same public API key, as a header.","scopes":[]},"schema":{"title":"X-Api-Key","type":"string","description":"The same public API key, as a header.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"x-api-key","name":"X-Api-Key"}],"title":"x-api-key"}]},"originalFileLocation":"https://api.sanfoundation.com/openapi.json"},"subdomain":"sanfoundation","siteName":"SAN","title":"Search hotels - SAN","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-16T00:51:22.731Z","originalFileLocation":"api-reference/hotels-search.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"dark\";if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Find hotels and vacation rentals for a stay.\">\u003cmeta data-mint-head name=\"application-name\" content=\"SAN\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/sanfoundation/rb-EfS4E74ts3jpe/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/sanfoundation/rb-EfS4E74ts3jpe/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/sanfoundation/rb-EfS4E74ts3jpe/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/sanfoundation/rb-EfS4E74ts3jpe/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/sanfoundation/rb-EfS4E74ts3jpe/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/sanfoundation/rb-EfS4E74ts3jpe/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/sanfoundation/rb-EfS4E74ts3jpe/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/sanfoundation/rb-EfS4E74ts3jpe/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/sanfoundation/rb-EfS4E74ts3jpe/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Search hotels - SAN\">\u003cmeta data-mint-head property=\"og:description\" content=\"Find hotels and vacation rentals for a stay.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"SAN\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.sanfoundation.com/api-reference/hotels-search\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://sanfoundation.mintlify.app/_mintlify/api/og/v2?division=Hotels\u0026amp;title=Search+hotels\u0026amp;description=Find+hotels+and+vacation+rentals+for+a+stay.\u0026amp;theme=cc01b81ddd823aa116cf0f47\u0026amp;signature=15edb8313878b5060119374731154e277df93eb64de939442d9e5eb56d760292\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Search hotels - SAN\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Find hotels and vacation rentals for a stay.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://sanfoundation.mintlify.app/_mintlify/api/og/v2?division=Hotels\u0026amp;title=Search+hotels\u0026amp;description=Find+hotels+and+vacation+rentals+for+a+stay.\u0026amp;theme=cc01b81ddd823aa116cf0f47\u0026amp;signature=15edb8313878b5060119374731154e277df93eb64de939442d9e5eb56d760292\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/sanfoundation/rb-EfS4E74ts3jpe/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"SAN\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#747474\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.sanfoundation.com/api-reference/hotels-search\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/hotels-search.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.sanfoundation.com/#organization\",\"name\":\"SAN\",\"url\":\"https://docs.sanfoundation.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/sanfoundation/ev7UrVifbGmS7miF/logo/dark.png?fit=max\u0026auto=format\u0026n=ev7UrVifbGmS7miF\u0026q=85\u0026s=84966695e444cc6702667b4054421c34\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.sanfoundation.com#website\",\"name\":\"SAN\",\"url\":\"https://docs.sanfoundation.com\",\"publisher\":{\"@id\":\"https://docs.sanfoundation.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.sanfoundation.com/api-reference/hotels-search#webpage\",\"url\":\"https://docs.sanfoundation.com/api-reference/hotels-search\",\"name\":\"Search hotels\",\"description\":\"Find hotels and vacation rentals for a stay.\",\"dateModified\":\"2026-09-16T00:51:22.731Z\",\"isPartOf\":{\"@id\":\"https://docs.sanfoundation.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.sanfoundation.com/api-reference/hotels-search#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.sanfoundation.com/api-reference/hotels-search#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"SAN\",\"item\":\"https://docs.sanfoundation.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Search hotels\",\"item\":\"https://docs.sanfoundation.com/api-reference/hotels-search\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.sanfoundation.com/api-reference/hotels-search#apireference\",\"headline\":\"Search hotels\",\"name\":\"Search hotels\",\"description\":\"Find hotels and vacation rentals for a stay.\",\"url\":\"https://docs.sanfoundation.com/api-reference/hotels-search\",\"mainEntityOfPage\":{\"@id\":\"https://docs.sanfoundation.com/api-reference/hotels-search#webpage\"},\"dateModified\":\"2026-09-16T00:51:22.731Z\",\"publisher\":{\"@id\":\"https://docs.sanfoundation.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.sanfoundation.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"SAN\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"SAN","nav":{"global":{"anchors":[{"anchor":"Website","icon":{"style":"solid","name":"globe"},"color":{"light":"#747474","dark":"#747474"},"href":"https://sanfoundation.com/"},{"anchor":"Platform","icon":{"style":"solid","name":"grid-2"},"color":{"light":"#747474","dark":"#747474"},"href":"https://platform.sanfoundation.com/"}]},"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":""}]},{"tab":"API reference","groups":[{"group":"Overview","pages":[{"title":"API overview","icon":"code","href":"/api-reference/introduction"}]},{"group":"Web","pages":[{"title":"Search the web","openapi":"https://api.sanfoundation.com/openapi.json GET /v1/web/search","href":"/api-reference/web-search"},{"title":"Fetch a web page","openapi":"https://api.sanfoundation.com/openapi.json GET /v1/web/fetch","href":"/api-reference/web-fetch"}]},{"group":"News","pages":[{"title":"Search news","openapi":"https://api.sanfoundation.com/openapi.json GET /v1/news/search","href":"/api-reference/news-search"}]},{"group":"Places","pages":[{"title":"Search places","openapi":"https://api.sanfoundation.com/openapi.json GET /v1/places/search","href":"/api-reference/places-search"},{"title":"Get place details","openapi":"https://api.sanfoundation.com/openapi.json GET /v1/places/{id}","href":"/api-reference/places-details"},{"title":"Get place reviews","description":"Read reviews for a place.","openapi":"https://api.sanfoundation.com/openapi.json GET /v1/places/{id}/reviews","href":"/api-reference/places-reviews"}]},{"group":"Hotels","pages":[{"title":"Search hotels","openapi":"https://api.sanfoundation.com/openapi.json GET /v1/hotels/search","href":"/api-reference/hotels-search"},{"title":"Get hotel details","description":"Retrieve property information and available rates for a stay.","openapi":"https://api.sanfoundation.com/openapi.json GET /v1/hotels/{id}","href":"/api-reference/hotels-details"},{"title":"Get hotel reviews","openapi":"https://api.sanfoundation.com/openapi.json GET /v1/hotels/{id}/reviews","href":"/api-reference/hotels-reviews"}]},{"group":"Flights","pages":[{"title":"Search flights","openapi":"https://api.sanfoundation.com/openapi.json GET /v1/flights/search","href":"/api-reference/flights-search"},{"title":"Get return options","openapi":"https://api.sanfoundation.com/openapi.json GET /v1/flights/{id}/returns","href":"/api-reference/flights-returns"},{"title":"Get flight booking options","openapi":"https://api.sanfoundation.com/openapi.json GET /v1/flights/{id}/bookings","href":"/api-reference/flights-bookings"},{"title":"Get flight status","openapi":"https://api.sanfoundation.com/openapi.json GET /v1/flights/status","href":"/api-reference/flights-status"}]},{"group":"Finance","pages":[{"title":"Get a finance quote","openapi":"https://api.sanfoundation.com/openapi.json GET /v1/finance/quote","href":"/api-reference/finance-quote"}]},{"group":"Shopping","pages":[{"title":"Search products","openapi":"https://api.sanfoundation.com/openapi.json GET /v1/shopping/search","href":"/api-reference/shopping-search"},{"title":"Get product details","openapi":"https://api.sanfoundation.com/openapi.json GET /v1/shopping/{id}","href":"/api-reference/shopping-details"}]},{"group":"Account","pages":[{"title":"Get account quota","openapi":"https://api.sanfoundation.com/openapi.json GET /v1/account","href":"/api-reference/account"}]}]}]},"title":"Search hotels - SAN","buildId":"dpl_EnxDqhjaNc9a8MVa833TGULPd9uJ","deploymentId":"dpl_EnxDqhjaNc9a8MVa833TGULPd9uJ","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-26-lDe7V.js","utils-CWQmgYtH.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-4-Aw3rSD.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-C2zjXYA5.js","snippetPresets-DFmpFA7C.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-FJpQavWq.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-D_GvPF7k.js","shallow-Bs2ZB0NO.js","getApiPlaygroundDisplay-DCcqJJk-.js","CodeSnippet-DzDxawVe.js","CodeSnippets-aUr7fU-7.js","Page-CT9uE8Ip.js","getPastedJson-Y1fKsj_I.js","icon-DI4zTsDr.js","MethodPill-C0nDlmSQ.js","DuplicateIcon-NUXbx2nQ.js","createIcon-BdTHrPAi.js","DynamicMarkdown-CtpgKJwj.js","SectionHeading-B3x35tOt.js","axios-vUo_bRtp.js","Markdown-3OmurJMP.js","clsx-DMKzROTp.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-1ms6tsT-.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-Ke9xIMFx.js"]}