🔌 ফ্রি ডেটা ও API

এই সাইট যত সংখ্যা বের করে, সবই JSON বা CSV আকারে পাওয়া যায়, ফ্রি, কোনো key লাগে না, অ্যাকাউন্টও না। ঢাকা স্টক এক্সচেঞ্জ নিয়ে কাজ করা আর কেউ এমন সুবিধা দেয় না, তাই এখানে কিছু বানাতে গেলে নিজেকেই ডিএসই থেকে তথ্য টানতে হতো। সেটা আর দরকার নেই।

183,883
দৈনিক দামের সারি
409
কোম্পানি
1,882
কোম্পানি-বছরের আয়ের হিসাব
1,607
ত্রৈমাসিক ফলাফল
480
দিনের বাজার ইতিহাস
JSON API

শুধু পড়া যায়। প্রতি ঘণ্টায় প্রতি IP থেকে ১২০টি অনুরোধ। CORS খোলা, তাই সরাসরি ব্রাউজার থেকেও চলে। দামের তথ্য আছে 2024-08-122026-08-13.

/api/v1.php?endpoint=market Index levels and market breadth for the latest session চালিয়ে দেখুন ↗
/api/v1.php?endpoint=companies Every listed company with sector, category and market cap চালিয়ে দেখুন ↗
/api/v1.php?endpoint=quote&symbol=GP Latest price for one share চালিয়ে দেখুন ↗
/api/v1.php?endpoint=history&symbol=GP&limit=100 Daily price history, up to 1000 rows চালিয়ে দেখুন ↗
/api/v1.php?endpoint=financials&symbol=GP Yearly and quarterly earnings, book value and dividends চালিয়ে দেখুন ↗
/api/v1.php?endpoint=health&symbol=GP Z-category warning score, with every signal that is firing চালিয়ে দেখুন ↗
/api/v1.php?endpoint=health&limit=20 The whole market ranked by warning score চালিয়ে দেখুন ↗
/api/v1.php?endpoint=sectors Sector list with company counts and market cap চালিয়ে দেখুন ↗
CSV ডাউনলোড

সরাসরি এক্সেলে খোলে, বাংলা নামসহ।

/api/export.php?type=fundamentals Every company: latest earnings, all ratios, health score ⬇ নামান
/api/export.php?type=health The full Z-category warning table with reasons ⬇ নামান
/api/export.php?type=market Daily breadth and turnover history ⬇ নামান
/api/export.php?type=prices&symbol=GP Full daily price history for one share ⬇ নামান
উদাহরণ
# Every share under P/E 10 that is profitable and has no warning signs
curl "https://stockchartbd.com/api/v1.php?endpoint=health&limit=400" \
  | jq '.health[] | select(.score == 0) | .symbol'

# One company's full earnings record
curl "https://stockchartbd.com/api/v1.php?endpoint=financials&symbol=GP"

# The whole fundamentals table into pandas
pd.read_csv("https://stockchartbd.com/api/export.php?type=fundamentals")
শর্ত, সহজ কথায়
  • • যেকোনো কাজে ফ্রি, ব্যবসায়িক কাজেও। key লাগে না, নিবন্ধনও না।
  • • সূত্র হিসেবে DSE Intelligence, আর তার নিচে dsebd.org উল্লেখ করবেন।
  • • প্রতি ঘণ্টায় প্রতি IP থেকে ১২০টি অনুরোধ। বেশি দরকার হলে বলবেন, এই সীমা একটা ছোট সার্ভারকে বাঁচানোর জন্য, কিছু বিক্রি করার জন্য নয়।
  • • এটি প্রকাশ্য বাজার তথ্য, সূত্র উল্লেখ করে পুনঃপ্রকাশ করা। কোম্পানির দাখিল করা কাগজপত্রের মালিকানা তাদেরই থাকে।
  • • যেমন আছে তেমনই দেওয়া, বিশ্লেষণ ও শেখার জন্য। বিনিয়োগের পরামর্শ নয়, নির্ভুলতার নিশ্চয়তাও নয়, যা নিয়ে লেনদেন করবেন তা ডিএসই থেকে মিলিয়ে নেবেন।