Brackly Capital APIs
Access real-time stock market data with ease — anytime, anywhere.
📊 What is the Brackly Capital API?
This API provides real-time stock prices for PSX-listed companies like EFERT, NESTLE, and others. Perfect for financial apps, websites, Excel tools, and automated systems.
🔒 Authentication
All API requests require an API key. You can pass it via the Authorization header or as a key parameter.
// Header method: GET https://capital.brackly.com/api/price?symbol=EFERT Authorization: Bearer YOUR_API_KEY // URL method: GET https://capital.brackly.com/api/price?symbol=EFERT&key=YOUR_API_KEY
🧠 Where You Can Use It
- Websites: Embed live stock prices on your finance blog, news portal, or dashboard.
- Mobile Apps: Use in Android/iOS apps for real-time updates.
- Google Sheets: Fetch stock prices using
IMPORTDATA()or Apps Script. - Excel: Use
WEBSERVICE()or VBA for real-time tracking.
📦 Example API Call
GET https://capital.brackly.com/api/price?symbol=EFERT&key=YOUR_API_KEY
💡 Sample Response
{
"symbol": "EFERT",
"price": 95.30,
"currency": "PKR",
"last_updated": "2025-05-29T14:35:00+05:00"
}
💻 Code Examples
// JavaScript (fetch)
fetch("https://capital.brackly.com/api/price?symbol=EFERT&key=YOUR_API_KEY")
.then(res => res.json())
.then(data => console.log(data));
// Python (requests)
import requests
r = requests.get("https://capital.brackly.com/api/price?symbol=EFERT&key=YOUR_API_KEY")
print(r.json())
Get Your API Key Login