Locker API
API Documentation for ApexPad Finance Token Lockers. This API provides access to information about token locks on ApexPad.
Last updated
API Documentation for ApexPad Finance Token Lockers. This API provides access to information about token locks on ApexPad.
Last updated
Quickly scroll to the section for each blockchain network API.
The base URL for all API endpoints is:
Currently, no authentication is required to access this API.
There are no predefined rate limits for accessing this API.
In case of errors, the API will return appropriate HTTP status codes and error messages. Error responses will be in JSON format and include details about the encountered issue.
GET
Retrieves a list of all active LP/token lock details currently on ApexPad.
GET
Retrieves details for a specific token locker identified by its mint address
GET
/token-lockers
Retrieves a list of all active LP/token lockers currently on ApexPad and their details
This endpoint does not require parameters.
200 (OK)
Success
An array of objects, each representing a LP/token lock. See details below.
Headers
Content-Type
application/json; charset=utf-8
Body
id
integer
Unique identifier for the token lock.
locker_pubkey
string
Public key associated with the locker.
token_pool_address
string
Pool address of the token
program_id
string
Solana program ID for the locker contract.
owner
string
Wallet address of the lock owner.
mint_address
string
Contract address of the locked token.
lock_amount
string
Total amount of tokens locked
end_time
number
Unix timestamp representing the time the lock unlocks.
locker_created_at
number
Unix timestamp representing the time the lock was created.
percentage_locked
number
Percentage of tokens locked
lock_type
string
Indicates what type of assets are locked (SPL tokens or Liquidity)
liquidity_pool_address
string
The Raydium Liquidity Pool address (will display only if its an LP Token locker)
totalRows
number
total number of rows in the token locker list
Example Response
JAVASCRIPT
PYTHON
GET
/lockers?mintAddress={mintAddress}
You will likely want to get details for a single locker (e.g., for your project). You can access it using this endpoint once you know its mint address.
Parameters:
{mintAddress}
String
Mint address of the locked token.
Yes
200 (OK)
Success
An object containing details about the requested token locker. See details below.
Headers
Content-Type
application/json; charset=utf-8
Body
You will get almost the same body as in the first endpoint, but this time, it's just one object containing details for the token locker with the {mintaddress}
you declare and parse.
id
integer
Unique identifier for the token lock.
locker_pubkey
string
Public key associated with the locker.
token_pool_address
string
Pool address of the token
program_id
string
Solana program ID for the locker contract.
owner
string
Wallet address of the lock owner.
mint_address
string
Contract address of the locked token.
lock_amount
string
Total amount of tokens locked
end_time
number
Unix timestamp representing the time the lock unlocks.
locker_created_at
number
Unix timestamp representing the time the lock was created.
percentage_locked
number
Percentage of tokens locked
lock_type
string
Indicates what kind of assets are locked (SPL tokens or Liquidity)
liquidity_pool_address
string
The Raydium Liquidity Pool address (will display only if its an LP Token locker)
Here is an example response provided that the {mintaddress}
was 5aP8iDLqp6fF2E6vRk1eFnsWbnSinmufKEX6gY1sXPKi
JAVASCRIPT
PYTHON
Documentation will be available soon
Documentation will be available soon
Documentation will be available soon