100 크레딧 무료, 카드 등록 없이지금 시작하기
Logo
Booking.com logo
100 크레딧 무료, 카드 등록 없이

Booking.com Hotel Rooms API

Booking.com 숙소에서 지정한 일정에 예약할 수 있는 요금을 돌려줍니다. 요금마다 객실, 침대, 편의시설, 세금과 할인을 반영한 가격, 식사 포함 여부, 취소 조건이 담깁니다.

GET /v1/booking/hotel/rooms

2026년 11월 업데이트SocialCrawl 팀이 직접 관리해요

Booking.com Hotel Rooms API는 언제 쓰나요

원하는 날짜의 객실 요금을 비교하거나, 취소와 조식 조건을 확인하거나, 숙소의 일정별 가격을 추적할 때 사용하세요.

API 레퍼런스 영문 원문

Returns every offer a Booking.com property has for one stay, one item per offer (a room type at one rate): the room's name, size, beds, facilities and photos, the guests and rooms the offer is priced for, the price of the stay to the cent with the price a night, the discount, and each tax and fee and whether it is included, the meal plan, the cancellation and prepayment terms with the last day to cancel free, and a Booking.com link with the offer selected. matches_requested_group says whether an offer fits the whole party you sent, or is null when Booking.com does not say: offers can be priced for one room even when you ask for more. data.property and data.stay give the property and the stay as priced. Identify the property by id (as GET /v1/booking/search returns it) or url. A property link that does not open answers a refunded 503. Results are cached for 5 minutes.

95개 플랫폼을 하나의 API로 제공합니다

·TikTok logoTikTok·Instagram logoInstagram·YouTube logoYouTube·Facebook logoFacebook·X logoX·LinkedIn logoLinkedIn·Reddit logoReddit·Threads logoThreads·Pinterest logoPinterest·Twitch logoTwitch·Truth Social logoTruth Social·Snapchat logoSnapchat·Kick logoKick·Bluesky logoBluesky·Kwai logoKwai·Rumble logoRumble·Spotify logoSpotify·Apple Music logoApple Music·TikTok Shop logoTikTok Shop·Amazon Shop logoAmazon Shop·Google Shopping logoGoogle Shopping·Trustpilot logoTrustpilot·TripAdvisor logoTripAdvisor·Yelp logoYelp·Linktree logoLinktree·Komi logoKomi·Pillar logoPillar·lnk.bio logolnk.bio·Facebook Ads logoFacebook Ads·Google Ads logoGoogle Ads·LinkedIn Ads logoLinkedIn Ads·Google Search logoGoogle Search·Google News logoGoogle News·Finance logoFinance·Polymarket logoPolymarket·Tavily logoTavily·Hacker News logoHacker News·GitHub logoGitHub·Perplexity logoPerplexity·Naver logoNaver·Utility logoUtility·Universal Search logoUniversal Search
·TikTok logoTikTok·Instagram logoInstagram·YouTube logoYouTube·Facebook logoFacebook·X logoX·LinkedIn logoLinkedIn·Reddit logoReddit·Threads logoThreads·Pinterest logoPinterest·Twitch logoTwitch·Truth Social logoTruth Social·Snapchat logoSnapchat·Kick logoKick·Bluesky logoBluesky·Kwai logoKwai·Rumble logoRumble·Spotify logoSpotify·Apple Music logoApple Music·TikTok Shop logoTikTok Shop·Amazon Shop logoAmazon Shop·Google Shopping logoGoogle Shopping·Trustpilot logoTrustpilot·TripAdvisor logoTripAdvisor·Yelp logoYelp·Linktree logoLinktree·Komi logoKomi·Pillar logoPillar·lnk.bio logolnk.bio·Facebook Ads logoFacebook Ads·Google Ads logoGoogle Ads·LinkedIn Ads logoLinkedIn Ads·Google Search logoGoogle Search·Google News logoGoogle News·Finance logoFinance·Polymarket logoPolymarket·Tavily logoTavily·Hacker News logoHacker News·GitHub logoGitHub·Perplexity logoPerplexity·Naver logoNaver·Utility logoUtility·Universal Search logoUniversal Search
·TikTok logoTikTok·Instagram logoInstagram·YouTube logoYouTube·Facebook logoFacebook·X logoX·LinkedIn logoLinkedIn·Reddit logoReddit·Threads logoThreads·Pinterest logoPinterest·Twitch logoTwitch·Truth Social logoTruth Social·Snapchat logoSnapchat·Kick logoKick·Bluesky logoBluesky·Kwai logoKwai·Rumble logoRumble·Spotify logoSpotify·Apple Music logoApple Music·TikTok Shop logoTikTok Shop·Amazon Shop logoAmazon Shop·Google Shopping logoGoogle Shopping·Trustpilot logoTrustpilot·TripAdvisor logoTripAdvisor·Yelp logoYelp·Linktree logoLinktree·Komi logoKomi·Pillar logoPillar·lnk.bio logolnk.bio·Facebook Ads logoFacebook Ads·Google Ads logoGoogle Ads·LinkedIn Ads logoLinkedIn Ads·Google Search logoGoogle Search·Google News logoGoogle News·Finance logoFinance·Polymarket logoPolymarket·Tavily logoTavily·Hacker News logoHacker News·GitHub logoGitHub·Perplexity logoPerplexity·Naver logoNaver·Utility logoUtility·Universal Search logoUniversal Search
·TikTok logoTikTok·Instagram logoInstagram·YouTube logoYouTube·Facebook logoFacebook·X logoX·LinkedIn logoLinkedIn·Reddit logoReddit·Threads logoThreads·Pinterest logoPinterest·Twitch logoTwitch·Truth Social logoTruth Social·Snapchat logoSnapchat·Kick logoKick·Bluesky logoBluesky·Kwai logoKwai·Rumble logoRumble·Spotify logoSpotify·Apple Music logoApple Music·TikTok Shop logoTikTok Shop·Amazon Shop logoAmazon Shop·Google Shopping logoGoogle Shopping·Trustpilot logoTrustpilot·TripAdvisor logoTripAdvisor·Yelp logoYelp·Linktree logoLinktree·Komi logoKomi·Pillar logoPillar·lnk.bio logolnk.bio·Facebook Ads logoFacebook Ads·Google Ads logoGoogle Ads·LinkedIn Ads logoLinkedIn Ads·Google Search logoGoogle Search·Google News logoGoogle News·Finance logoFinance·Polymarket logoPolymarket·Tavily logoTavily·Hacker News logoHacker News·GitHub logoGitHub·Perplexity logoPerplexity·Naver logoNaver·Utility logoUtility·Universal Search logoUniversal Search
Booking.com API

Hotel Rooms API로 무엇을 할 수 있을까요

Hotel Rooms 엔드포인트가 통합 스키마와 계산 필드를 담은 Booking.com 데이터를 한 번의 요청으로 보내드려요. 스크래핑 인프라를 직접 만들거나 유지할 필요가 없어요.

요청 예시

# GET /v1/booking/hotel/rooms: 1 credit per call. Cache hits are free and failed calls are refunded.
# Check the price first for 0 credits: add dry_run=1 to the query. Nothing is fetched or charged.
# --max-time 60: the API's own time limit for this endpoint.
# --retry 3: retries timeouts, 429 and 5xx, honoring Retry-After.
# -o response.json keeps only the final attempt's body.
# One Idempotency-Key per request, reused on every retry, so a retried call is never charged twice.
IDEMPOTENCY_KEY=$(od -An -N16 -tx1 /dev/urandom | tr -d ' \n')
curl -sS --max-time 60 --retry 3 -o response.json \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
  "https://www.socialcrawl.dev/v1/booking/hotel/rooms?check_in=2026-12-15&check_out=2026-12-18&id=pt%2Fmasa-5-de-outubro" && cat response.json
# GET /v1/booking/hotel/rooms: 1 credit per call. Cache hits are free and failed calls are refunded.
# Check the price first for 0 credits: add dry_run=1 to the query. Nothing is fetched or charged.
import os
import random
import time
import uuid

import requests

API_KEY = os.environ.get("SOCIALCRAWL_API_KEY", "YOUR_API_KEY")
TIMEOUT_S = 60  # the API's own time limit for this endpoint.
MAX_RETRIES = 3
URL = "https://www.socialcrawl.dev/v1/booking/hotel/rooms"


def backoff(attempt):
    # Exponential backoff with jitter: about 1 s, 2 s, then 4 s.
    return 2 ** attempt * (0.5 + random.random() / 2)


def socialcrawl(params):
    # One Idempotency-Key per request, reused on every retry, so a retried call is never charged twice.
    idempotency_key = str(uuid.uuid4())
    for attempt in range(MAX_RETRIES + 1):
        try:
            res = requests.get(
                URL,
                params=params,
                headers={"x-api-key": API_KEY, "Idempotency-Key": idempotency_key},
                timeout=TIMEOUT_S,
            )
            body = res.json()
        except (requests.RequestException, ValueError):
            # A timeout, a dropped connection or a non-JSON gateway page: retry with the same key.
            if attempt == MAX_RETRIES:
                raise
            time.sleep(backoff(attempt))
            continue
        if body["success"]:
            return body
        error = body["error"]
        # Branch on error["type"], never on the message text.
        if error["type"] == "RESOURCE_NOT_FOUND":
            return None  # refunded: nothing to read
        retry_after = res.headers.get("Retry-After")
        # SERVICE_UNAVAILABLE without Retry-After is a withdrawn endpoint: permanent.
        permanent = error["type"] == "SERVICE_UNAVAILABLE" and retry_after is None
        if not error.get("retryable") or permanent or attempt == MAX_RETRIES:
            raise RuntimeError(f"{error['type']}: {error['message']} (request_id {body['request_id']})")
        # Retry-After (seconds) wins; otherwise back off.
        time.sleep(float(retry_after) if retry_after else backoff(attempt))


params = {
    "check_in": "2026-12-15",
    "check_out": "2026-12-18",
    "id": "pt/masa-5-de-outubro",
}
body = socialcrawl(params)
if body is not None:
    print(body["data"])
// GET /v1/booking/hotel/rooms: 1 credit per call. Cache hits are free and failed calls are refunded.
// Check the price first for 0 credits: add dry_run=1 to the query. Nothing is fetched or charged.
const API_KEY = process.env.SOCIALCRAWL_API_KEY ?? "YOUR_API_KEY";
const TIMEOUT_MS = 60_000; // the API's own time limit for this endpoint.
const MAX_RETRIES = 3;

type Page = { next_cursor: string | null; has_more: boolean };
type SocialCrawlResponse =
  | { success: true; data: any; pagination?: Page; credits_used: number; request_id: string }
  | { success: false; error: { type: string; message: string; retryable: boolean }; request_id: string };

const sleep = (ms: number) => new Promise((resolve) => setTimeout(resolve, ms));
// Exponential backoff with jitter: about 1 s, 2 s, then 4 s.
const backoffMs = (attempt: number) => 2 ** attempt * 1000 * (0.5 + Math.random() / 2);

async function socialcrawl(url: URL) {
  // One Idempotency-Key per request, reused on every retry, so a retried call is never charged twice.
  const idempotencyKey = crypto.randomUUID();
  for (let attempt = 0; ; attempt++) {
    let res: Response;
    let body: SocialCrawlResponse;
    try {
      res = await fetch(url, {
        headers: {
          "x-api-key": API_KEY,
          "Idempotency-Key": idempotencyKey,
        },
        signal: AbortSignal.timeout(TIMEOUT_MS),
      });
      body = (await res.json()) as SocialCrawlResponse;
    } catch (error) {
      // A timeout, a dropped connection or a non-JSON gateway page: retry with the same key.
      if (attempt >= MAX_RETRIES) throw error;
      await sleep(backoffMs(attempt));
      continue;
    }
    if (body.success) return body;
    // Branch on error.type, never on the message text.
    if (body.error.type === "RESOURCE_NOT_FOUND") return null; // refunded: nothing to read
    const retryAfter = res.headers.get("Retry-After");
    // SERVICE_UNAVAILABLE without Retry-After is a withdrawn endpoint: permanent.
    const permanent = body.error.type === "SERVICE_UNAVAILABLE" && retryAfter === null;
    if (!body.error.retryable || permanent || attempt >= MAX_RETRIES) {
      throw new Error(`${body.error.type}: ${body.error.message} (request_id ${body.request_id})`);
    }
    // Retry-After (seconds) wins; otherwise back off.
    await sleep(retryAfter ? Number(retryAfter) * 1000 : backoffMs(attempt));
  }
}

const url = new URL("https://www.socialcrawl.dev/v1/booking/hotel/rooms");
url.searchParams.set("check_in", "2026-12-15");
url.searchParams.set("check_out", "2026-12-18");
url.searchParams.set("id", "pt/masa-5-de-outubro");

const body = await socialcrawl(url);
if (body) console.log(body.data);

파라미터

파라미터필수설명
check_in예Check-in date, YYYY-MM-DD.
check_out예Check-out date, YYYY-MM-DD, after check_in.
id아니오The Booking.com property id as GET /v1/booking/search returns it in place.id, for example pt/masa-5-de-outubro. Send id or url.
url아니오A Booking.com property link, for example https://www.booking.com/hotel/pt/masa-5-de-outubro.html.
adults아니오Adults, 1 to 30 (default 2).
children_ages아니오Each child's age, 0 to 17, comma-separated, for example 5,8. Omit for no children.
rooms아니오Rooms, 1 to 30 (default 1).
currency아니오Currency for prices, for example USD, EUR or GBP (default USD). (AUD | BRL | CAD | CHF | CNY | CZK | DKK | EUR | GBP | HKD | HUF | INR | JPY | KRW | MXN | NOK | NZD | PLN | RON | SEK | SGD | THB | TRY | USD | ZAR)
language아니오Language for room names and terms, for example en-gb or de-de (default en-us). (en-us | en-gb | de-de | es-es | fr-fr | it-it | nl-nl | pt-br | ja-jp | ko-kr | pl-pl | ru-ru | tr-tr | zh-cn)
응답 예시

Booking.com Hotel Rooms API는 무엇을 돌려주나요

이 엔드포인트의 응답 구조와 필드를 보여 주는 예시예요. 값은 이해를 돕기 위한 것이며 실제 조회 결과는 아니에요.

응답 예시 보기
{
  "success": true,
  "platform": "booking",
  "endpoint": "hotel/rooms",
  "data": {
    "items": [
      {
        "id": "450498503_136242787_2_1_0_558523",
        "room_id": "450498503",
        "room_name": "Double Room",
        "room": {
          "size": 20,
          "size_unit": "m2",
          "capacity": 2,
          "beds": [
            {
              "type": "large_double_bed",
              "count": 1
            }
          ],
          "facilities": [
            "Bath",
            "Shower",
            "Toilet",
            "Towels"
          ],
          "image_urls": [
            "https://cf.bstatic.com/xdata/images/hotel/max1024x768/215319123.jpg?k=381878f63cdbddd5c62282aecfb8bd722c69dcdd435bf6a57a5fd352674dedbe&o="
          ]
        },
        "capacity": 2,
        "occupancy": 2,
        "room_count": 1,
        "matches_requested_group": true,
        "price": {
          "total": 202.67,
          "currency": "USD",
          "per_night": 67.56,
          "before_discount": 289.52,
          "discount": 86.85,
          "taxes_and_fees": 38.52,
          "taxes_and_fees_included": false,
          "taxes": [
            {
              "name": "6 % VAT",
              "amount": 12.16,
              "included": false
            },
            {
              "name": "City tax",
              "amount": 26.36,
              "included": false
            }
          ]
        },
        "meal_plan": "breakfast",
        "free_cancellation": false,
        "cancellation_type": "non_refundable",
        "cancellation_deadline": null,
        "cancellation_text": "Non-refundable",
        "no_prepayment": null,
        "prepayment_text": "Pay online",
        "booking_url": "https://www.booking.com/hotel/pt/masa-5-de-outubro.html?checkin=2026-12-15&checkout=2026-12-18&group_adults=2&no_rooms=1&group_children=0&selected_currency=USD&lang=en-us&highlighted_blocks=450498503_136242787_2_1_0_558523"
      },
      {
        "id": "450498503_343618235_2_1_0_558523",
        "room_id": "450498503",
        "room_name": "Double Room",
        "room": {
          "size": 20,
          "size_unit": "m2",
          "capacity": 2,
          "beds": [
            {
              "type": "large_double_bed",
              "count": 1
            }
          ],
          "facilities": [
            "Bath",
            "Shower",
            "Toilet",
            "Towels"
          ],
          "image_urls": [
            "https://cf.bstatic.com/xdata/images/hotel/max1024x768/215319123.jpg?k=381878f63cdbddd5c62282aecfb8bd722c69dcdd435bf6a57a5fd352674dedbe&o="
          ]
        },
        "capacity": 2,
        "occupancy": 2,
        "room_count": 1,
        "matches_requested_group": true,
        "price": {
          "total": 225.18,
          "currency": "USD",
          "per_night": 75.06,
          "before_discount": 321.69,
          "discount": 96.51,
          "taxes_and_fees": 39.87,
          "taxes_and_fees_included": false,
          "taxes": [
            {
              "name": "6 % VAT",
              "amount": 13.51,
              "included": false
            },
            {
              "name": "City tax",
              "amount": 26.36,
              "included": false
            }
          ]
        },
        "meal_plan": "breakfast",
        "free_cancellation": true,
        "cancellation_type": "free_cancellation",
        "cancellation_deadline": "2026-12-12",
        "cancellation_text": "Free cancellation before December 12, 2026",
        "no_prepayment": true,
        "prepayment_text": "No prepayment needed – pay at the property",
        "booking_url": "https://www.booking.com/hotel/pt/masa-5-de-outubro.html?checkin=2026-12-15&checkout=2026-12-18&group_adults=2&no_rooms=1&group_children=0&selected_currency=USD&lang=en-us&highlighted_blocks=450498503_343618235_2_1_0_558523"
      }
    ],
    "total": 2,
    "property": {
      "id": "4504985",
      "url": "https://www.booking.com/hotel/pt/masa-5-de-outubro.html"
    },
    "stay": {
      "check_in": "2026-12-15",
      "check_out": "2026-12-18",
      "adults": 2,
      "children_ages": [],
      "rooms": 1,
      "currency": "USD",
      "language": "en-us"
    }
  },
  "credits_used": 1,
  "credits_remaining": 9999,
  "request_id": "req-a1b2c3d4e5f6",
  "cached": false
}

문서에 나온 응답 구조를 보여 주는 예시예요. 값은 이해를 돕기 위한 것이며 운영 환경에서 가져온 응답이 아니에요.

API 상세

Booking.com Hotel Rooms API는 어떻게 동작하나요

API 키와 함께 GET 요청을 보내면, 통합 스키마와 계산 필드를 담은 깔끔한 JSON이 돌아와요.

메서드

GET

응답 형식

JSON

왜 SocialCrawl인가요

Booking.com Hotel Rooms 데이터는 왜 SocialCrawl로 가져올까요

Booking.com 데이터 추출에서 까다로운 부분은 SocialCrawl이 가려 드려요. 통합 스키마, AI 인리치먼트, 그리고 코드에 남지 않는 플랫폼 로직까지.

개발자 우선

소셜 미디어 데이터를 몇 초 만에 수집하는 방법

개발자를 위한 가장 빠른 소셜 미디어 스크래핑 API. 월간 활성 사용자 100억 명 이상을 포괄하는 95개 플랫폼에서 프로필, 게시물, 댓글, 분석 데이터를 수집하세요.

모든 플랫폼을 하나의 스키마로

동일한 응답 구조로 95개 플랫폼을 조회하세요. 연동은 한 번이면 충분합니다.

단순 수집을 넘어 계산된 필드 제공

엔드포인트가 해당 지표를 지원하고 계산에 필요한 원본 값이 있을 때, 정규화된 레코드에 engagement_rate, estimated_reach, content_category, language를 함께 담아 바로 활용할 수 있습니다.

코드 한 줄 쓰기 전에, 데이터부터

Visual Data Explorer에 URL만 붙여넣으면 결과 카드와 정형화된 테이블, CSV 내보내기를 바로 사용할 수 있습니다.

import requests

response = requests.get(
    'https://www.socialcrawl.dev/v1/tiktok/profile',
    params={'handle': 'charlidamelio'},
    headers={'x-api-key': 'sc_YOUR_API_KEY'}
)
data = response.json()
[ .JSON ]
{
  "success": true,
  "platform": "tiktok",
  "data": {
    "author": {
      "username": "charlidamelio",
      "followers": 152400000
    },
    "engagement": {
      "likes": 12400000000,
      "engagement_rate": 0.087
    },
    "metadata": {
      "language": "en",
      "content_category": "lifestyle"
    }
  }
}
+ 95개 플랫폼
자주 묻는 질문

자주 묻는 질문

API, 요금제, 기능에 대한 질문과 답변입니다.

문의하기
Booking.com Hotel Rooms API는 어떤 데이터를 돌려주나요?
Booking.com 숙소에서 지정한 일정에 예약할 수 있는 요금을 돌려줍니다. 요금마다 객실, 침대, 편의시설, 세금과 할인을 반영한 가격, 식사 포함 여부, 취소 조건이 담깁니다. 응답은 다른 SocialCrawl 엔드포인트와 같은 JSON 구조로 오고 data, credits_used, request_id 필드도 함께 담깁니다.
Booking.com Hotel Rooms 엔드포인트는 언제 쓰면 좋나요?
원하는 날짜의 객실 요금을 비교하거나, 취소와 조식 조건을 확인하거나, 숙소의 일정별 가격을 추적할 때 사용하세요.
Booking.com Hotel Rooms API 비용은 얼마인가요?
호출당 1크레딧입니다. 가입하면 받는 무료 100크레딧으로 100번 호출할 수 있습니다. 실패했거나 빈 결과가 나온 호출의 크레딧은 자동으로 돌려드립니다. 구독료는 따로 없습니다.
Booking.com Hotel Rooms API에는 어떤 파라미터가 필요한가요?
요청에는 check_in, check_out 파라미터가 꼭 들어가야 합니다. 대상은 id, url 중 하나로 지정합니다. 선택 파라미터 7개는 이 페이지에 모두 정리해 두었습니다.
Booking.com Hotel Rooms API는 어떻게 호출하나요?
https://www.socialcrawl.dev/v1/booking/hotel/rooms?check_in=2026-12-15&check_out=2026-12-18&id=pt%2Fmasa-5-de-outubro 주소로 GET 요청을 보내세요. API 키는 x-api-key 헤더에 넣습니다. Authorization: Bearer 헤더도 쓸 수 있습니다.

AI에게 SocialCrawl을 물어보세요

Booking.com Hotel Rooms 데이터, 가져올 준비 되셨어요?

API 키 받고 60초 안에 Booking.com 데이터를 받아 가세요.

무료로 시작하기

🤖 AI 에이전트나 LLM이신가요? 이 페이지를 markdown으로 읽어보세요