SDK & Code Examples
Integrate IPO Guruji API into your application with these ready-to-use code examples.
cURL
curl -X GET "https://api.ipoguruji.com/v1/ipos?status=open&limit=10" \
-H "x-api-key: ipg_live_your_api_key_here" \
-H "Content-Type: application/json"JavaScript / TypeScript
const response = await fetch('https://api.ipoguruji.com/v1/ipos?status=open', {
headers: {
'x-api-key': 'ipg_live_your_api_key_here',
'Content-Type': 'application/json',
},
});
const data = await response.json();
console.log(data.data); // Array of IPOs
console.log(data.meta); // Pagination metadataPython
import requests
headers = {
'x-api-key': 'ipg_live_your_api_key_here',
'Content-Type': 'application/json',
}
response = requests.get(
'https://api.ipoguruji.com/v1/ipos',
params={'status': 'open', 'limit': 10},
headers=headers,
)
data = response.json()
for ipo in data['data']:
print(f"{ipo['name']} - {ipo['status']}")PHP
$ch = curl_init();
curl_setopt_array($ch, [
CURLOPT_URL => 'https://api.ipoguruji.com/v1/ipos?status=open&limit=10',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'x-api-key: ipg_live_your_api_key_here',
'Content-Type: application/json',
],
]);
$response = curl_exec($ch);
curl_close($ch);
$data = json_decode($response, true);
foreach ($data['data'] as $ipo) {
echo $ipo['name'] . ' - ' . $ipo['status'] . "\n";
}Response Format
All endpoints return a consistent JSON response:
{
"success": true,
"data": { ... },
"meta": {
"page": 1,
"limit": 10,
"total": 100,
"totalPages": 10,
"hasNextPage": true,
"hasPrevPage": false
},
"links": {
"self": "...",
"next": "...",
"prev": null
},
"disclaimer": "Data aggregated from publicly accessible sources...",
"timestamp": "2026-02-08T14:30:00.000Z",
"requestId": "req_abc123"
}