Skip to main content
POST
/
api
/
jalan
/
hotels
/jalan/hotels
curl --request POST \
  --url https://api.anysite.io/api/jalan/hotels \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "hotel": "<string>",
  "timeout": 300
}
'
[
  {
    "id": "<string>",
    "url": "<string>",
    "@type": "@jalan_hotel",
    "name": "<string>",
    "description": "<string>",
    "image": "<string>",
    "images": [],
    "rating": 123,
    "review_count": 123,
    "category_ratings": {},
    "postal_code": "<string>",
    "region": "<string>",
    "city": "<string>",
    "address": "<string>",
    "latitude": 123,
    "longitude": 123,
    "access": "<string>",
    "checkin_time": "<string>",
    "checkout_time": "<string>",
    "total_room_count": 123,
    "western_room_count": 123,
    "japanese_room_count": 123,
    "japanese_western_room_count": 123,
    "other_room_count": 123,
    "onsen": "<string>",
    "facilities": [],
    "services": [],
    "credit_cards": [],
    "breadcrumbs": []
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
hotel
string
required

Jalan hotel/ryokan id (numeric, e.g. 340595) or a full hotel URL

Minimum string length: 1
Examples:

"340595"

"yad340595"

"https://www.jalan.net/yad340595/"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
string
required
url
string
required
@type
string
default:@jalan_hotel
name
string | null
description
string | null
image
string | null
images
string[]
rating
number | null
review_count
integer | null
category_ratings
Category Ratings · object
postal_code
string | null
region
string | null
city
string | null
address
string | null
latitude
number | null
longitude
number | null
access
string | null
checkin_time
string | null
checkout_time
string | null
total_room_count
integer | null
western_room_count
integer | null
japanese_room_count
integer | null
japanese_western_room_count
integer | null
other_room_count
integer | null
onsen
string | null
facilities
string[]
services
string[]
credit_cards
string[]
breadcrumbs
string[]