> ## Documentation Index
> Fetch the complete documentation index at: https://openapi-docs.yidianting.cc/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Environments & Base URLs

> Connect through Cloud API (Production and Sandbox) or Local Direct LAN servers using the same endpoint paths.

The AKE Parking International API supports **two integration topologies**. Both topologies expose the exact same `POST /v1/<domain>/<action>` paths, request payloads, and response schemas, allowing a single codebase to work seamlessly across hosted and on-premises facilities.

> [tab] 1. Cloud API
>
> Use **Cloud API** when integrating with multi-facility operators hosted on AKE Parking Cloud.
>
> | Environment | Base URL | API Key Prefix | Purpose |
> | - | - | - | - |
> | **Production** | `https://api.akeparking.com` | `ak_live_` | Live parking facilities, real payments, and barrier operations |
> | **Sandbox** | `https://sandbox-api.akeparking.com` | `ak_test_` | Simulated facilities, virtual vehicles, and integration testing |
>
> ```bash theme={null}
> curl -X POST https://sandbox-api.akeparking.com/v1/facilities/list \
>   -H "Authorization: Bearer ak_test_98a1f04c2e1b4d7c" \
>   -H "Content-Type: application/json" \
>   -d '{"limit": 20}'
> ```

> [tab] 2. Local Direct API
>
> Use **Local Direct API** for air-gapped or on-premises facilities where your system runs on the **same Local Area Network (LAN)** as the local parking server.
>
> Locate your on-premises parking server IP address and port (provided during site commissioning), and construct URLs directly from that origin:
>
> ```text theme={null}
> http://<local-server-ip>:<port>/v1/<domain>/<action>
> ```
>
> * **Key Prefix**: `ak_local_` (issued from the local facility administration console)
> * **Protocol**: HTTP on isolated private LANs, or HTTPS if your facility configures an internal TLS certificate.
>
> ```bash theme={null}
> curl -X POST http://192.168.1.100:8080/v1/facilities/list \
>   -H "Authorization: Bearer ak_local_44e0b8c9d211" \
>   -H "Content-Type: application/json" \
>   -d '{"limit": 20}'
> ```

## Choosing Between Cloud and Local Direct

| Consideration | Cloud API | Local Direct API |
| - | - | - |
| **Network requirement** | Public HTTPS (TLS 1.2+) | Same local LAN / private VLAN |
| **Multi-facility binding** | One Partner Key can span many facilities | Scoped to the on-premises facility |
| **Sandbox availability** | Dedicated `sandbox-api.akeparking.com` | Site staging server (if provisioned) |
| **Request / response contract** | Identical `/v1/...` RPC payloads | Identical `/v1/...` RPC payloads |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.