Skip to main content

Unofficial Python API for fetching BSE India Option Chain data

Project description

BSE Option Chain Scraper

This repository provides an Unofficial Python API to fetch Option Chain Data from the BSE India website.

The scraper uses requests and mthrottle with proper headers and endpoints exposed by BSE’s API to return option chain data in a structured JSON format, similar to NSE’s option chain format.


🚀 Features

  • Fetch all available expiries for Sensex (or other symbols by scrip_cd).
  • Fetch option chain data for a single expiry.
  • Fetch and merge option chain data for all expiries at once.
  • Data is formatted with CE (Call) and PE (Put) separated, making it analysis-friendly.
  • Optionally save the output to .json files for further processing.

📦 Installation

Clone the repo and install dependencies with uv:

git clone <reponame>
uv sync 

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bse_options-0.1.0.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bse_options-0.1.0-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file bse_options-0.1.0.tar.gz.

File metadata

  • Download URL: bse_options-0.1.0.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.19

File hashes

Hashes for bse_options-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5020911fb2e3d17e2830b50130eaf8dd1fe05d1c11231a3de58e62a104173057
MD5 9c752ea7ee890bcabf9a0a0cb02e0294
BLAKE2b-256 86bf4c9b60679984b3e265bf9305d9198f81d887afee492dd6d80da745e8b50d

See more details on using hashes here.

File details

Details for the file bse_options-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for bse_options-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 521f381cb75cb2b088d22e04c644d3c5cf1fa399247a354c19f4308bf7cee38e
MD5 d9787cb5d770cbf2156c41dc73defadf
BLAKE2b-256 d807cff9069e8820078bc7922fd41bfb7012b56a3590eb59da2d24d18471121b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page