Skip to main content
This endpoint is currently not implemented in the API. To retrieve rates, use the List Rates endpoint which returns all rates.

Alternative: List Rates

To get information about a specific rate, you can:
  1. Use the List Rates endpoint to retrieve all rates
  2. Filter the results on the client side by id_rate

Example

JavaScript
// Fetch all rates
const response = await fetch('https://api.demet.com/rate/get');
const data = await response.json();

// Filter for specific rate ID
const rateId = 3;
const rate = data.result.find(r => r.id_rate === rateId);

console.log(rate);
Python
import requests

# Fetch all rates
response = requests.get('https://api.demet.com/rate/get')
data = response.json()

# Filter for specific rate ID
rate_id = 3
rate = next((r for r in data['result'] if r['id_rate'] == rate_id), None)

print(rate)

Rate Object

When you retrieve a rate, it will contain:
id_rate
number
Unique identifier for the rate
name
string
Name of the rate
pax
number
Maximum capacity (number of people)
value4
number
Price for 4-hour rental period
value8
number
Price for 8-hour rental period
value_extra
number
Price per additional hour
isPartner
boolean
Whether this rate is for partner accounts
id_space
number
ID of the space this rate belongs to

Build docs developers (and LLMs) love