Home Forums The XBRL API Period details for facts

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  David Tauriello 5 months, 3 weeks ago.

  • Author
    Posts
  • #143916

    Elmhurst
    Participant

    How far back does MSFT, AAPL, and AMZN go? Is there an easy way to tell the year of historic data?

  • #143964

    David Tauriello
    Keymaster

    Hi Elmhurst – each fact tagged in an instance has metadata associated with it – including period details – making the XBRL data standard an excellent mechanism for analysis.

    The query below summarizes reporting for the three companies in your post – drop this into the ‘config’ tab as a new row (give it a name), then select it from the Main Sheet dropdown to get results.

    /fact/search?concept.local-name=EntityFilerCategory&entity.cik=0001018724,0000320193,0000789019&fields=entity.name,period.fiscal-year.sort(ASC),period.fiscal-period.sort(ASC),period.end,fact.value,report.sec-url,fact.offset(0)

    Non-members will need to use the fact.offset(xx) switch to get later details. See #3 here: https://xbrl.us/forums/topic/how-to-get-a-sample-of-records-via-xbrl-api-for-evaluation/#post-116618 or ‘Paging’ in https://xbrl.us/xbrl-api-documentation for details.

You must be logged in to reply to this topic.

Comment