API DOC
Affiliate Docs
Limited API for affiliate developers
API version
v0.0.1
Last refreshed
2025-10-27T08:59:53.000Z
UTC
Base URL
https://ponlonsiko.ru/api
Authorization
Some endpoints require authorization. Include the following header:
| Header | Value |
|---|---|
| Authorization | Bearer YOUR_API_KEY |
GET /currencies
Get Currencies
This API endpoint returns the paginated list of available currencies.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| page | query | integer | optional | Page number |
| size | query | integer | optional | Number of items per page |
| search | query | string | null | optional | Search query for currency code or name |
| Authorization | header | string | null | optional | Bearer auth token |
Sample request
curl -X GET \
-H "Authorization: Bearer YOUR_API_KEY" \n+https://ponlonsiko.ru/api/currencies?search={search}
Responses
Status
200:
Successful Response
application/json
Model:
CurrencyValue
Example
{
"data": [
{
"code": "string",
"name": "string",
"icon": "string",
"notes": "string",
"networks": [
null
]
}
],
"count": 0
}
GET /rate
Get Rate
This API endpoint returns amount that user will get, current rate, minimal payment amount required to make an exchange.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| coin_from | query | string | required | Currency to exchange from, e.g. 'ETH' |
| coin_to | query | string | required | Currency to exchange to, e.g. 'USDT' |
| amount | query | integer | number | required | Amount of currency to send |
| rate_type | query | string | optional | Type of coin rate: 'fixed' or 'float' |
| change_type | query | string | optional | Type of coin get: 'from' or 'to' |
| Authorization | header | string | null | optional | Bearer auth token |
Sample request
curl -X GET \
-H "Authorization: Bearer YOUR_API_KEY" \n+https://ponlonsiko.ru/api/rate?coin_from={coin_from}&coin_to={coin_to}&amount={amount}&rate_type={rate_type}&change_type={change_type}
Responses
Status
200:
Successful Response
application/json
Model:
RateResponse
Example
{
"fromAmount": 0,
"toAmount": 0,
"rate": 0,
"message": "string",
"minAmount": 0,
"withdrawMin": 0,
"maxAmount": 0
}
GET /transaction/{txid}
Get Transaction
This API endpoint return a transaction by specific txid.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| txid | path | string | required | Transaction of order ID |
| Authorization | header | string | null | optional | Bearer auth token |
Sample request
curl -X GET \
-H "Authorization: Bearer YOUR_API_KEY" \n+https://ponlonsiko.ru/api/transaction/{txid}
Responses
Status
200:
Successful Response
application/json
Model:
ExchangeRequests
Example
{
"uid": "string",
"amount": 0,
"amountTo": 0,
"coinFrom": {
"coinCode": "string",
"coinName": "string",
"icon": "string",
},
"coinTo": {
"coinCode": "string",
"coinName": "string",
"icon": "string",
},
"createdAt": "string",
"depositAddress": "string",
"withdrawalAddress": "string",
"rate": "string",
"rateType": "string",
"status": 0,
}
GET /transaction
Create Transaction
This API endpoint creates a transaction, generates an address for sending funds and returns transaction attributes.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| coin_from | query | string | required | Source coin code |
| coin_to | query | string | required | Destination coin code |
| amount | query | integer | number | required | Amount to exchange |
| query | string | required | Email to notice | |
| withdrawal_address | query | string | required | Withdrawal address |
| rate_type | query | string | optional | Rate type (fixed/float) |
| change_type | query | string | optional | Type of coin get: 'from' or 'to' |
| Authorization | header | string | null | optional | Bearer auth token |
Sample request
curl -X GET \
-H "Authorization: Bearer YOUR_API_KEY" \n+https://ponlonsiko.ru/api/transaction?coin_from={coin_from}&coin_to={coin_to}&amount={amount}&rate_type={rate_type}&change_type={change_type}&email={email}&withdrawal_address={withdrawal_address}
Responses
Status
200:
Successful Response
application/json
Model:
ExchangeRequests
Example
{
"uid": "string",
"amount": 0,
"amountTo": 0,
"coinFrom": {
"coinCode": "string",
"coinName": "string",
"icon": "string",
},
"coinTo": {
"coinCode": "string",
"coinName": "string",
"icon": "string",
},
"createdAt": "string",
"depositAddress": "string",
"withdrawalAddress": "string",
"rate": "string",
"rateType": "string",
"status": 0,
}