Integrate Lapang services directly into your own panel or application.
Keep this key secret. Do not share it in client-side code.
lap_live_839210xxxxx...92xThe Lapang Reseller API provides a RESTful interface to manage orders, check service status, and retrieve account balance information. All endpoints return JSON responses.
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.com/api/v2 \
-d "key=YOUR_API_KEY" \
-d "action=balance"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 |
Retrieve a list of all available services.
https://lapang.com/api/v2| Parameter | Type | Description |
|---|---|---|
| key | string | Your API Key. |
| action | string | Must be set to services. |
{
"services": [
{
"id": 1,
"name": "Instagram Followers",
"price": 0.5
}
]
}Create a new order for a specific service.
https://lapang.com/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. |
{
"order": 23501
}Retrieve your current account balance and currency.
https://lapang.com/api/v2// Request Body
{
"key": "YOUR_API_KEY",
"action": "balance"
}
// Response
{
"balance": "100.23",
"currency": "USD"
}