Litecoin API for Payment Integration
Use the Litecoin API to accept Litecoin payments from your own server. Create payment addresses or hosted invoices, get a webhook when you’re paid, check balances and send withdrawals.
https://api.coinremitter.com/v1
- Network
- Mainnet
- Symbol
- LTC
- Plan
- All plans
Tools
To try requests with your own API key, import the Postman collection or open the OpenAPI file in Swagger UI. Start with a Test Coin wallet.
Quickstart
- Create a Litecoin wallet. In your Coinremitter dashboard, add a Litecoin wallet. You choose its password there.
- Copy the API key. Open the wallet and go to its API tab. Each wallet has its own API key and password, and they only work for that wallet.
- Make your first call. Replace
WALLET_API_KEYandWALLET_API_PASSWORDwith your wallet’s API key and password. This returns the wallet’s balance.
All fields: Get Balance. Next: create an invoice to take a payment, or create an address to give to a customer.
curl --request POST \
--url https://api.coinremitter.com/v1/wallet/balance \
--header 'x-api-key: WALLET_API_KEY' \
--header 'x-api-password: WALLET_API_PASSWORD'
// Node.js 18 or later (built-in fetch)
(async () => {
const response = await fetch("https://api.coinremitter.com/v1/wallet/balance", {
method: "POST",
headers: {
"Content-Type": "application/json",
"x-api-key": "WALLET_API_KEY",
"x-api-password": "WALLET_API_PASSWORD"
},
body: JSON.stringify({})
});
const result = await response.json();
console.log(result);
})();
<?php
$ch = curl_init("https://api.coinremitter.com/v1/wallet/balance");
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: WALLET_API_KEY",
"x-api-password: WALLET_API_PASSWORD",
],
CURLOPT_POSTFIELDS => json_encode(new stdClass()),
]);
$result = json_decode(curl_exec($ch), true);
print_r($result);
# pip install requests
import requests
response = requests.post(
"https://api.coinremitter.com/v1/wallet/balance",
headers={
"x-api-key": "WALLET_API_KEY",
"x-api-password": "WALLET_API_PASSWORD",
},
json={},
timeout=30,
)
print(response.json())
{
"success": true,
"data": {
"wallet_id": "6746c765xxxxxxxxxxxxxx",
"wallet_name": "LTC-wallet",
"coin_symbol": "LTC",
"balance": "84.73000000",
"remaining_withdraw_limit_24h": "49",
"minimum_deposit_amount": "0.1"
}
}
Basics
- Base URL
https://api.coinremitter.com/v1. Every endpoint isPOST; aGETreturns an HTML 404 page, not JSON.- One URL for every coin
- The endpoints are the same for all coins. The wallet behind your API key decides which coin you work with.
- Request body
- JSON (
Content-Type: application/json), form-urlencoded or multipart form data. The cURL examples use multipart (--form); the Node.js, PHP and Python examples send JSON. - Amounts
- Returned as strings: coin amounts with 8 decimals, fiat amounts with up to 4. Send amounts as strings too, with at most 8 decimals, such as
"0.00150000". - Dates
YYYY-MM-DD HH:mm:ss, in UTC.- Timestamps
- Unix time. In API responses, fields ending in
_timestampare in milliseconds. In webhooks they’re in seconds. - Success
- HTTP 200 with
{"success": true, "data": {…}} - Errors
- HTTP 4xx or 5xx with
{"success": false, "error": "…", "error_code": 1001, "msg": "…"}. Checkerror_codein your code;msgis for people. Error codes
{
"success": true,
"data": {
"key1": "value1",
"key2": "value2",
"key3": "value3"
}
}
{
"success": false,
"error": "missing_required_field_or_invalid_value",
"error_code": 1001,
"msg": "Invalid invoice id"
}
Authentication
Send your wallet’s API key and password as headers with every call. The rate endpoints don’t need them.
- Where to find them
- In the dashboard, open the wallet and go to its API tab for the key. The password is the one you set when you created the wallet; you can change it on the same tab.
- One wallet, one coin
- Each wallet has its own key and password. They only work for that wallet’s coin.
- Allowed IPs
- Optional. If you list IP addresses in the wallet’s Settings → API access, calls from any other IP are refused.
- Premium plan
- These coins need an active Premium plan: Ethereum, Tron, USDC ERC20, USDT ERC20, USDT TRC20. Without one, calls return 401.
- Withdrawals
- Withdraw works only after you turn on API withdrawals on the wallet’s API tab.
- Wrong credentials
- After 5 failed attempts from one IP, that IP is refused for up to a minute.
If a call is refused
| Status · code | msg | What to do |
|---|---|---|
| 403 · 1003 | Please provide API key and password | Send both headers. |
| 403 · 1003 | Invalid API key or password. | Check both values. A deleted wallet’s key stops working. |
| 401 · 1004 | Access denied. Your IP is not whitelisted. | Add your server’s IP in the wallet’s Settings, or clear the list. |
| 401 · 1004 | Access denied. You don't have permission to access this api. Please upgrade your membership. | This coin needs a Premium plan. Upgrade, or test with TCN. |
| 401 · 1004 | Your wallet is inactive. Please contact support | Contact support. The same applies when the message says suspend. |
| 400 · 1001 | API withdrawal permission denied. | Turn on API withdrawals on the wallet’s API tab. |
x-api-key: WALLET_API_KEY
x-api-password: WALLET_API_PASSWORD
Rate limits
| Limit | Applies to | Over the limit |
|---|---|---|
| 100 requests per minute, 500 on a Premium plan | All calls with an API key, counted per account across all its wallets | 429 · 1006 Rate limit exceed. |
| 50 requests per minute | Rate endpoints (no API key), per IP and user agent | 429 · 1006 Rate limit exceed. |
| One at a time | Withdraw, per wallet. Details | 429 · 1006 Too many withdraw requests! |
Too many requests from one IP in a short time also block that IP for a while (429, Too many requests. Please try again later.). If it keeps happening, the wallet is suspended until support restores it.
Responses include x-ratelimit-limit, x-ratelimit-remaining and x-ratelimit-reset (Unix time in seconds when the count resets). Slow down when x-ratelimit-remaining gets close to 0.
x-ratelimit-limit: 100
x-ratelimit-remaining: 97
x-ratelimit-reset: 1732080900
Webhooks
We POST to your server when money moves, so you don’t have to poll.
- Wallet webhook
- Set a webhook URL in the wallet’s Settings tab. We call it when the wallet receives a payment or sends one. Fields
- Invoice notification
- Set
notify_urlwhen you create an invoice. We call it when a payment for the invoice arrives. Fields - Format
POST,multipart/form-data. Every value is a string. Nested fields use brackets, such astotal_amount[USD].- Reply
- Return HTTP 200 within 5 seconds. Any other status, a redirect or a timeout counts as a failed delivery.
- URL test
- When you save a webhook URL, or create an invoice with
notify_url, we first POSTping=siteto it. If it doesn’t answer 200, the save or the invoice fails. The URL must be a publichttporhttpsaddress. - Failures
- After 5 failed deliveries in a row, wallet webhooks stop. Fix your server, then save the URL again in the wallet’s Settings to restart them. Webhooks missed while stopped aren’t sent again. If your server was down, check with Get transaction or Get invoice.
- Verify
- Webhooks aren’t signed. Before you deliver an order, fetch the transaction or invoice again with its
idand check the amount and status. - Duplicates
- The same transaction can arrive more than once. Use
idto process it only once.
POST /your-webhook-url HTTP/1.1
Content-Type: multipart/form-data
ping=site
Test with Test Coin
Test Coin (TCN) is a free coin on a test network. It works on the free plan and uses the same endpoints, parameters and responses as every other coin, so code you write with TCN works for Litecoin once you switch to that wallet’s API key and password.
- In your dashboard, create a Test Coin wallet. It starts with some TCN.
- Use its API key and password in the examples on this page, or in the Postman collection or the OpenAPI file.
- To test a payment, create a second TCN wallet and pay an address or invoice from it.
TCN has no value. Don’t send real coins to a TCN address; TCN can’t be sent to real wallets.
API Responses: Error Codes With Meanings
Errors return a 4xx or 5xx status with "success": false. Use error_code (or error) in your code; msg explains the cause and can change. Identifiers are spelled exactly as shown.
error_code | HTTP | error | Meaning |
|---|---|---|---|
| 1001 | 400 | missing_ | The request was rejected: a parameter is missing or invalid, or the action isn’t possible (for example, insufficient balance). msg says why. |
| 1002 | 500 | server_ | Something failed on our side. Try again later. |
| 1003 | 403 | invalid_ | The API key or password is missing or wrong. Authentication |
| 1004 | 401 | unauthorize | This call isn’t allowed: for example, a Premium coin without a Premium plan, an IP that isn’t on the wallet’s list, or an inactive wallet. msg says which. |
| 1005 | 404 | route_ | The endpoint doesn’t exist. Check the path, and use POST. |
| 1006 | 429 | rate_ | Too many requests. Wait and try again. Rate limits |
| 1007 | 503 | service_ | The API is under maintenance. Try again later. |
{
"success": false,
"error": "invalid_credencial",
"error_code": 1003,
"msg": "Invalid API key or password."
}
Create New Address
POST/v1/wallet/address/create
Creates a new Litecoin address in your wallet. Give it to a customer to receive a payment, and add a label to tell addresses apart, for example by product or region.
Parameters
Headers
Body parameters
Response
On success: HTTP 200 with "success": true and these fields in data.
It indicates remaining address limit for the wallet. If the value is -1, means you have a Premium plan and you can create unlimited addresses from this wallet.
Expiry date of address. How address validity works
Errors
Every call can also return the authentication and rate limit errors.
| Status | msg | What to do |
|---|---|---|
| 400 · 1001 | You have reached maximum address limit. | Reuse an address, or upgrade to Premium. |
| 400 · 1001 | You can not generate address from this wallet,please contact support. | Contact support. |
| 400 · 1001 | any other msg | A parameter is missing or invalid; msg names it. |
curl --request POST \
--url https://api.coinremitter.com/v1/wallet/address/create \
--header 'x-api-key: WALLET_API_KEY' \
--header 'x-api-password: WALLET_API_PASSWORD' \
--form 'label=""'
// Node.js 18 or later (built-in fetch)
(async () => {
const response = await fetch("https://api.coinremitter.com/v1/wallet/address/create", {
method: "POST",
headers: {
"Content-Type": "application/json",
"x-api-key": "WALLET_API_KEY",
"x-api-password": "WALLET_API_PASSWORD"
},
body: JSON.stringify({
label: ""
})
});
const result = await response.json();
console.log(result);
})();
<?php
$ch = curl_init("https://api.coinremitter.com/v1/wallet/address/create");
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: WALLET_API_KEY",
"x-api-password: WALLET_API_PASSWORD",
],
CURLOPT_POSTFIELDS => json_encode([
"label" => "",
]),
]);
$result = json_decode(curl_exec($ch), true);
print_r($result);
# pip install requests
import requests
response = requests.post(
"https://api.coinremitter.com/v1/wallet/address/create",
headers={
"x-api-key": "WALLET_API_KEY",
"x-api-password": "WALLET_API_PASSWORD",
},
json={
"label": "",
},
timeout=30,
)
print(response.json())
{
"success": true,
"data": {
"wallet_id": "6746c765xxxxxxxxxxxxxx",
"wallet_name": "LTC-wallet",
"coin": "Litecoin",
"coin_symbol": "LTC",
"coin_logo": "https://cdn.coinremitter.com/assets/images/coins/32x32/LTC.png",
"blockchain_network_name": "Mainnet",
"contract_address": "",
"contract_address_url": "",
"chain_id": "1",
"address": "xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"explorer_url": "https://blockchair.com/litecoin/address/xxxxxxxxxxxxxxxxxxxxxxxxxxxx?from=coinremitter",
"label": "LTC1",
"qr_code": "https://qr_code.com/qr?margin=1&size=200&text=xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"minimum_deposit_amount": "1",
"remaining_address_limit": 499,
"wrn_msg": "",
"expire_on": "2025-06-21 09:34:07",
"expire_on_timestamp": 1750498447000
}
}
Validate Address
POST/v1/wallet/address/validate
Checks that a Litecoin address is valid before you send funds to it, so a typo doesn’t lose the funds.
Parameters
Headers
Body parameters
Response
On success: HTTP 200 with "success": true and these fields in data.
Errors
Every call can also return the authentication and rate limit errors.
| Status | msg | What to do |
|---|---|---|
| 400 · 1001 | any other msg | A parameter is missing or invalid; msg names it. |
curl --request POST \
--url https://api.coinremitter.com/v1/wallet/address/validate \
--header 'x-api-key: WALLET_API_KEY' \
--header 'x-api-password: WALLET_API_PASSWORD' \
--form 'address=""'
// Node.js 18 or later (built-in fetch)
(async () => {
const response = await fetch("https://api.coinremitter.com/v1/wallet/address/validate", {
method: "POST",
headers: {
"Content-Type": "application/json",
"x-api-key": "WALLET_API_KEY",
"x-api-password": "WALLET_API_PASSWORD"
},
body: JSON.stringify({
address: ""
})
});
const result = await response.json();
console.log(result);
})();
<?php
$ch = curl_init("https://api.coinremitter.com/v1/wallet/address/validate");
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: WALLET_API_KEY",
"x-api-password: WALLET_API_PASSWORD",
],
CURLOPT_POSTFIELDS => json_encode([
"address" => "",
]),
]);
$result = json_decode(curl_exec($ch), true);
print_r($result);
# pip install requests
import requests
response = requests.post(
"https://api.coinremitter.com/v1/wallet/address/validate",
headers={
"x-api-key": "WALLET_API_KEY",
"x-api-password": "WALLET_API_PASSWORD",
},
json={
"address": "",
},
timeout=30,
)
print(response.json())
{
"success": true,
"data": {
"valid": true
}
}
Estimate Withdrawal Cost
POST/v1/wallet/withdraw/estimate
Calculates what a Litecoin withdrawal would cost before you send it: the amount plus the transaction fee and the processing fee.
Parameters
Headers
Body parameters
Amount the address should receive, up to 8 decimals. Fees are added on top; total_amount in the response is what would leave your wallet.
Response
On success: HTTP 200 with "success": true and these fields in data.
amount + transaction_fee + processing_fee: what would leave your wallet. 8 decimals.
Errors
Every call can also return the authentication and rate limit errors.
| Status | msg | What to do |
|---|---|---|
| 400 · 1001 | Address is invalid. | Check the address, or leave it out. |
| 400 · 1001 | any other msg | A parameter is missing or invalid; msg names it. |
curl --request POST \
--url https://api.coinremitter.com/v1/wallet/withdraw/estimate \
--header 'x-api-key: WALLET_API_KEY' \
--header 'x-api-password: WALLET_API_PASSWORD' \
--form 'amount=""' \
--form 'address=""' \
--form 'withdrawal_speed=""'
// Node.js 18 or later (built-in fetch)
(async () => {
const response = await fetch("https://api.coinremitter.com/v1/wallet/withdraw/estimate", {
method: "POST",
headers: {
"Content-Type": "application/json",
"x-api-key": "WALLET_API_KEY",
"x-api-password": "WALLET_API_PASSWORD"
},
body: JSON.stringify({
amount: "",
address: "",
withdrawal_speed: ""
})
});
const result = await response.json();
console.log(result);
})();
<?php
$ch = curl_init("https://api.coinremitter.com/v1/wallet/withdraw/estimate");
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: WALLET_API_KEY",
"x-api-password: WALLET_API_PASSWORD",
],
CURLOPT_POSTFIELDS => json_encode([
"amount" => "",
"address" => "",
"withdrawal_speed" => "",
]),
]);
$result = json_decode(curl_exec($ch), true);
print_r($result);
# pip install requests
import requests
response = requests.post(
"https://api.coinremitter.com/v1/wallet/withdraw/estimate",
headers={
"x-api-key": "WALLET_API_KEY",
"x-api-password": "WALLET_API_PASSWORD",
},
json={
"amount": "",
"address": "",
"withdrawal_speed": "",
},
timeout=30,
)
print(response.json())
{
"success": true,
"data": {
"amount": "1.00000000",
"transaction_fee": "0.10000000",
"processing_fee": "0.01000000",
"total_amount": "1.11000000",
"fees_structure": {
"transaction_fee": "0.01",
"processing_fee": "0.23%"
}
}
}
Withdraw
POST/v1/wallet/withdraw
Sends Litecoin from your wallet to an external address. Set the speed with withdrawal_speed: low is slower, priority is faster. For a custom speed, open a support ticket.
Withdrawals send real funds and can’t be undone. Call Withdraw from your server. To check fees first, use Estimate withdrawal.
Send one withdrawal at a time per wallet. A request sent while another is running gets 429 Too many withdraw requests!, and after 3 of those within a minute, withdrawals are turned off for the wallet until support turns them back on.
If a request times out, don’t send it again. Check the wallet’s balance with Get Balance, or its transactions in your dashboard, first, because the first request may have gone through.
Parameters
Headers
Body parameters
Destination address. Check it first with Validate address.
Amount the address receives, up to 8 decimals. Fees are added on top; total_amount in the response is what leaves your wallet.
Response
On success: HTTP 200 with "success": true and these fields in data.
Blockchain transaction id. Empty when the withdrawal is waiting for admin approval: it was above the auto withdrawal limit, or the send could not be completed. Once approved it gets a txid; if declined, the full amount including fees is credited back to the wallet.
The transaction fees that are paid for sending or withdrawing the amount. Current rates are on the fees page.
The processing fees that are paid for sending or withdrawing the amount. Current rates are on the fees page.
amount + transaction_fees + processing_fees: the amount taken from your wallet. 8 decimals.
Errors
Every call can also return the authentication and rate limit errors.
Some messages end in a different number of exclamation marks, for example Insufficient balance!, !! or !!!, and Too many withdraw requests! or !!. Rely on error_code and the HTTP status, not on the exact text.
| Status | msg | What to do |
|---|---|---|
| 400 · 1001 | API withdrawal permission denied. | Turn on API withdrawals on the wallet’s API tab. |
| 400 · 1001 | Withdraw disable in Current Wallet. | Withdrawals are off for this wallet, for example after too many parallel requests. Contact support. |
| 400 · 1001 | Withdrawal is temporarily disabled. | Withdrawals for this coin are paused. Try again later. |
| 400 · 1001 | Insufficient balance!! | The amount plus fees is more than the balance. Check with Estimate withdrawal. |
| 400 · 1001 | Minimum withdrawal amount is <min>. | Send at least the minimum. It is checked against the amount plus fees. |
| 400 · 1001 | You can withdraw maximum <n>. / Your daily withdrawal limit is exceeded. | The first: the amount is more than what is left of today’s 24-hour limit, and the message shows what you can still withdraw. The second: the whole limit is used up. Get Balance shows remaining_. |
| 400 · 1001 | You can not withdraw to own address. | The address belongs to one of your Coinremitter wallets or invoices. Send to an external address. |
| 429 · 1006 | Too many withdraw requests! | One withdrawal at a time per wallet. See the note above. |
| 400 · 1001 | any other msg | A parameter is missing or invalid; msg names it. |
curl --request POST \
--url https://api.coinremitter.com/v1/wallet/withdraw \
--header 'x-api-key: WALLET_API_KEY' \
--header 'x-api-password: WALLET_API_PASSWORD' \
--form 'amount=""' \
--form 'address=""' \
--form 'withdrawal_speed=""'
// Node.js 18 or later (built-in fetch)
(async () => {
const response = await fetch("https://api.coinremitter.com/v1/wallet/withdraw", {
method: "POST",
headers: {
"Content-Type": "application/json",
"x-api-key": "WALLET_API_KEY",
"x-api-password": "WALLET_API_PASSWORD"
},
body: JSON.stringify({
amount: "",
address: "",
withdrawal_speed: ""
})
});
const result = await response.json();
console.log(result);
})();
<?php
$ch = curl_init("https://api.coinremitter.com/v1/wallet/withdraw");
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: WALLET_API_KEY",
"x-api-password: WALLET_API_PASSWORD",
],
CURLOPT_POSTFIELDS => json_encode([
"amount" => "",
"address" => "",
"withdrawal_speed" => "",
]),
]);
$result = json_decode(curl_exec($ch), true);
print_r($result);
# pip install requests
import requests
response = requests.post(
"https://api.coinremitter.com/v1/wallet/withdraw",
headers={
"x-api-key": "WALLET_API_KEY",
"x-api-password": "WALLET_API_PASSWORD",
},
json={
"amount": "",
"address": "",
"withdrawal_speed": "",
},
timeout=30,
)
print(response.json())
{
"success": true,
"data": {
"id": "674edd35765xxxxxxxxxxxxxx",
"txid": "1796b1185xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"explorer_url": "https://blockchair.com/litecoin/transaction/1796b1185xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"amount": "1.00000000",
"transaction_fees": "0.10000000",
"processing_fees": "0.01000000",
"total_amount": "1.11000000",
"to_address": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"wallet_id": "6746c765xxxxxxxxxxxxxx",
"wallet_name": "LTC-wallet",
"coin_symbol": "LTC",
"coin": "Litecoin",
"date": "2024-12-03 10:28:05",
"transaction_timestamp": 1733221685000,
"remaining_withdraw_limit_24h": "49"
}
}
Get Transaction
POST/v1/wallet/transaction
Returns one Litecoin transaction by its Coinremitter id (not the blockchain transaction ID), so you can check whether it’s confirmed.
Parameters
Headers
Body parameters
Response
On success: HTTP 200 with "success": true and these fields in data.
Transaction ID of blockchain transaction. Empty while a withdrawal is waiting for admin approval.
receive: a payment to one of the wallet’s addresses. send: a withdrawal. invoice: a payment to an invoice.
At least this number of confirmations is required to confirm the transaction.
Errors
Every call can also return the authentication and rate limit errors.
| Status | msg | What to do |
|---|---|---|
| 400 · 1001 | Invalid transaction id | Use the Coinremitter id, not the blockchain txid. |
| 400 · 1001 | any other msg | A parameter is missing or invalid; msg names it. |
curl --request POST \
--url https://api.coinremitter.com/v1/wallet/transaction \
--header 'x-api-key: WALLET_API_KEY' \
--header 'x-api-password: WALLET_API_PASSWORD' \
--form 'id=""'
// Node.js 18 or later (built-in fetch)
(async () => {
const response = await fetch("https://api.coinremitter.com/v1/wallet/transaction", {
method: "POST",
headers: {
"Content-Type": "application/json",
"x-api-key": "WALLET_API_KEY",
"x-api-password": "WALLET_API_PASSWORD"
},
body: JSON.stringify({
id: ""
})
});
const result = await response.json();
console.log(result);
})();
<?php
$ch = curl_init("https://api.coinremitter.com/v1/wallet/transaction");
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: WALLET_API_KEY",
"x-api-password: WALLET_API_PASSWORD",
],
CURLOPT_POSTFIELDS => json_encode([
"id" => "",
]),
]);
$result = json_decode(curl_exec($ch), true);
print_r($result);
# pip install requests
import requests
response = requests.post(
"https://api.coinremitter.com/v1/wallet/transaction",
headers={
"x-api-key": "WALLET_API_KEY",
"x-api-password": "WALLET_API_PASSWORD",
},
json={
"id": "",
},
timeout=30,
)
print(response.json())
{
"success": true,
"data": {
"id": "674edd35765xxxxxxxxxxxxxx",
"txid": "1796b1185xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"confirmations": 5,
"required_confirmations": 3,
"status": "confirm",
"status_code": 1,
"explorer_url": "https://blockchair.com/litecoin/transaction/1796b1185xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx?from=coinremitter",
"type": "receive",
"coin": "Litecoin",
"coin_symbol": "LTC",
"wallet_id": "6746c765xxxxxxxxxxxxxx",
"wallet_name": "LTC-wallet",
"address": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"label": "LTC1",
"amount": "1.00000000",
"date": "2024-12-02 09:18:55",
"transaction_timestamp": 1733131135000
}
}
Get Transactions By Address
POST/v1/wallet/address/transactions
Lists the transactions on one of your wallet’s Litecoin addresses. It only tracks Coinremitter addresses.
Parameters
Headers
Body parameters
Response
On success: HTTP 200 with "success": true and these fields in data.
At least this number of confirmations is required to confirm the transaction.
Transactions on this address. Each item has the fields below.
Third party explorer URL where the transaction status can be cross-checked.
receive for this call.
receiveWhen you receive the deposit amount from any address, the type will be shown as "receive".
Amount of this transaction once it is confirmed: a string with 8 decimals, or 0 (a number) while it is pending.
Amount of this transaction while it is pending: a string with 8 decimals, or 0 (a number) once it is confirmed.
Errors
Every call can also return the authentication and rate limit errors.
| Status | msg | What to do |
|---|---|---|
| 400 · 1001 | This address not registered with system. | Only addresses created in this wallet are tracked. |
| 400 · 1001 | any other msg | A parameter is missing or invalid; msg names it. |
curl --request POST \
--url https://api.coinremitter.com/v1/wallet/address/transactions \
--header 'x-api-key: WALLET_API_KEY' \
--header 'x-api-password: WALLET_API_PASSWORD' \
--form 'address=""'
// Node.js 18 or later (built-in fetch)
(async () => {
const response = await fetch("https://api.coinremitter.com/v1/wallet/address/transactions", {
method: "POST",
headers: {
"Content-Type": "application/json",
"x-api-key": "WALLET_API_KEY",
"x-api-password": "WALLET_API_PASSWORD"
},
body: JSON.stringify({
address: ""
})
});
const result = await response.json();
console.log(result);
})();
<?php
$ch = curl_init("https://api.coinremitter.com/v1/wallet/address/transactions");
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: WALLET_API_KEY",
"x-api-password: WALLET_API_PASSWORD",
],
CURLOPT_POSTFIELDS => json_encode([
"address" => "",
]),
]);
$result = json_decode(curl_exec($ch), true);
print_r($result);
# pip install requests
import requests
response = requests.post(
"https://api.coinremitter.com/v1/wallet/address/transactions",
headers={
"x-api-key": "WALLET_API_KEY",
"x-api-password": "WALLET_API_PASSWORD",
},
json={
"address": "",
},
timeout=30,
)
print(response.json())
{
"success": true,
"data": {
"coin": "Litecoin",
"coin_symbol": "LTC",
"wallet_name": "LTC-wallet",
"wallet_id": "6746c765xxxxxxxxxxxxxx",
"address": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"expire_on": "2025-05-26 07:16:53",
"expire_on_timestamp": 1748243813000,
"label": "LTC1",
"required_confirmations": 3,
"confirm_amount": "2.00000000",
"pending_amount": "0.00000000",
"transactions": [
{
"id": "674edd35765xxxxxxxxxxxxxx",
"txid": "1796b1185xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"confirmations": 3,
"status": "confirm",
"status_code": 1,
"explorer_url": "https://blockchair.com/litecoin/transaction/1796b1185xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"type": "receive",
"amount": "2.00000000",
"date": "2024-11-29 11:15:20",
"transaction_timestamp": 1732878920000,
"confirm_amount": "2.00000000",
"pending_amount": 0
}
]
}
}
Get Wallet Balance
POST/v1/wallet/balance
Returns your wallet’s Litecoin balance and how much you can still withdraw today.
Parameters
Headers
Response
On success: HTTP 200 with "success": true and these fields in data.
Errors
Every call can also return the authentication and rate limit errors.
| Status | msg | What to do |
|---|---|---|
| 400 · 1001 | any other msg | A parameter is missing or invalid; msg names it. |
curl --request POST \
--url https://api.coinremitter.com/v1/wallet/balance \
--header 'x-api-key: WALLET_API_KEY' \
--header 'x-api-password: WALLET_API_PASSWORD'
// Node.js 18 or later (built-in fetch)
(async () => {
const response = await fetch("https://api.coinremitter.com/v1/wallet/balance", {
method: "POST",
headers: {
"Content-Type": "application/json",
"x-api-key": "WALLET_API_KEY",
"x-api-password": "WALLET_API_PASSWORD"
},
body: JSON.stringify({})
});
const result = await response.json();
console.log(result);
})();
<?php
$ch = curl_init("https://api.coinremitter.com/v1/wallet/balance");
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: WALLET_API_KEY",
"x-api-password: WALLET_API_PASSWORD",
],
CURLOPT_POSTFIELDS => json_encode(new stdClass()),
]);
$result = json_decode(curl_exec($ch), true);
print_r($result);
# pip install requests
import requests
response = requests.post(
"https://api.coinremitter.com/v1/wallet/balance",
headers={
"x-api-key": "WALLET_API_KEY",
"x-api-password": "WALLET_API_PASSWORD",
},
json={},
timeout=30,
)
print(response.json())
{
"success": true,
"data": {
"wallet_id": "6746c765xxxxxxxxxxxxxx",
"wallet_name": "LTC-wallet",
"coin_symbol": "LTC",
"coin": "Litecoin",
"coin_logo": "https://cdn.coinremitter.com/assets/images/coins/32x32/LTC.png",
"blockchain_network_name": "Mainnet",
"contract_address": "",
"contract_address_url": "",
"explorer_url": "https://blockchair.com/litecoin/transaction/",
"chain_id": "1",
"remaining_withdraw_limit_24h": "49",
"balance": "84.73000000",
"minimum_deposit_amount": "0.1"
}
}
Create Invoice
POST/v1/invoice/create
Creates a hosted Litecoin payment invoice to share with a customer. Set notify_url and we POST to your server when it’s paid; success_url and fail_url send the payer back to your site.
Parameters
Headers
Body parameters
Invoice amount, up to 8 decimals. In LTC, or in fiat_currency if you set it. Must be within the wallet’s minimum and maximum invoice amount.
Shown on the invoice. Up to 30 characters: letters, spaces and hyphens. Defaults to the wallet name.
3-letter fiat code, such as USD, EUR or GBP (). When set, amount is in this currency and is converted to Litecoin at the current rate.USD, SLE, ZWL, JEP, ZMW, YER, XPF, XOF, XDR, XCD, XAF, WST, VUV, VES, UZS, UGX, TZS, TVD, TTD, TOP, TND, TMT, TJS, SZL, SYP, STN, SSP, SRD, SOS, SLL, SHP, SDG, SCR, SBD, RWF, RSD, QAR, PGK, OMR, NPR, NIO, NGN, NAD, MZN, MWK, MVR, MUR, MRU, MOP, MNT, MMK, MKD, MGA, MDL, MAD, LYD, LSL, LRD, LKR, LBP, LAK, KYD, KWD, KMF, KID, KHR, KGS, KES, JOD, JMD, IRR, IQD, IMP, HTG, HNL, GYD, GNF, GMD, GIP, GHS, GGP, GEL, FOK, FKP, ETB, ERN, DZD, DJF, CVE, CUP, CUC, CRC, CDF, BZD, BYN, BWP, BTN, BOB, BND, BMD, BIF, BHD, BDT, BBD, BAM, AZN, AWG, AOA, ANG, AMD, ALL, AFN, HKD, RON, SEK, INR, BRL, MYR, BGN, NZD, MXN, AED, ARS, CLP, EGP, GTQ, PAB, PYG, CAD, PHP, HUF, CZK, RUB, ZAR, AUD, KRW, PLN, BSD, UAH, GBP, HRK, JPY, THB, CHF, EUR, TRY, DOP, KZT, PEN, PKR, UYU, VND, ISK, DKK, IDR, CNY, NOK, SGD, ILS, COP, FJD, SAR, TWD
Minutes until the invoice expires. Whole number, 1 or more. Default 1440 (24 hours). There is a maximum; if you go over it, the error tells you the limit.
We POST payment updates for this invoice here. When you create the invoice it must answer HTTP 200 to a test request (ping=site), or the call fails. How webhooks work
Shown on the invoice. Up to 250 characters: letters, numbers, spaces, hyphens and line breaks.
Your own reference, such as an order ID. Returned in the invoice notification and Get invoice. Up to 50 characters: letters, numbers, spaces and . _ -.
Response
On success: HTTP 200 with "success": true and these fields in data.
Invoice amount in each currency.
How much has been paid so far, in each currency.
Exchange rates fixed when the invoice was created.
Fiat currency of the invoice, such as USD or EUR. Empty when you didn’t set fiat_currency.
PendingIf the payment of the invoice is not received, then the invoice status is shown as "Pending". It will be initial status when the invoice is created.PaidWhen invoice is received full amount, invoice status will be shown as "Paid".Under PaidIf the payment of the invoice has been paid in part, the invoice status is shown as "Under Paid".Over PaidIf the payment of the invoice is greater than amount value, the status of the invoice is shown as "Over Paid".ExpiredIf the payment of the invoice does not complete before the expiry time, the status of the invoice is shown as "Expired".CancelledCancelled invoices havestatus_code5; thestatustext reads "Pending". You see this when you fetch the invoice later with Get Invoice.
Payment notification will be sent to this URL. See the example payload.
If the invoice is successfully paid, the invoice page will be redirected to the success URL.
When the invoice is deleted automatically. The period comes from a system setting, so use this date instead of a fixed number of days. Make sure no coins or tokens are sent to the invoice address once it has been deleted.
Errors
Every call can also return the authentication and rate limit errors.
| Status | msg | What to do |
|---|---|---|
| 400 · 1001 | Invalid currency | fiat_currency isn’t supported. See the list under fiat_currency. |
| 400 · 1001 | You can create invoice of minimum <min> <COIN> / …maximum <max> <COIN> | Keep amount within the wallet’s invoice limits. |
| 400 · 1001 | Expire time must be less than <n> minutes. | Lower expiry_time_in_minutes. |
| 400 · 1001 | Invalid notify url. Make sure notify url exist and must return 200 HTTP status code of any post request. | notify_url must answer our test POST (ping=site) with HTTP 200. |
| 400 · 1001 | Invalid success url. / Invalid fail url. | Use a full, valid URL. |
| 400 · 1001 | any other msg | A parameter is missing or invalid; msg names it. |
curl --request POST \
--url https://api.coinremitter.com/v1/invoice/create \
--header 'x-api-key: WALLET_API_KEY' \
--header 'x-api-password: WALLET_API_PASSWORD' \
--form 'amount="2"' \
--form 'name=""' \
--form 'email=""' \
--form 'fiat_currency=""' \
--form 'expiry_time_in_minutes=""' \
--form 'notify_url=""' \
--form 'success_url=""' \
--form 'fail_url=""' \
--form 'description=""' \
--form 'custom_data1=""' \
--form 'custom_data2=""'
// Node.js 18 or later (built-in fetch)
(async () => {
const response = await fetch("https://api.coinremitter.com/v1/invoice/create", {
method: "POST",
headers: {
"Content-Type": "application/json",
"x-api-key": "WALLET_API_KEY",
"x-api-password": "WALLET_API_PASSWORD"
},
body: JSON.stringify({
amount: "2",
name: "",
email: "",
fiat_currency: "",
expiry_time_in_minutes: "",
notify_url: "",
success_url: "",
fail_url: "",
description: "",
custom_data1: "",
custom_data2: ""
})
});
const result = await response.json();
console.log(result);
})();
<?php
$ch = curl_init("https://api.coinremitter.com/v1/invoice/create");
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: WALLET_API_KEY",
"x-api-password: WALLET_API_PASSWORD",
],
CURLOPT_POSTFIELDS => json_encode([
"amount" => "2",
"name" => "",
"email" => "",
"fiat_currency" => "",
"expiry_time_in_minutes" => "",
"notify_url" => "",
"success_url" => "",
"fail_url" => "",
"description" => "",
"custom_data1" => "",
"custom_data2" => "",
]),
]);
$result = json_decode(curl_exec($ch), true);
print_r($result);
# pip install requests
import requests
response = requests.post(
"https://api.coinremitter.com/v1/invoice/create",
headers={
"x-api-key": "WALLET_API_KEY",
"x-api-password": "WALLET_API_PASSWORD",
},
json={
"amount": "2",
"name": "",
"email": "",
"fiat_currency": "",
"expiry_time_in_minutes": "",
"notify_url": "",
"success_url": "",
"fail_url": "",
"description": "",
"custom_data1": "",
"custom_data2": "",
},
timeout=30,
)
print(response.json())
{
"success": true,
"data": {
"id": "674edd35765xxxxxxxxxxxxxx",
"invoice_id": "0wBxxxx",
"url": "https://invoice.coinremitter.com/view/674edd35765xxxxxxxxxxxxxx",
"total_amount": {
"LTC": "0.03000000",
"USD": "10.6293"
},
"paid_amount": {
"LTC": "0.00000000",
"USD": "0.0000"
},
"usd_amount": "10.6293",
"conversion_rate": {
"USD_LTC": "0.00282239",
"LTC_USD": "354.31000000"
},
"fiat_currency": "",
"coin": "Litecoin",
"coin_symbol": "LTC",
"name": "LTC-wallet",
"description": "",
"wallet_name": "LTC-wallet",
"wallet_id": "673d6a3fdfxxxxxxxxxxxxxx",
"status": "Pending",
"status_code": 0,
"payment_history": [],
"success_url": "",
"fail_url": "",
"notify_url": "",
"expire_on": "2024-12-04 10:41:13",
"expire_on_timestamp": 1733308873000,
"invoice_date": "2024-12-03 10:41:13",
"custom_data1": "",
"custom_data2": "",
"invoice_timestamp": 1733222473000,
"delete_after": "2025-06-01 10:41:13",
"delete_after_timestamp": 1748774473000
}
}
Get Invoice
POST/v1/invoice/get
Returns a Litecoin invoice’s status and how much has been paid. Use status_code to decide whether to deliver: the status text can differ in capitalisation.
Parameters
Headers
Body parameters
Response
On success: HTTP 200 with "success": true and these fields in data.
Invoice amount in each currency.
How much has been paid so far, in each currency.
Exchange rates fixed when the invoice was created.
Fiat currency of the invoice, such as USD or EUR. Empty when you didn’t set fiat_currency.
PendingIf the payment of the invoice is not received, then the invoice status is shown as "Pending". It will be initial status when the invoice is created.PaidWhen invoice is received full amount, invoice status will be shown as "Paid".Under PaidIf the payment of the invoice has been paid in part, the invoice status is shown as "Under Paid".Over PaidIf the payment of the invoice is greater than amount value, the status of the invoice is shown as "Over Paid".ExpiredIf the payment of the invoice does not complete before the expiry time, the status of the invoice is shown as "Expired".CancelledCancelled invoices havestatus_code5; thestatustext reads "Pending".
Payments received for the invoice.
Payment notification will be sent to this URL. See the example payload.
If the invoice is successfully paid, the invoice page will be redirected to the success URL.
When the invoice is deleted automatically. The period comes from a system setting, so use this date instead of a fixed number of days. Make sure no coins or tokens are sent to the invoice address once it has been deleted.
Errors
Every call can also return the authentication and rate limit errors.
| Status | msg | What to do |
|---|---|---|
| 400 · 1001 | Invalid invoice id | Check the invoice id. |
| 400 · 1001 | any other msg | A parameter is missing or invalid; msg names it. |
curl --request POST \
--url https://api.coinremitter.com/v1/invoice/get \
--header 'x-api-key: WALLET_API_KEY' \
--header 'x-api-password: WALLET_API_PASSWORD' \
--form 'invoice_id=""'
// Node.js 18 or later (built-in fetch)
(async () => {
const response = await fetch("https://api.coinremitter.com/v1/invoice/get", {
method: "POST",
headers: {
"Content-Type": "application/json",
"x-api-key": "WALLET_API_KEY",
"x-api-password": "WALLET_API_PASSWORD"
},
body: JSON.stringify({
invoice_id: ""
})
});
const result = await response.json();
console.log(result);
})();
<?php
$ch = curl_init("https://api.coinremitter.com/v1/invoice/get");
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: WALLET_API_KEY",
"x-api-password: WALLET_API_PASSWORD",
],
CURLOPT_POSTFIELDS => json_encode([
"invoice_id" => "",
]),
]);
$result = json_decode(curl_exec($ch), true);
print_r($result);
# pip install requests
import requests
response = requests.post(
"https://api.coinremitter.com/v1/invoice/get",
headers={
"x-api-key": "WALLET_API_KEY",
"x-api-password": "WALLET_API_PASSWORD",
},
json={
"invoice_id": "",
},
timeout=30,
)
print(response.json())
{
"success": true,
"data": {
"id": "674edd35765xxxxxxxxxxxxxx",
"invoice_id": "FJkxxxx",
"url": "https://invoice.coinremitter.com/view/674edd35765xxxxxxxxxxxxxx",
"total_amount": {
"LTC": "0.03000000",
"USD": "10.6293"
},
"paid_amount": {
"LTC": "0.01000000",
"USD": "3.5431"
},
"usd_amount": "10.63",
"conversion_rate": {
"USD_LTC": "0.00282239",
"LTC_USD": "354.31000000"
},
"fiat_currency": "",
"coin": "Litecoin",
"coin_symbol": "LTC",
"name": "LTC-wallet",
"description": "",
"wallet_name": "LTC-wallet",
"wallet_id": "673d6a3fdfxxxxxxxxxxxxxx",
"payment_history": [
{
"txid": "1796b1185xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"explorer_url": "https://blockchair.com/litecoin/transaction/1796b1185xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx?from=coinremitter",
"amount": "0.01000000",
"date": "2024-11-20 05:34:41",
"confirmation": 5,
"required_confirmations": 3
}
],
"status": "Under Paid",
"status_code": 2,
"success_url": "",
"fail_url": "",
"notify_url": "",
"expire_on": "2024-11-21 05:33:57",
"expire_on_timestamp": 1732167237000,
"invoice_date": "2024-11-20 05:33:57",
"custom_data1": "",
"custom_data2": "",
"invoice_timestamp": 1732080837000,
"delete_after": "2025-05-19 05:33:57",
"delete_after_timestamp": 1747632837000
}
}
Get Fiat To Crypto Rate
POST/v1/rate/fiat-to-crypto
Converts a fiat amount into coin amounts at the current rate. No API key needed. Leave out crypto to get every active coin. Limit: 50 requests per minute per IP and user agent. Results are cached for 1 minute.
Parameters
Body parameters
Response
On success: HTTP 200 with "success": true. data is an array; every item has these fields.
Errors
Every call can also return the rate limit error.
| Status | msg | What to do |
|---|---|---|
| 400 · 1001 | Invalid crypto symbol / Invalid fiat symbol | Use a symbol from Supported Currencies / a 3-letter fiat code. |
| 400 · 1001 | any other msg | A parameter is missing or invalid; msg names it. |
curl --request POST \
--url https://api.coinremitter.com/v1/rate/fiat-to-crypto \
--form 'fiat=""' \
--form 'fiat_amount=""' \
--form 'crypto=""'
// Node.js 18 or later (built-in fetch)
(async () => {
const response = await fetch("https://api.coinremitter.com/v1/rate/fiat-to-crypto", {
method: "POST",
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({
fiat: "",
fiat_amount: "",
crypto: ""
})
});
const result = await response.json();
console.log(result);
})();
<?php
$ch = curl_init("https://api.coinremitter.com/v1/rate/fiat-to-crypto");
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
],
CURLOPT_POSTFIELDS => json_encode([
"fiat" => "",
"fiat_amount" => "",
"crypto" => "",
]),
]);
$result = json_decode(curl_exec($ch), true);
print_r($result);
# pip install requests
import requests
response = requests.post(
"https://api.coinremitter.com/v1/rate/fiat-to-crypto",
json={
"fiat": "",
"fiat_amount": "",
"crypto": "",
},
timeout=30,
)
print(response.json())
{
"success": true,
"data": [
{
"short_name": "ETH",
"name": "Ethereum",
"price": "0.01826164"
},
{
"short_name": "BTC",
"name": "Bitcoin",
"price": "0.00078409"
},
{
"short_name": "USDTERC20",
"name": "Tether USD ERC20",
"price": "50.00000000"
}
]
}
Get Crypto To Fiat Rate
POST/v1/rate/crypto-to-fiat
Converts a coin amount into fiat amounts at the current rate. No API key needed. Leave out fiat to get every supported currency. Limit: 50 requests per minute per IP and user agent. Results are cached for 1 minute.
Parameters
Body parameters
Response
On success: HTTP 200 with "success": true. data is an array; every item has these fields.
Errors
Every call can also return the rate limit error.
| Status | msg | What to do |
|---|---|---|
| 400 · 1001 | Invalid crypto symbol / Invalid fiat symbol | Use a symbol from Supported Currencies / a 3-letter fiat code. |
| 400 · 1001 | any other msg | A parameter is missing or invalid; msg names it. |
curl --request POST \
--url https://api.coinremitter.com/v1/rate/crypto-to-fiat \
--form 'crypto=""' \
--form 'crypto_amount=""' \
--form 'fiat=""'
// Node.js 18 or later (built-in fetch)
(async () => {
const response = await fetch("https://api.coinremitter.com/v1/rate/crypto-to-fiat", {
method: "POST",
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({
crypto: "",
crypto_amount: "",
fiat: ""
})
});
const result = await response.json();
console.log(result);
})();
<?php
$ch = curl_init("https://api.coinremitter.com/v1/rate/crypto-to-fiat");
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
],
CURLOPT_POSTFIELDS => json_encode([
"crypto" => "",
"crypto_amount" => "",
"fiat" => "",
]),
]);
$result = json_decode(curl_exec($ch), true);
print_r($result);
# pip install requests
import requests
response = requests.post(
"https://api.coinremitter.com/v1/rate/crypto-to-fiat",
json={
"crypto": "",
"crypto_amount": "",
"fiat": "",
},
timeout=30,
)
print(response.json())
{
"success": true,
"data": [
{
"code": "USD",
"currency": "United States Dollar",
"amount": "166.84"
},
{
"code": "EUR",
"currency": "Euro",
"amount": "154.16"
},
{
"code": "NZD",
"currency": "New Zealand Dollar",
"amount": "273.62"
},
{
"code": "SGD",
"currency": "Singapore Dollar",
"amount": "225.23"
}
]
}
Get Supported Currencies
POST/v1/rate/supported-currency
Lists every active coin with its network, explorer URL, minimum deposit, USD price and withdrawal fees. No API key needed. Limit: 50 requests per minute per IP and user agent. Results are cached for 1 minute.
Parameters
This endpoint takes no parameters, and needs no API key.
Response
On success: HTTP 200 with "success": true. data is an array; every item has these fields.
Withdrawal fees by speed.
Fees for the slowest withdrawal speed.
Transaction fee charged on wallet Coins/Tokens withdrawal when gas station is enabled.
Fees for the medium speed. Same keys as low.
Transaction fee charged on wallet Coins/Tokens withdrawal when gas station is enabled.
Fees for the fastest speed. Same keys as low.
Transaction fee charged on wallet Coins/Tokens withdrawal when gas station is enabled.
Errors
Every call can also return the rate limit error.
| Status | msg | What to do |
|---|---|---|
| 429 · 1006 | Rate limit exceed. | More than 50 requests a minute from one IP and user agent. See Rate limits. |
curl --request POST \
--url https://api.coinremitter.com/v1/rate/supported-currency
// Node.js 18 or later (built-in fetch)
(async () => {
const response = await fetch("https://api.coinremitter.com/v1/rate/supported-currency", {
method: "POST",
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({})
});
const result = await response.json();
console.log(result);
})();
<?php
$ch = curl_init("https://api.coinremitter.com/v1/rate/supported-currency");
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
],
CURLOPT_POSTFIELDS => json_encode(new stdClass()),
]);
$result = json_decode(curl_exec($ch), true);
print_r($result);
# pip install requests
import requests
response = requests.post(
"https://api.coinremitter.com/v1/rate/supported-currency",
json={},
timeout=30,
)
print(response.json())
{
"success": true,
"data": [
{
"coin": "Bitcoin",
"coin_symbol": "BTC",
"network_name": "Bitcoin Network",
"explorer_url": "https://www.blockchain.com/explorer/transactions/btc/",
"logo": "https://cdn.coinremitter.com/assets/images/coins/32x32/BTC.png",
"minimum_deposit_amount": "0.00001",
"price_in_usd": "63768",
"fees": {
"low": {
"transaction_fees_type": "flat",
"processing_fees_type": "percentage",
"transaction_fee": "0.23",
"processing_fee": "0.23",
"transaction_fee_with_gasstation": "0.002",
"processing_fee_with_gasstation": "0.002"
},
"medium": {
"transaction_fees_type": "flat",
"processing_fees_type": "percentage",
"transaction_fee": "0.003",
"processing_fee": "0.35",
"transaction_fee_with_gasstation": "0.002",
"processing_fee_with_gasstation": "0.002"
},
"priority": {
"transaction_fees_type": "flat",
"processing_fees_type": "percentage",
"transaction_fee": "0.005",
"processing_fee": "0.5",
"transaction_fee_with_gasstation": "0.003",
"processing_fee_with_gasstation": "0.003"
}
}
},
{
"coin": "Tether USD ERC20",
"coin_symbol": "USDTERC20",
"network_name": "USDT ERC20 Network",
"explorer_url": "https://etherscan.io/tx/",
"logo": "https://cdn.coinremitter.com/assets/images/coins/32x32/USDTERC20.png",
"minimum_deposit_amount": "3.1",
"price_in_usd": "1",
"fees": {
"low": {
"transaction_fees_type": "flat",
"processing_fees_type": "percentage",
"transaction_fee": "0.23",
"processing_fee": "0.23",
"transaction_fee_with_gasstation": "0.0003",
"processing_fee_with_gasstation": "0.22"
},
"medium": {
"transaction_fees_type": "flat",
"processing_fees_type": "percentage",
"transaction_fee": "0.002",
"processing_fee": "0.24",
"transaction_fee_with_gasstation": "0.0003",
"processing_fee_with_gasstation": "0.23"
},
"priority": {
"transaction_fees_type": "flat",
"processing_fees_type": "percentage",
"transaction_fee": "0.003",
"processing_fee": "0.2",
"transaction_fee_with_gasstation": "0.0004",
"processing_fee_with_gasstation": "0.23"
}
}
},
{
"coin": "Ethereum",
"coin_symbol": "ETH",
"network_name": "Ethereum Coin Network",
"explorer_url": "https://etherscan.io/tx/",
"logo": "https://cdn.coinremitter.com/assets/images/coins/32x32/ETH.png",
"minimum_deposit_amount": "0.00012",
"price_in_usd": "2737.98",
"fees": {
"low": {
"transaction_fees_type": "flat",
"processing_fees_type": "percentage",
"transaction_fee": "0.00023",
"processing_fee": "0.00023",
"transaction_fee_with_gasstation": "0.0003",
"processing_fee_with_gasstation": "0.12"
},
"medium": {
"transaction_fees_type": "flat",
"processing_fees_type": "percentage",
"transaction_fee": "0.0001",
"processing_fee": "0.0009",
"transaction_fee_with_gasstation": "0.0004",
"processing_fee_with_gasstation": "0.16"
},
"priority": {
"transaction_fees_type": "flat",
"processing_fees_type": "percentage",
"transaction_fee": "0.003",
"processing_fee": "0.3",
"transaction_fee_with_gasstation": "0.0005",
"processing_fee_with_gasstation": "0.2"
}
}
}
]
}
Wallet Webhook
We POST this data to your webhook URL when your wallet receives or sends a payment. The content type is multipart/form-data.
Reply with HTTP 200 within 5 seconds. Webhooks aren’t signed, so confirm the transaction with Get transaction before you act on it. How webhooks work
Payload fields
Unique id of your transaction. It is not blockchain transaction id. you will get this id from webhook data.
receiveWhen you receive the deposit amount from any address, the type will be shown as "receive".sendWhen you send or withdraw an amount to any address, the type will be shown as "send".
{
"id":"674edd35765xxxxxxxxxxxxxx",
"txid":"1796b1185xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"explorer_url":"https://blockchair.com/litecoin/transaction/1796b1185xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"merchant_id":"6746c765xxxxxxxxxxxxxx",
"type":"receive",
"coin_symbol":"LTC",
"coin":"Litecoin",
"wallet_id":"874rtd35765xxxxxxxxxxxxxx",
"wallet_name":"LTC-wallet",
"label":"address-label",
"address":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"amount":"2",
"confirmations":"3",
"date":"2018-08-17 10:04:13",
"date_timestamp":"1534480453"
}
Invoice Notify
We POST this data to your notify_url when a payment for an invoice arrives. The content type is multipart/form-data.
Reply with HTTP 200 within 5 seconds. Notifications aren’t signed, so confirm the invoice with Get invoice before you deliver the order. How webhooks work
Payload fields
Invoice amount in each currency.
How much has been paid so far, in each currency.
Exchange rates fixed when the invoice was created.
Fiat currency of the invoice, such as USD or EUR. Empty when you didn’t set fiat_currency.
PendingIf the payment of the invoice is not received, then the invoice status is shown as "Pending". It will be initial status when the invoice is created.PaidWhen invoice is received full amount, invoice status will be shown as "Paid".Under PaidIf the payment of the invoice has been paid in part, the invoice status is shown as "Under Paid".Over PaidIf the payment of the invoice is greater than amount value, the status of the invoice is shown as "Over Paid".ExpiredIf the payment of the invoice does not complete before the expiry time, the status of the invoice is shown as "Expired".CancelledCancelled invoices don't trigger this notification. Get Invoice returns them withstatus_code5andstatus"Pending".
Invoice payment history.
Third party explorer URL where the transaction status can be cross-checked.
Payment notification will be sent to this URL. See the example payload.
If the invoice is successfully paid, the invoice page will be redirected to the success URL.
When the invoice is deleted automatically. The period comes from a system setting, so use this date instead of a fixed number of days. Make sure no coins or tokens are sent to the invoice address once it has been deleted.
{
"id": "674edd35765xxxxxxxxxxxxxx",
"invoice_id": "FJkxxxx",
"url": "https://invoice.coinremitter.com/view/674edd35765xxxxxxxxxxxxxx",
"total_amount": {
"LTC": "0.03000000",
"USD": "10.6293"
},
"paid_amount": {
"LTC": "0.01000000",
"USD": "3.5431"
},
"usd_amount": "10.6293",
"amount": "0.03000000",
"conversion_rate": {
"USD_LTC": "0.00282239",
"LTC_USD": "354.31000000"
},
"fiat_currency": "",
"coin": "Litecoin",
"coin_symbol": "LTC",
"name": "LTC-wallet",
"description": "",
"wallet_name": "LTC-wallet",
"wallet_id": "673d6a3fdfxxxxxxxxxxxxxx",
"merchant_id": "6746c765xxxxxxxxxxxxxx",
"payment_history": [
{
"txid": "1796b1185xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"explorer_url": "https://blockchair.com/litecoin/transaction/1796b1185xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx?from=coinremitter",
"amount": "0.01000000",
"date": "2024-11-20 05:34:41",
"date_timestamp": "1732080881",
"confirmation": "5",
"required_confirmations": "3"
}
],
"status": "Under Paid",
"status_code": "2",
"success_url": "",
"fail_url": "",
"notify_url": "",
"expire_on": "2024-11-21 05:33:57",
"expire_on_timestamp": "1732167237",
"invoice_date": "2024-11-20 05:33:57",
"custom_data1": "",
"custom_data2": "",
"invoice_timestamp": "1732080837",
"delete_after": "2025-11-20 05:33:57",
"delete_after_timestamp": "1763616837",
"last_updated_date": "2024-12-03 10:41:13",
"last_updated_date_timestamp": "1733222473"
}
Pricing Widget Callback
We POST this data to your callback URL when a payment arrives at a pricing widget address. The content type is multipart/form-data.
Payload fields
The crypto_amount for the order is denominated in this currency. For example, LTC represents Litecoin.
PendingIf the payment of the order is not received, then the order status is shown as "Pending". It will be initial status when the order is created.PaidWhen order is received full amount, order status will be shown as "Paid".Under PaidIf the payment of the order has been paid in part, the order status is shown as "Under Paid".Over PaidIf the payment of the order is greater than amount value, the status of the order is shown as "Over Paid".ExpiredIf the payment of the order does not complete before the expiry time, the status of the order is shown as "Expired".CancelledIf customer cancels the order, the status of the order is shown as "Cancelled".
Order payment history.
Third party explorer URL where the transaction status can be cross-checked.
At least this number of confirmations is required to confirm the transaction.
{
"widget_id": "xYLxxxxxxx",
"widget_name": "Pricing Widget",
"order_id": "RHWxxxxxxx",
"plan_name": "Growth",
"wallet_name": "LTC-wallet",
"wallet_id": "6746c765xxxxxxxxxxxxxx",
"widget_type": "pricing",
"coin": "Litecoin",
"coin_symbol": "LTC",
"crypto_amount": "0.1",
"unit_crypto_amount": "0.1",
"fiat_amount": "99",
"unit_fiat_amount": "99",
"usd_amount": "99",
"crypto_currency": "LTC",
"fiat_currency": "USD",
"paid_crypto_amount": "0.1",
"paid_fiat_amount": "99",
"order_data": {
"email_address": "[email protected]",
"phone_number": "4155550132",
"phone_number_code": "+1"
},
"expire_on": "2025-01-25 11:17:12",
"expire_on_timestamp": "1737784032",
"status_code": "2",
"status": "Under Paid",
"payment_history": [
{
"txid": "1796b1185xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"explorer_url": "https://blockchair.com/litecoin/transaction/1796b1185xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"amount": "0.1",
"confirmation": "8",
"required_confirmations": "3",
"date": "2025-02-05 11:32:58",
"date_timestamp": "1738735378"
}
],
"order_date": "2025-01-25 10:17:12",
"order_timestamp": "1737780432"
}
Presale Widget Callback
We POST this data to your callback URL when a payment arrives at a presale widget address. The content type is multipart/form-data.
Payload fields
The crypto_amount for the order is denominated in this currency. For example, LTC represents Litecoin.
PendingIf the payment of the order is not received, then the order status is shown as "Pending". It will be initial status when the order is created.PaidWhen order is received full amount, order status will be shown as "Paid".Under PaidIf the payment of the order has been paid in part, the order status is shown as "Under Paid".Over PaidIf the payment of the order is greater than amount value, the status of the order is shown as "Over Paid".ExpiredIf the payment of the order does not complete before the expiry time, the status of the order is shown as "Expired".CancelledIf customer cancels the order, the status of the order is shown as "Cancelled".
Order payment history.
Third party explorer URL where the transaction status can be cross-checked.
At least this number of confirmations is required to confirm the transaction.
{
"widget_id": "xYLxxxxxxx",
"widget_name": "Presale Widget",
"order_id": "RHWxxxxxxx",
"round_name": "Seed Round",
"wallet_name": "LTC-wallet",
"wallet_id": "6746c765xxxxxxxxxxxxxx",
"widget_type": "presale",
"coin": "Litecoin",
"coin_symbol": "LTC",
"crypto_amount": "0.1",
"fiat_amount": "99",
"usd_amount": "99",
"crypto_currency": "LTC",
"fiat_currency": "USD",
"paid_crypto_amount": "0.1",
"paid_fiat_amount": "100",
"order_token_amount":"50000",
"bonus_token_amount":"500",
"total_token_amount":"50500",
"token_symbol":"YOYO",
"token_name":"YOYO Token",
"conversion_rate":{
"fiat_to_token":"500",
"crypto_to_token":"500000"
},
"order_data": {
"email_address": "[email protected]",
"recipient_wallet_address": "0xxxxxxxxxxxxxxxxxxxxxxxx"
},
"expire_on": "2025-01-25 11:17:12",
"expire_on_timestamp": "1737784032",
"status_code": "2",
"status": "Under Paid",
"payment_history": [
{
"txid": "1796b1185xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"explorer_url": "https://blockchair.com/litecoin/transaction/1796b1185xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"amount": "0.1",
"confirmation": "8",
"required_confirmations": "3",
"date": "2025-02-05 11:32:58",
"date_timestamp": "1738735378"
}
],
"order_date": "2025-01-25 10:17:12",
"order_timestamp": "1737780432"
}
Payment Button Widget Callback
We POST this data to your callback URL when a payment arrives at a payment button widget address. The content type is multipart/form-data.
Payload fields
The crypto_amount for the order is denominated in this currency. For example, LTC represents Litecoin.
PendingIf the payment of the order is not received, then the order status is shown as "Pending". It will be initial status when the order is created.PaidWhen order is received full amount, order status will be shown as "Paid".Under PaidIf the payment of the order has been paid in part, the order status is shown as "Under Paid".Over PaidIf the payment of the order is greater than amount value, the status of the order is shown as "Over Paid".ExpiredIf the payment of the order does not complete before the expiry time, the status of the order is shown as "Expired".CancelledIf customer cancels the order, the status of the order is shown as "Cancelled".
Order payment history.
Third party explorer URL where the transaction status can be cross-checked.
At least this number of confirmations is required to confirm the transaction.
{
"widget_id": "xYLxxxxxxx",
"widget_name": "Donation button",
"order_id": "RHWxxxxxxx",
"description": "This test description",
"wallet_name": "LTC-wallet",
"wallet_id": "6746c765xxxxxxxxxxxxxx",
"widget_type": "payment button",
"coin": "Litecoin",
"coin_symbol": "LTC",
"crypto_amount": "0.1",
"unit_crypto_amount": "0.1",
"fiat_amount": "99",
"unit_fiat_amount": "99",
"usd_amount": "99",
"crypto_currency": "LTC",
"fiat_currency": "USD",
"paid_crypto_amount": "0.1",
"paid_fiat_amount": "99",
"order_data": {
"email_address": "[email protected]",
"phone_number": "4155550132",
"phone_number_code": "+1"
},
"expire_on": "2025-01-25 11:17:12",
"expire_on_timestamp": "1737784032",
"status_code": "2",
"status": "Under Paid",
"payment_history": [
{
"txid": "1796b1185xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"explorer_url": "https://blockchair.com/litecoin/transaction/1796b1185xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"amount": "0.1",
"confirmation": "8",
"required_confirmations": "3",
"date": "2025-02-05 11:32:58",
"date_timestamp": "1738735378"
}
],
"order_date": "2025-01-25 10:17:12",
"order_timestamp": "1737780432"
}
Payment Page Widget Callback
We POST this data to your callback URL when a payment arrives at a payment page widget address. The content type is multipart/form-data.
Payload fields
The crypto_amount for the order is denominated in this currency. For example, LTC represents Litecoin.
Order data.
Purchase item information (Array of Object).
Payment page goal information.
Amount BasedAmount based goal.Supporter BasedSupporter based goal.
PendingIf the payment of the order is not received, then the order status is shown as "Pending". It will be initial status when the order is created.PaidWhen order is received full amount, order status will be shown as "Paid".Under PaidIf the payment of the order has been paid in part, the order status is shown as "Under Paid".Over PaidIf the payment of the order is greater than amount value, the status of the order is shown as "Over Paid".ExpiredIf the payment of the order does not complete before the expiry time, the status of the order is shown as "Expired".CancelledIf customer cancels the order, the status of the order is shown as "Cancelled".
Order payment history.
Third party explorer URL where the transaction status can be cross-checked.
At least this number of confirmations is required to confirm the transaction.
{
"widget_id": "xYLxxxxxxx",
"widget_name": "Digital Store",
"widget_type": "Payment Page",
"order_id": "RHWxxxxxxx",
"wallet_name": "LTC-wallet",
"wallet_id": "6746c765xxxxxxxxxxxxxx",
"coin": "Litecoin",
"coin_symbol": "LTC",
"crypto_amount": "0.1",
"fiat_amount": "99",
"usd_amount": "99",
"crypto_currency": "LTC",
"fiat_currency": "USD",
"paid_crypto_amount": "0.1",
"paid_fiat_amount": "99",
"order": {
"customer" : {
"email_address": "[email protected]",
"phone_number": "41555xxxxxx",
"phone_number_code": "+1"
},
"products" : [
{
"id": "6448c765xxxxxxxxxxxxxx",
"name": "iphone 16",
"quantity": "1",
"fiat_unit_price": "799",
"crypto_unit_price": "0.1",
"remaining_quantity": "50"
}
]
},
"goal": {
"type":"supporter based",
"target":"500",
"target_achieved":"450",
"supporters":"100",
"end_date":"2025-05-29 12:00",
"end_date_timestamp":"1748500200"
},
"expire_on": "2025-01-25 11:17:12",
"expire_on_timestamp": "1737784032",
"status_code": "1",
"status": "Paid",
"payment_history": [
{
"txid": "1796b1185xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"explorer_url": "https://blockchair.com/litecoin/transaction/1796b1185xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"amount": "0.1",
"confirmation": "8",
"required_confirmations": "3",
"date": "2025-02-05 11:32:58",
"date_timestamp": "1738735378"
}
],
"page_expiry": "2025-10-25 10:00:00",
"page_expiry_timestamp": "1761366600",
"order_date": "2025-01-25 10:17:12",
"order_timestamp": "1737780432"
}
About the Litecoin API
Litecoin API provides a way to add LTC payment functions to a website or app. It can help your platform accept cryptocurrency payments without requiring you to build every payment feature yourself. This guide covers sample API calls and their responses for different operations. The API uses UTC for all dates and times included in its responses.
Start by creating an account on Coinremitter and setting up an LTC wallet. You will need the wallet's API key and password to send requests. Coinremitter allows 100 requests per minute on the free plan and 500 on the premium plan. You can generate payment addresses, create invoices, check balances, view transaction information, and find out whether an invoice has been paid. If your website works with plugins, check whether a suitable option is available for LTC payments. The Coinremitter GitHub page lists repositories you can review for installation details.
Litecoin API FAQs
To create a Litecoin payment invoice, you can use the ‘Create Invoice’ endpoint. You can pass the required data to that endpoint and call the API. After that, you will receive a response. You can get the invoice URL from the response. You can share its link directly with your customer to request payments.
Yes, you can generate multiple Litecoin addresses. With the free plan, you can generate 500 addresses per wallet. With the premium plan, our gateway lets you generate unlimited addresses. This is recommended when you are accepting payments from multiple customers. This helps you with better payment tracking and accounting.
A Litecoin wallet address is unique, and it is used to send and receive funds to a particular wallet. You can simply share or show the address to request payments. On the other hand, a Litecoin invoice is a unique payment URL. You can share that URL with your customer to accept payment from your customer.
To track a Litecoin invoice, you can pass the invoice ID and call the Get Invoice API endpoint. You can click here to learn more about invoice tracking along with the sample response.
Yes. Our crypto payment gateway has the ‘Get Balance’ API endpoint. You can call this API, and it will return the available balance in a particular wallet. The balance will be displayed with the "balance" data.