
Alan Chand Real-Time Price API
AlanChand API provides real-time prices for currency, gold, and cryptocurrencies in JSON format. It is available for testing once per hour per user. For unlimited access, please contact us.
Input Parameters
| Parameter | Type | Description |
|---|---|---|
type |
string | Desired category: currency, gold, crypto |
symbols |
comma-separated list | Symbols from the selected category. Example: usd,eur or btc,eth |
All requests must include a valid token in the header:
Authorization: Bearer YOUR_API_TOKEN
Request format:
GET https://api.alanchand.com?type=crypto&symbols=btc,eth
Code Samples in Different Languages
Code Samples in Different Languages
JavaScript
fetch('https://api.alanchand.com?type=crypto&symbols=btc,eth', {
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN'
}
})
.then(res => res.json())
.then(data => console.log(data));
PHP
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.alanchand.com?type=gold&symbols=sekkeh",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"Authorization: Bearer YOUR_API_TOKEN"
],
]);
$response = curl_exec($curl);
curl_close($curl);
echo $response;
Python
import requests
headers = {'Authorization': 'Bearer YOUR_API_TOKEN'}
res = requests.get('https://api.alanchand.com?type=currency&symbols=usd', headers=headers)
print(res.json())
C#
var client = new HttpClient();
client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", "YOUR_API_TOKEN");
var response = await client.GetAsync("https://api.alanchand.com?type=crypto&symbols=btc");
Console.WriteLine(await response.Content.ReadAsStringAsync());
FAQ
There are two available plans: 6-month plan costs 65 USDT and the 1-year plan costs 100 USDT.
Yes, you can automatically get a 3-day free test token via our Telegram bot linked on this page.
Yes, the API allows up to 1,500 requests per day and 50,000 requests per month.
Unfortunately, no. Currently, only REST API access is supported.
If the issue is on our side (e.g., slowness or outdated prices), a refund is possible at any time. Otherwise, you may request a refund within 7 days of purchase through our support team.