# Subscription does not permit querying recent SIP

**URL:** <https://forum.alpaca.markets/t/subscription-does-not-permit-querying-recent-sip/15534>\
**Category:** Alpaca Market Data\
**Created:** [December 5, 2024, 12:42am UTC](https://forum.alpaca.markets/t/subscription-does-not-permit-querying-recent-sip/15534 "2024-12-05T00:42:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bulldog](https://avatars.discourse-cdn.com/v4/letter/b/b77776/32.png) [@Bulldog](https://forum.alpaca.markets/u/Bulldog)\
**Post date:** [December 5, 2024, 12:42am UTC](https://forum.alpaca.markets/t/subscription-does-not-permit-querying-recent-sip/15534/1 "2024-12-05T00:42:16Z")

</div>

I realize that this topic is a duplicate, but the content is different.  
Using the [Latest trade (single Symbol)]

> **[Latest trade (single symbol)](https://docs.alpaca.markets/reference/stocklatesttradesingle-1)**
>
> The latest trades endpoint provides the latest trade data for a given ticker symbol.

import requests

url = “[https://data.alpaca.markets/v2/stocks/TSLA/trades/latest?feed=sip](https://data.alpaca.markets/v2/stocks/TSLA/trades/latest?feed=sip)”

headers = {  
“accept”: “application/json”,  
“APCA-API-KEY-ID”: “”,  
“APCA-API-SECRET-KEY”: “”  
}

response = requests.get(url, headers=headers)

print(response.text)

returns this:  
{  
“message”: “subscription does not permit querying recent SIP data”  
}

Maybe the option to subscribe is right in front of me and I’m just not seeing it. How do I subscribe?

---

<div class="post-metadata">

**Author:** ![Gergely\_Alpaca](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.alpaca.markets/gergely_alpaca/32/3210_2.png) [@Gergely\_Alpaca](https://forum.alpaca.markets/u/Gergely_Alpaca)\
**Post date:** [December 5, 2024, 10:30am UTC](https://forum.alpaca.markets/t/subscription-does-not-permit-querying-recent-sip/15534/2 "2024-12-05T10:30:57Z")

</div>

Looks like the UI has changed. There’s a more up-to-date answer here: [https://docs.alpaca.markets/docs/market-data-faq#how-do-i-subscribe-to-algotrader-plus](https://docs.alpaca.markets/docs/market-data-faq#how-do-i-subscribe-to-algotrader-plus)

> You can subscribe to AlgoTrader Plus on the [Alpaca UI](https://app.alpaca.markets/account/plans-and-features): on the left sidebar of the main page click on “Plans & Features” and on that page click on “Upgrade to AlgoTrader Plus” inside the Market Data box.
