> ## Documentation Index
> Fetch the complete documentation index at: https://docs.anysite.io/llms.txt
> Use this file to discover all available pages before exploring further.

# /jalan/areas

> Browse the Jalan (じゃらん) area taxonomy used to scope hotel/ryokan searches: prefectures, their large areas (大エリア) and small areas (小エリア), each with its area code, name and canonical URL. Call without arguments to list all 47 prefectures; pass a prefecture to list its large areas; pass a prefecture and large area to list its small areas.

**Price:** 1 credit per 15 results

**⚠️ Common errors:** 412: Area not found (well-formed code but the prefecture/large area does not exist on Jalan)



## OpenAPI

````yaml /openapi/travel-hospitality.json post /api/jalan/areas
openapi: 3.1.0
info:
  title: Any Site API
  description: >+
    Any Site API provides programmatic access to data from LinkedIn, Instagram,
    Twitter, and other platforms.


    ## Authentication


    All API endpoints require an `access-token` header with a valid API token.
    Tokens can be created in the [dashboard](https://app.anysite.io/).


    ## Pricing


    Each endpoint has a credit cost listed in its description. Credits are
    deducted from your token balance per request.

  version: 0.0.1
servers: []
security:
  - AccessToken: []
paths:
  /api/jalan/areas:
    post:
      tags:
        - /jalan
      summary: /jalan/areas
      description: >-
        Browse the Jalan (じゃらん) area taxonomy used to scope hotel/ryokan
        searches: prefectures, their large areas (大エリア) and small areas (小エリア),
        each with its area code, name and canonical URL. Call without arguments
        to list all 47 prefectures; pass a prefecture to list its large areas;
        pass a prefecture and large area to list its small areas.


        **Price:** 1 credit per 15 results


        **⚠️ Common errors:** 412: Area not found (well-formed code but the
        prefecture/large area does not exist on Jalan)
      operationId: __api_jalan_areas_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/JalanAreasPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/JalanArea'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    JalanAreasPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        prefecture:
          anyOf:
            - type: string
            - type: 'null'
        large_area:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    JalanArea:
      properties:
        '@type':
          type: string
          default: JalanArea
        id:
          type: string
        name:
          type: string
        level:
          $ref: '#/components/schemas/JalanAreaLevel'
        url:
          type: string
        prefecture_id:
          anyOf:
            - type: string
            - type: 'null'
        prefecture_name:
          anyOf:
            - type: string
            - type: 'null'
        large_area_id:
          anyOf:
            - type: string
            - type: 'null'
        large_area_name:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - id
        - name
        - level
        - url
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    JalanAreaLevel:
      type: string
      enum:
        - prefecture
        - large_area
        - small_area
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
        msg:
          type: string
        type:
          type: string
        input: {}
        ctx:
          type: object
      type: object
      required:
        - loc
        - msg
        - type
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````