Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 2 Current »

GET https://ws.icnea.net/analytics/listings/{listing_id}/rates/

Use this endpoint to retrieve an existing listing’s rates.


PATH PARAMS

listing_id string required

Listing ID.

QUERY PARAMS

usr string required

API_key for your company, provided by Icnea.

date_to string

date_from string


RESPONSES

200

{
  "analytics_listing_rates_response": {   
    "listing_id": 12341001,    
    "rates": [
      {
        "date": "2025-04-02",
        "min_pax": 1,
        "max_pax": 2,
        "min_price": 10.0,
        "max_price": 87.34,
        "min_stay": 1,
        "max_stay": 3
      },
      {
        "date": "2025-04-03",
        "min_pax": 1,
        "max_pax": 2,
        "min_price": 10.0,
        "max_price": 87.34,
        "min_stay": 1,
        "max_stay": 3
      }
    ]
  }
}

Parameter

Type

Description

listing_id

integer

rates

array of objects

rates

Parameter

Type

Description

date

date

min_pax

integer

max_pax

integer

min_price

decimal

max_price

decimal

min_stay

integer

max_stay

integer

400

{  
  "analytics_listing_rates_response": {
    "error_code": "",
    "error_message": ""
  }
}

Field

Type

Description

error_code

string

Icnea internal error_id to help with debugging.

error_message

string

Human readable description of error.

  • No labels