Does anyone know how to get segment data via the SEC Edgar API? For example, I am trying to pull Pepsi's revenue by its different segments. I can pull the overall revenue number without an issue using the following URL in Alteryx (https://data.sec.gov/api/xbrl/companyconcept/CIK0000077476/us-gaap/Revenues.json). I am not sure how to get the segment level details. I tried to rearrange the URL with other attributes given from the SEC but no luck.
Any help is greatly appreciated! Thank you!