GET
# Radisson URL to Hotel ID API

Turn a public Radisson hotel URL into its hotel\_id.

## Overview

Resolve a canonical radissonhotels.com hotel URL to the Radisson hotel code used by content and pricing endpoints.

### Endpoint URL

GET https://api.stayapi.com/v1/radisson/hotel/url-to-id 

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| url | string | Required | HTTP(S) radissonhotels.com URL containing a canonical /hotels/{slug} path. |

## Response schema

| Field | Type | Description |
| --- | --- | --- |
| url | string | Normalized canonical URL with tracking parameters removed. |
| hotel\_id | string | Radisson hotel code for all follow-up endpoints. |
| name | string|null | Property name returned by the resolver. |

## Errors

Errors use RFC 7807 Problem Details with `provider: "radisson"`, a product name, and a correlation id.

- **400** : invalid URL, hotel code, dates, range, occupancy, child age, or currency.
- **404** : no Radisson property matched the supplied id or URL.
- **502** : Radisson returned an upstream failure.
- **503** : the service is temporarily busy; retry shortly.

## Related Radisson endpoints

[Search and get a hotel id](/docs/endpoints/radisson/search)[Lowest live hotel rate](/docs/endpoints/radisson/rates)[Static room content](/docs/endpoints/radisson/rooms)

Request

```curl
curl -G "https://api.stayapi.com/v1/radisson/hotel/url-to-id" \
  -H "X-API-Key: YOUR_API_KEY" \
  --data-urlencode "url=https://www.radissonhotels.com/en-us/hotels/park-inn-reykjavik-keflavik-airport"
```

Response

```json
{
  "success": true,
  "url": "https://www.radissonhotels.com/en-us/hotels/park-inn-reykjavik-keflavik-airport",
  "hotel_id": "ISREKAIR",
  "name": "Park Inn by Radisson Reykjavik Keflavik Airport"
}
```
