---
title: "SEC EDGAR API: Company financial facts | Perceptlayer"
description: "XBRL financial data a company reported to the SEC: one concept's values by period, such as Revenues, or every concept with its latest value."
url: https://perceptlayer.com/apis/sec-edgar/company-facts
---

[APIs](https://perceptlayer.com/apis) / [SEC EDGAR](https://perceptlayer.com/apis/sec-edgar) / Company financial facts

# SEC EDGAR: Company financial facts

XBRL financial data a company reported to the SEC: one concept's values by period, such as Revenues, or every concept with its latest value.

GET `/v1/sec-edgar/company-facts`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `company` | string | Required | Up to 10 characters Ticker (MSFT) or CIK (789019). |
| `concept` | string | Optional | Up to 150 characters XBRL concept name, for example Revenues, NetIncomeLoss or Assets. Leave out to list the concepts. |
| `taxonomy` | string | Optional | us-gaap, ifrs-full, dei, srt Taxonomy of the concept. Default us-gaap. |
| `period` | string | Optional | all, annual, quarterly Only annual (FY) or quarterly values. Default all. |
| `limit` | integer | Optional | Any Periods per unit with a concept, 1 to 200. Default 20. |

## Example request

SEC EDGAR

GET /v1/sec-edgar/company-facts?company=MSFT&concept=Revenues&period=annual&limit=5 

```
{
  "success": true,
  "data": {
    "cik": "0000789019",
    "name": "MICROSOFT CORP",
    "taxonomy": "us-gaap",
    "concept": "Revenues",
    "label": "Revenues",
    "description": "Amount of revenue recognized from goods sold, services rendered, insurance premiums, or other activities that constitute an earning process. Includes, but is not limited to, investment and interest income before deduction of interest expens…",
    "units": [
      {
        "unit": "USD",
        "count": 5,
        "facts": [
          {
            "value": 16039000000,
            "start": "2010-04-01",
            "end": "2010-06-30",
            "fiscal_year": 2010,
            "fiscal_period": "FY",
            "form": "10-K",
            "filed": "2010-07-30",
            "frame": "CY2010Q2",
            "accession_number": "0001193125-10-171791"
          },
          {
            "value": 62484000000,
            "start": "2009-07-01",
            "end": "2010-06-30",
            "fiscal_year": 2010,
            "fiscal_period": "FY",
            "form": "10-K",
            "filed": "2010-07-30",
            "frame": "CY2010",
            "accession_number": "0001193125-10-171791"
          },
          {
            "value": 14503000000,
            "start": "2010-01-01",
            "end": "2010-03-31",
            "fiscal_year": 2010,
            "fiscal_period": "FY",
            "form": "10-K",
            "filed": "2010-07-30",
            "frame": "CY2010Q1",
            "accession_number": "0001193125-10-171791"
          }
        ]
      }
    ]
  },
  "meta": {
    "request_id": "req_ede8c481ef574681aa23b896449daaf5",
    "credits_charged": 1,
    "credits_remaining": 176
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded from our API and shortened.

[Run this endpoint in the playground](https://perceptlayer.com/apis/sec-edgar?try=company-facts#playground) with your own parameters. 1 credit per successful call; failed calls are free.

## Response fields

`data` has these 7 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.

| Field | Type |
| --- | --- |
| `cik` | string |
| `name` | string |
| `taxonomy` | string |
| `concept` | string |
| `label` | string |
| `description` | string |
| `units` | object\[\] |
