Penny Docs
Securities

Get Security Prices

GET
/v1/securities/{slug}/prices

Retrieves stored daily closing prices for a supported security, ordered from oldest to newest. Authentication is not required.

Use a slug returned by the securities list. Optional date bounds are inclusive; omitted bounds leave that end of the range unrestricted. Only dates with stored prices are returned. An unknown slug returns security_not_found; a valid security without prices in the range returns an empty list.

Path Parameters

slug*Slug

Query Parameters

start_date?|null
end_date?|null

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/securities/string/prices"
{  "slug": "apple",  "symbol": "AAPL",  "name": "Apple Inc.",  "prices": [    {      "date": "2019-08-24",      "close_price": "68.42"    }  ]}