πLocker API
API Documentation for ApexPad Finance Token Lockers. This API provides access to information about token locks on ApexPad.
Quick Navigation
Quickly scroll to the section for each blockchain network API.
FOR SOLANA
FOR SOLANAπ Base URL
The base URL for all API endpoints is:
https://app.apexpad.finance/sol/locker/apiAuthentication
Currently, no authentication is required to access this API.
Rate Limits
There are no predefined rate limits for accessing this API.
Error Handling
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.
πͺEndpoints (2)
GET
Retrieves details for a specific token locker identified by its mint address
1. Get all LP/token lockers
GET /token-lockers
Parameters
This endpoint does not require parameters.
Example Request
Response
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
Code Snippets
JAVASCRIPT
PYTHON
2. Get a specific LP/token locker
GET /lockers?mintAddress={mintAddress}
Parameters:
{mintAddress}
String
Mint address of the locked token.
Yes
Example Request
Response
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)
Example Response
Here is an example response provided that the {mintaddress} was 5aP8iDLqp6fF2E6vRk1eFnsWbnSinmufKEX6gY1sXPKi
Code Snippets
JAVASCRIPT
PYTHON
FOR INJECTIVE
FOR INJECTIVE
FOR SEI NETWORK
FOR SEI NETWORK
FOR NEAR PROTOCOL
FOR NEAR PROTOCOLLast updated