Facilities & Occupancy
List authorized facilities
Returns all parking facilities bound to your Partner API Key, including ISO country,
IANA timezone, ISO 4217 currency, geographic coordinates, exit grace period, total/available
spaces, and current reachability status. Call this endpoint first after onboarding to
discover the facilityId values accessible to your integration.
Required scope: facilities:read
POST
/
v1
/
facilities
/
list
List authorized facilities
curl --request POST \
--url https://api.akeparking.com/v1/facilities/list \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"countryCode": "MY",
"limit": 20
}
'import requests
url = "https://api.akeparking.com/v1/facilities/list"
payload = {
"countryCode": "MY",
"limit": 20
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({countryCode: 'MY', limit: 20})
};
fetch('https://api.akeparking.com/v1/facilities/list', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.akeparking.com/v1/facilities/list",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'countryCode' => 'MY',
'limit' => 20
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.akeparking.com/v1/facilities/list"
payload := strings.NewReader("{\n \"countryCode\": \"MY\",\n \"limit\": 20\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.akeparking.com/v1/facilities/list")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"countryCode\": \"MY\",\n \"limit\": 20\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.akeparking.com/v1/facilities/list")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"countryCode\": \"MY\",\n \"limit\": 20\n}"
response = http.request(request)
puts response.read_body{
"items": [
{
"facilityId": "MY-KL-001",
"name": "Pavilion Sentral Parking",
"countryCode": "MY",
"timezone": "Asia/Kuala_Lumpur",
"currency": "MYR",
"address": "168 Jalan Bukit Bintang, 55100 Kuala Lumpur",
"coordinates": {
"latitude": 3.1489,
"longitude": 101.7133
},
"exitGraceMinutes": 15,
"totalSpaces": 1200,
"availableSpaces": 342,
"status": "ONLINE"
}
],
"nextCursor": null,
"hasMore": false
}{
"error": {
"code": "UNAUTHORIZED",
"message": "Invalid or missing API key.",
"requestId": "req_01JDR9X8A1P3Q",
"details": null
}
}{
"error": {
"code": "FACILITY_ACCESS_DENIED",
"message": "This API key is not authorized to access facility MY-KL-009.",
"requestId": "req_01JDR9X9B4N7W",
"details": null
}
}{
"error": {
"code": "RATE_LIMITED",
"message": "Too many requests. Retry after 2 seconds.",
"requestId": "req_01JDR9Y4F8W4M",
"details": null
}
}Authorizations
Body
application/json
⌘I
List authorized facilities
curl --request POST \
--url https://api.akeparking.com/v1/facilities/list \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"countryCode": "MY",
"limit": 20
}
'import requests
url = "https://api.akeparking.com/v1/facilities/list"
payload = {
"countryCode": "MY",
"limit": 20
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({countryCode: 'MY', limit: 20})
};
fetch('https://api.akeparking.com/v1/facilities/list', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.akeparking.com/v1/facilities/list",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'countryCode' => 'MY',
'limit' => 20
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.akeparking.com/v1/facilities/list"
payload := strings.NewReader("{\n \"countryCode\": \"MY\",\n \"limit\": 20\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.akeparking.com/v1/facilities/list")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"countryCode\": \"MY\",\n \"limit\": 20\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.akeparking.com/v1/facilities/list")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"countryCode\": \"MY\",\n \"limit\": 20\n}"
response = http.request(request)
puts response.read_body{
"items": [
{
"facilityId": "MY-KL-001",
"name": "Pavilion Sentral Parking",
"countryCode": "MY",
"timezone": "Asia/Kuala_Lumpur",
"currency": "MYR",
"address": "168 Jalan Bukit Bintang, 55100 Kuala Lumpur",
"coordinates": {
"latitude": 3.1489,
"longitude": 101.7133
},
"exitGraceMinutes": 15,
"totalSpaces": 1200,
"availableSpaces": 342,
"status": "ONLINE"
}
],
"nextCursor": null,
"hasMore": false
}{
"error": {
"code": "UNAUTHORIZED",
"message": "Invalid or missing API key.",
"requestId": "req_01JDR9X8A1P3Q",
"details": null
}
}{
"error": {
"code": "FACILITY_ACCESS_DENIED",
"message": "This API key is not authorized to access facility MY-KL-009.",
"requestId": "req_01JDR9X9B4N7W",
"details": null
}
}{
"error": {
"code": "RATE_LIMITED",
"message": "Too many requests. Retry after 2 seconds.",
"requestId": "req_01JDR9Y4F8W4M",
"details": null
}
}