Is the paper api endpoint working?

I’ve tried following the docs and using curl, Python (with requests not the SDK) and Julia and get 404 when hitting some of the paper-api endpoints. I’m able to get my account information but not quote/market data.

I’d like to use Julia but am testing with Curl and python. Not sure what is going wrong.

Thanks in advance,


With a Curl example (using my own keys) I do:

curl -v -X GET

and get:

  • Trying…
  • Connected to ( port 443 (#0)
  • ALPN, offering h2
  • ALPN, offering http/1.1
  • successfully set certificate verify locations:
  • CAfile: /Users/julio/anaconda3/ssl/cacert.pem
  • CApath: none
  • TLSv1.3 (OUT), TLS handshake, Client hello (1):
  • TLSv1.3 (IN), TLS handshake, Server hello (2):
  • TLSv1.2 (IN), TLS handshake, Certificate (11):
  • TLSv1.2 (IN), TLS handshake, Server key exchange (12):
  • TLSv1.2 (IN), TLS handshake, Server finished (14):
  • TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
  • TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
  • TLSv1.2 (OUT), TLS handshake, Finished (20):
  • TLSv1.2 (IN), TLS handshake, Finished (20):
  • SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
  • ALPN, server accepted to use h2
  • Server certificate:
  • subject:
  • start date: Sep 3 12:05:28 2021 GMT
  • expire date: Dec 2 12:05:27 2021 GMT
  • subjectAltName: host “” matched cert’s “”
  • issuer: C=US; O=Let’s Encrypt; CN=R3
  • SSL certificate verify ok.
  • Using HTTP2, server supports multiplexing
  • Connection state changed (HTTP/2 confirmed)
  • Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
  • Using Stream ID: 1 (easy handle 0x7f886380d400)

GET /v2/stocks/AAPL/bars?timeframe=1Day&start=2021-09-01T00:00:00Z HTTP/2
user-agent: curl/7.78.0
accept: /
apca-api-key-id: REMOVED
apca-api-secret-key: REMOVED

  • Connection state changed (MAX_CONCURRENT_STREAMS == 128)!
    < HTTP/2 404
    < server: nginx
    < date: Tue, 19 Oct 2021 13:57:23 GMT
    < content-type: text/plain; charset=utf-8
    < content-length: 9
  • Connection #0 to host left intact
    Not Found%

The Data API base URL is

Thanks. That seemed to work for the quick test I just did.

FWIW The docs say and API v2 - Documentation | Alpaca

These URLs are for Trading API. For Data API both Paper and Live use the same URL .