'timeframe' in Bars API is an 'unexpected parameter'. Bug?

Hi! Possibly dumb question. I’m testing out the Alpaca data API in Postman, and hitting a weird issue - in documentation, the ‘timeframe’ query param is marked as required, but the API itself returns with ‘unexpected parameter(s): timeframe’. None of the values listed in documentation change this response. If I remove the timeframe param, it returns data.

Am I missing something? Or is the documentation just wrong?

Docs in question: Historical data - Documentation | Alpaca

Screenshot of Postman config:

Any help figuring this out would be appreciated.


Hi Sam - thank you for reaching out. Can you please paste the exact query here?


Hi Abel!


According to the docs, this should work. Removing the ‘timeframe’ parameter shouldn’t work, because in theory it’s required. However, this isn’t the case, and a query without ‘timeframe’ returns candle data.

Sorry for the long wait, didn’t get a reply notification

@Abel_Alpaca Just a follow-up on this