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.1.tar.gz (3.5 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.1-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for bse_options-0.1.1.tar.gz
Algorithm Hash digest
SHA256 0799a8ebcdd8dc91dac9b602c6a18cec9ed44785af4e2c06265f097f281e4525
MD5 099382c32b81c435bc16698a1404dc77
BLAKE2b-256 d28fb9658c6c4e39e818eb1280febafc85ecec410a7ae35194cc98bcf041b666

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bse_options-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a8d2d89762d1e1f443b38f34b387807dd2fb56a499b81799cee079649c00fec7
MD5 24bbe051b3e89375cc956dfabb9f9c46
BLAKE2b-256 8cc3ba8010e00c430495e5f5105ff7770945f0c15fd887d253cc29e5c4729cee

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