ONDA API 레퍼런스
AI 기반 숙박 예약 서비스 구축을 위한 완벽한 API 솔루션. LLM 통합, 챗봇 예약, 실시간 재고 관리까지 모든 기능을 제공합니다.
developers.onda.me 에서 인증·엔드포인트·SDK 가이드 등 전체 API 레퍼런스를 확인할 수 있습니다.
왜 ONDA API를 선택해야 할까요?
🚀 빠른 통합
RESTful API와 상세한 문서로 몇 시간 내에 통합 가능. SDK와 코드 예제 제공.
🤖 AI/LLM 최적화
ChatGPT, Claude 등 LLM과 완벽 호환. 자연어 예약 처리를 위한 구조화된 데이터.
🌏 아시아 최대 규모
한국 48,000+ 숙소 실시간 재고. 아시아 전역으로 확장 중.
📚 API 문서
🔧 통합 예제
AI 챗봇 호텔 예약 시스템
LLM을 활용한 자연어 호텔 예약 처리
// AI 챗봇 예약 예제
async function processNaturalLanguageBooking(userInput) {
// Step 1: LLM으로 사용자 의도 파싱
const intent = await llm.parseBookingIntent(userInput);
// Example: "서울에서 2박 3일 호텔 예약해줘"
// Step 2: ONDA API로 호텔 검색
const searchResults = await fetch('https://api.onda.me/v1/search/hotels', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({
location: intent.location, // "Seoul"
checkIn: intent.checkIn, // "2025-02-01"
checkOut: intent.checkOut, // "2025-02-03"
guests: intent.guests // 2
})
});
// Step 3: 가용 객실 확인
const hotels = await searchResults.json();
// Step 4: LLM으로 최적 옵션 선택
const recommendation = await llm.recommendHotel(hotels, intent.preferences);
// Step 5: 예약 생성
const booking = await fetch('https://api.onda.me/v1/booking/create', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({
hotelId: recommendation.hotelId,
roomId: recommendation.roomId,
checkIn: intent.checkIn,
checkOut: intent.checkOut,
guest: {
name: intent.guestName,
email: intent.guestEmail,
phone: intent.guestPhone
}
})
});
return await booking.json();
}💡 활용 사례
AI 여행 어시스턴트
ChatGPT, Claude와 연동하여 자연어로 호텔 예약을 처리하는 AI 서비스 구축
OTA 플랫폼
48,000+ 숙소 재고를 활용한 자체 온라인 여행사 플랫폼 구축
메타서치 엔진
실시간 가격 비교 및 재고 확인이 가능한 메타서치 서비스 개발