API Documentation
Use HTTPS only. Recommended authentication is
Authorization: Bearer YOUR_API_KEY.
Query-string API keys are available for quick browser testing, but should not be used in production URLs.
Base URL
https://api.youline.in/api/v1/
PAN Find API
Aadhaar to PAN service documentation with your assigned rate and wallet.
1. Public Status Endpoint
GET https://api.youline.in/api/v1/status.php
2. Account Test
GET https://api.youline.in/api/v1/account.phpAuthorization: Bearer YOUR_API_KEY
Browser test:
https://api.youline.in/api/v1/account.php?api_key=YOUR_API_KEY
3. Wallet Balance
GET https://api.youline.in/api/v1/wallet.phpAuthorization: Bearer YOUR_API_KEY
Browser test:
https://api.youline.in/api/v1/wallet.php?api_key=YOUR_API_KEY
4. My Rate List
GET https://api.youline.in/api/v1/rates.phpAuthorization: Bearer YOUR_API_KEY
Browser test:
https://api.youline.in/api/v1/rates.php?api_key=YOUR_API_KEY
PHP Authentication Example
<?php
$url = 'https://api.youline.in/api/v1/rates.php';
$apiKey = 'YOUR_API_KEY';
$ch = curl_init($url);
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . $apiKey,
'Accept: application/json'
],
CURLOPT_TIMEOUT => 30
]);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
Your Current Service Rates
Login to view the exact rates assigned to your account.