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...92x
info

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 CodeDescription
400Bad Request - Invalid parameters
401Unauthorized - Invalid API key
429Too Many Requests - Rate limit exceeded
500Internal Server Error
list

Services List

Retrieve a list of all available services.

POSThttps://lapang.kr/api/v2
ParameterTypeDescription
keystringYour API Key.
actionstringMust 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.

POSThttps://lapang.kr/api/v2
ParameterTypeDescription
keystringYour API Key.
actionstringMust be set to add.
serviceintegerService ID (retrieve from Services endpoint).
linkstringLink to the social media post/profile.
quantityintegerAmount needed.

Success Response

{
  "order": 23501
}
wallet

Balance Check

Retrieve your current account balance and currency.

POSThttps://lapang.kr/api/v2
// Request Body
{
    "key": "YOUR_API_KEY",
    "action": "balance"
}
// Response
{
    "balance": "100.23",
    "currency": "USD"
}