# How to fetch LTP of options price

**URL:** <https://community.delta.exchange/t/how-to-fetch-ltp-of-options-price/819>\
**Category:** APIs & Algo Trading\
**Created:** [February 22, 2025, 4:56pm UTC](https://community.delta.exchange/t/how-to-fetch-ltp-of-options-price/819 "2025-02-22T16:56:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![harsh12092002](https://avatars.discourse-cdn.com/v4/letter/h/bbce88/32.png) [@harsh12092002](https://community.delta.exchange/u/harsh12092002)\
**Post date:** [February 22, 2025, 4:56pm UTC](https://community.delta.exchange/t/how-to-fetch-ltp-of-options-price/819/1 "2025-02-22T16:56:07Z")

</div>

how to fetch LTP of options…pls tell me variable name or example code …i am having trouble with fetching that

---

<div class="post-metadata">

**Author:** ![pankajbalani](https://yyz2.discourse-cdn.com/flex004/user_avatar/community.delta.exchange/pankajbalani/32/29_2.png) [@pankajbalani](https://community.delta.exchange/u/pankajbalani)\
**Post date:** [February 23, 2025, 3:17am UTC](https://community.delta.exchange/t/how-to-fetch-ltp-of-options-price/819/2 "2025-02-23T03:17:55Z")

</div>

get trades in a contract:  
[https://docs.delta.exchange/#get-public-trades](https://docs.delta.exchange/#get-public-trades)

real time on socket: [Delta Exchange Api](https://docs.delta.exchange/#all_trades)

---

<div class="post-metadata">

**Author:** ![ayush.aggrwl](https://avatars.discourse-cdn.com/v4/letter/a/f04885/32.png) [@ayush.aggrwl](https://community.delta.exchange/u/ayush.aggrwl)\
**Post date:** [February 23, 2025, 7:18am UTC](https://community.delta.exchange/t/how-to-fetch-ltp-of-options-price/819/3 "2025-02-23T07:18:02Z")

</div>

````auto
import requests

url = "https://api.india.delta.exchange/v2/tickers"
response = requests.get(url)
data = response.json()

if data["success"]:
    for ticker in data["result"]:
        print(f"Symbol: {ticker['symbol']}, LTP: {ticker['close']}")```
````
