# Option chain trading api examples

**URL:** <https://forum.alpaca.markets/t/option-chain-trading-api-examples/13732>\
**Category:** Alpaca Trading\
**Created:** [February 26, 2024, 9:34pm UTC](https://forum.alpaca.markets/t/option-chain-trading-api-examples/13732 "2024-02-26T21:34:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Steven\_Wang](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.alpaca.markets/steven_wang/32/5866_2.png) [@Steven\_Wang](https://forum.alpaca.markets/u/Steven_Wang)\
**Post date:** [February 26, 2024, 9:34pm UTC](https://forum.alpaca.markets/t/option-chain-trading-api-examples/13732/1 "2024-02-26T21:34:21Z")

</div>

Hello  
is there a Python codes example to read option chains and trade?  
how much historical data can we get?

thanks,
