Skip to main content

List shares history

GET https://data.partnr.ai/v2/companies/[companyIdentifier]/shares-history

Return a list of shares history from the company specified by the [companyIdentifier].

Request Parameters

ParameterLocationDescriptionRequired
[companyIdentifier]URLCompany Identifier of the company to be queried.Required
start_dateQuery parameterDate to start time-series.
Format: YYYY-MM-DD
Optional
end_dateQuery parameterDate to end time-series.
Format: YYYY-MM-DD
Optional

Company Identifier

The [companyIdentifier] can be one of the following:

  • symbol: the company's symbol. Example: PETR (Petrobras' Symbol)
  • company_id: the company's ID (CNPJ). Example: 33000167000101 (Petrobras' CNPJ)
  • ticker: the company's ticker. Example: PETR3 (Petrobras' Ticker for common stock)

Response

CodeDescription
200Returns a list of shares history.
400Missing or malformed required parameters.
404The company was not found.
401Unauthorized.

Example

[
{
"date": "2022-08-17T00:00:00.000Z",
"common_shares": 246359319,
"preferred_shares": 0
},
{
"date": "2020-07-24T00:00:00.000Z",
"common_shares": 256720235,
"preferred_shares": 0
},
{
"date": "2015-04-23T00:00:00.000Z",
"common_shares": 153909975,
"preferred_shares": 12810260
},
{
"date": "2014-04-16T00:00:00.000Z",
"common_shares": 153909975,
"preferred_shares": 12810260
},
{
"date": "2013-10-16T00:00:00.000Z",
"common_shares": 153909975,
"preferred_shares": 12810260
},
{
"date": "2012-04-19T00:00:00.000Z",
"common_shares": 149279740,
"preferred_shares": 12810260
},
{
"date": "2007-02-13T00:00:00.000Z",
"common_shares": 7463987,
"preferred_shares": 640513
},
{
"date": "1941-06-06T00:00:00.000Z",
"common_shares": 256720235,
"preferred_shares": 0
}
]