---
title: "Hotelsort"
method: POST
path: "/api/b2b/v3/search/hotelsort"
tags: ["search"]
---

# Hotelsort

`POST /api/b2b/v3/search/hotelsort`

Sort order of the hotels in the region based on artificial intelligence.

## Request body

- B2bHotelSortRequest
  - `hotels_limit` integer
  - `region_id` integer
  - `sort_type` string

## Response `200`

OK

- object
  - `data` B2bData
    - `hotels` string[]
  - `debug` V3Debug
    - `api_endpoint` V3DebugEndpoint
      - `endpoint` string
      - `is_active` boolean
      - `is_limited` boolean
      - `remaining` integer
      - `requests_number` integer
      - `reset` string
      - `seconds_number` integer
    - `api_key_id` integer
    - `key_id` integer
    - `method` string
    - `real_ip` string
    - `request` integer[]
    - `request_id` string
    - `utcnow` string
    - `validation_error` string
  - `error` string
  - `status` string

---

[API](https://skmtc.net/worldota/apis/etg-api-v3.md) · [All operations](https://skmtc.net/worldota/apis/etg-api-v3/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/worldota/etg-api-v3/revisions/eb86c2c78ad5/schema)
