API Documentation
Integrate Lapang services directly into your own panel or application.
key
vpn_key
Your Production API Key
Keep this key secret. Do not share it in client-side code.
lap_live_839210xxxxx...92xinfo
Introduction
The Lapang Reseller API provides a RESTful interface to manage orders, check service status, and retrieve account balance information. All endpoints return JSON responses.
tips_and_updates
Development TipUse our sandbox environment to test your integration before switching to the live API endpoints.
security
Authentication
Authenticate your requests by including your API key in the key parameter of your POST requests.
// Example request with authentication
curl -X POST https://lapang.kr/api/v2 \
-d "key=YOUR_API_KEY" \
-d "action=balance"error
Errors
The API uses standard HTTP status codes. Errors are returned in JSON format with a description.
| Status Code | Description |
|---|---|
| 400 | Bad Request - Invalid parameters |
| 401 | Unauthorized - Invalid API key |
| 429 | Too Many Requests - Rate limit exceeded |
| 500 | Internal Server Error |
list
Services List
Retrieve a list of all available services.
POST
https://lapang.kr/api/v2| Parameter | Type | Description |
|---|---|---|
| key | string | Your API Key. |
| action | string | Must be set to services. |
Success Response
{
"services": [
{
"id": 1,
"name": "Instagram Followers",
"price": 0.5
}
]
}add_shopping_cart
Place Order
Create a new order for a specific service.
POST
https://lapang.kr/api/v2| Parameter | Type | Description |
|---|---|---|
| key | string | Your API Key. |
| action | string | Must be set to add. |
| service | integer | Service ID (retrieve from Services endpoint). |
| link | string | Link to the social media post/profile. |
| quantity | integer | Amount needed. |
Success Response
{
"order": 23501
}wallet
Balance Check
Retrieve your current account balance and currency.
POST
https://lapang.kr/api/v2// Request Body
{
"key": "YOUR_API_KEY",
"action": "balance"
}
// Response
{
"balance": "100.23",
"currency": "USD"
}