API Key for Subways

80 views
Skip to first unread message

Ethan Goldberg

unread,
May 19, 2025, 9:53:29 AMMay 19
to mtadeveloperresources
(similar post here)

I am trying to obtain API Keys for the subway endpoints here - https://api.mta.info/#/subwayRealTimeFeeds

I recognize that many folks say the API keys aren't necessary, but in Python I am getting a 403 forbidden error, and in postman I am getting an Access Denied error. 

Any help would be appreciated!

Sunny

unread,
May 19, 2025, 4:16:33 PMMay 19
to mtadeveloperresources
Make sure you are fetching the URL as listed on that site. The %2F should not be converted to a slash, if you do, it will come back with an Access Denied.
Reply all
Reply to author
Forward
0 new messages