polygon-io / issues

Quickly track and report problems with polygon.io
29 stars 0 forks source link

v3/reference/tickers/MSFT does not return the market_cap field, whereas other stock symbols do return the market_cap field #323

Closed NeilJustice closed 3 days ago

NeilJustice commented 4 days ago

At some time in the past 6 months, v3/reference/tickers/MSFT began not returning the market_cap field. Other stock symbols such as AAPL and NVDA do return the market_cap field from v3/reference/tickers.

Here is the JSON returned for MSFT when querying https://api.polygon.io/v3/reference/tickers/MSFT?apiKey=ApiKey:

{
   "request_id": "d4690f48b49cb65c18ad05c0a1fddb82",
   "results":
   {
      "ticker": "MSFT",
      "name": "Microsoft Corp",
      "market": "stocks",
      "locale": "us",
      "primary_exchange": "XNAS",
      "type": "CS",
      "active": true,
      "currency_name": "usd",
      "cik": "0000789019",
      "composite_figi": "BBG000BPH459",
      "share_class_figi": "BBG001S5TD05",
      "phone_number": "425-882-8080",
      "address":
      {
         "address1": "ONE MICROSOFT WAY",
         "city": "REDMOND",
         "state": "WA",
         "postal_code": "98052-6399"
      },
      "sic_code": "7372",
      "sic_description": "SERVICES-PREPACKAGED SOFTWARE",
      "ticker_root": "MSFT",
      "share_class_shares_outstanding": 7433040000,
      "round_lot": 100
   },
   "status": "OK"
}

Here is the JSON returned for AAPL when querying https://api.polygon.io/v3/reference/tickers/AAPL?apiKey=ApiKey:

{
   "request_id": "36200d6fa97af62c268b0e4fbe4e8242",
   "results":
   {
      "ticker": "AAPL",
      "name": "Apple Inc.",
      "market": "stocks",
      "locale": "us",
      "primary_exchange": "XNAS",
      "type": "CS",
      "active": true,
      "currency_name": "usd",
      "cik": "0000320193",
      "composite_figi": "BBG000B9XRY4",
      "share_class_figi": "BBG001S5N8V8",
      "market_cap": 3.45064007444e+12,
      "phone_number": "(408) 996-1010",
      "address":
      {
         "address1": "ONE APPLE PARK WAY",
         "city": "CUPERTINO",
         "state": "CA",
         "postal_code": "95014"
      },
      "description": "Apple is among the largest companies in the world, with a broad portfolio of hardware and software products targeted at consumers and businesses. Apple's iPhone makes up a majority of the firm sales, and Apple's other products like Mac, iPad, and Watch are designed around the iPhone as the focal point of an expansive software ecosystem. Apple has progressively worked to add new applications, like streaming video, subscription bundles, and augmented reality. The firm designs its own software and semiconductors while working with subcontractors like Foxconn and TSMC to build its products and chips. Slightly less than half of Apple's sales come directly through its flagship stores, with a majority of sales coming indirectly through partnerships and distribution.",
      "sic_code": "3571",
      "sic_description": "ELECTRONIC COMPUTERS",
      "ticker_root": "AAPL",
      "homepage_url": "https://www.apple.com",
      "total_employees": 164000,
      "list_date": "1980-12-12",
      "branding":
      {
         "logo_url": "https://api.polygon.io/v1/reference/company-branding/YXBwbGUuY29t/images/2024-10-01_logo.svg",
         "icon_url": "https://api.polygon.io/v1/reference/company-branding/YXBwbGUuY29t/images/2024-10-01_icon.png"
      },
      "share_class_shares_outstanding": 15115820000,
      "weighted_shares_outstanding": 15115823000,
      "round_lot": 100
   },
   "status": "OK"
}

Here is the JSON returned for NVDA when querying https://api.polygon.io/v3/reference/tickers/NVDA?apiKey=ApiKey:

{
   "request_id": "3c5fe0409231074939d39965abd11c48",
   "results":
   {
      "ticker": "NVDA",
      "name": "Nvidia Corp",
      "market": "stocks",
      "locale": "us",
      "primary_exchange": "XNAS",
      "type": "CS",
      "active": true,
      "currency_name": "usd",
      "cik": "0001045810",
      "composite_figi": "BBG000BBJQV0",
      "share_class_figi": "BBG001S5TZJ6",
      "market_cap": 3.6061553e+12,
      "phone_number": "408-486-2000",
      "address":
      {
         "address1": "2788 SAN TOMAS EXPRESSWAY",
         "city": "SANTA CLARA",
         "state": "CA",
         "postal_code": "95051"
      },
      "description": "Nvidia is a leading developer of graphics processing units. Traditionally, GPUs were used to enhance the experience on computing platforms, most notably in gaming applications on PCs. GPU use cases have since emerged as important semiconductors used in artificial intelligence. Nvidia not only offers AI GPUs, but also a software platform, Cuda, used for AI model development and training. Nvidia is also expanding its data center networking solutions, helping to tie GPUs together to handle complex workloads.",
      "sic_code": "3674",
      "sic_description": "SEMICONDUCTORS & RELATED DEVICES",
      "ticker_root": "NVDA",
      "homepage_url": "https://www.nvidia.com",
      "total_employees": 29600,
      "list_date": "1999-01-22",
      "branding":
      {
         "logo_url": "https://api.polygon.io/v1/reference/company-branding/bnZpZGlhLmNvbQ/images/2024-10-01_logo.svg",
         "icon_url": "https://api.polygon.io/v1/reference/company-branding/bnZpZGlhLmNvbQ/images/2024-10-01_icon.png"
      },
      "share_class_shares_outstanding": 24530000000,
      "weighted_shares_outstanding": 24530000000,
      "round_lot": 100
   },
   "status": "OK"
}
AHangstefer commented 3 days ago

Hi!

Thanks for reaching out! Apologies for this. We are aware of the MSFT example and are working on bringing back these values.

The full fix for this and a few other missing values from the Ticker Details Endpoint is a few weeks out from now, but we're confident this will permanently fix all of the issues we've been having with our Ticker Details.Thank you so much for your patience, and I will continue updating you in this thread as new updates occur.

Let me know if you have any additional questions.

NeilJustice commented 3 days ago

Good to hear, thanks!