Skip to main content
GET
/
space
/
get
Get Space
curl --request GET \
  --url https://api.example.com/space/get
{
  "500": {},
  "result": [
    {
      "id_rate": 123,
      "name": "<string>",
      "descrip": "<string>",
      "pax": 123,
      "value4": 123,
      "value8": 123,
      "value_extra": 123
    }
  ]
}
The current implementation returns all spaces. To get a specific space, filter the results by id_rate on the client side, or use the list endpoint and find the desired space.

Authentication

This endpoint does not require authentication and is publicly accessible.

Response

result
array
Array of all space objects. Filter by id_rate to get a specific space.

Example Request

curl -X GET https://api.demet.com/space/get

Example Response

{
  "result": [
    {
      "id_rate": 3,
      "name": "Salón Principal",
      "descrip": "Espacio amplio con sonido y sillas incluidas",
      "pax": 80,
      "value4": 250000,
      "value8": 400000,
      "value_extra": 60000
    }
  ]
}

Filtering by ID

To get a specific space, filter the result array by id_rate:
const response = await fetch('https://api.demet.com/space/get');
const { result } = await response.json();
const space = result.find(s => s.id_rate === 3);

Error Responses

500
error
Internal server error.

Build docs developers (and LLMs) love