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
.jsonfiles for further processing.
📦 Installation
Clone the repo and install dependencies with uv:
git clone <reponame>
uv sync
Metadata
Release files for bse-options 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| bse_options-0.1.1.tar.gz | 3.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bse_options-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.2 kB
Release files / bse_options-0.1.1.tar.gz
| Download URL | bse_options-0.1.1.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0799a8ebcdd8dc91dac9b602c6a18cec9ed44785af4e2c06265f097f281e4525
|
|
BLAKE2b-256 checksum How to use checksums |
d28fb9658c6c4e39e818eb1280febafc85ecec410a7ae35194cc98bcf041b666
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.19
|
Release files / bse_options-0.1.1-py3-none-any.whl
| Download URL | bse_options-0.1.1-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a8d2d89762d1e1f443b38f34b387807dd2fb56a499b81799cee079649c00fec7
|
|
BLAKE2b-256 checksum How to use checksums |
8cc3ba8010e00c430495e5f5105ff7770945f0c15fd887d253cc29e5c4729cee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.19
|