I have a new account at alpaca, polygon API not working?


I created a new account with alpaca. The polygon Api are not working and responding. I think I have to do some additional step like signing an agreement or contract. Can anyone guide me what should I do? It

HTTPError: 401 Client Error: Unauthorized for url: https://api.polygon.io/v2/snapshot/locale/us/markets/stocks/tickers/TSLA?apiKey=

Hey @b.great

Do you have a funded live brokerage account? In order to access Polygon Data, you need to have a funded live brokerage account through Alpaca.

Check here for additional information: https://alpaca.markets/docs/api-documentation/api-v2/polygon-integration/


1 Like

Is this still working with a funded account?
I had some programs which worked but they no longer do.
Has something changed that I need a data subscription now to access this data?
Or is this an intermittent issue that occurs from time to time?

requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://api.polygon.io/v2/snapshot/locale/us/markets/stocks/tickers?apiKey=

Your link here no longer works.

Hey @Devin_Jacobson

Earlier this year, we launched Alpaca Market Data API v2. With this, the access to the Polygon.io data feed via your Alpaca API key was also phased out.

See our docs for the Alpaca Market Data API v2 here
And some tutorials here

Let me know if you have any additional questions
Jason from Alpaca