{
  "openapi": "3.0.1",
  "info": {
    "title": "SEC EDGAR API: Filings & XBRL Financials",
    "description": "Query SEC EDGAR by ticker or CIK. Returns filing history with form types, dates and document links; XBRL financial facts for chosen concepts; or full-text search hits across all filings. Readable company data for equity research, compliance monitoring and financial datasets. No API key needed.",
    "version": "0.1",
    "x-build-id": "WmOgnaUNYBRr1cTas"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/axiorasolutions~sec-edgar-api/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-axiorasolutions-sec-edgar-api",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/axiorasolutions~sec-edgar-api/runs": {
      "post": {
        "operationId": "runs-sync-axiorasolutions-sec-edgar-api",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/axiorasolutions~sec-edgar-api/run-sync": {
      "post": {
        "operationId": "run-sync-axiorasolutions-sec-edgar-api",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "required": [
          "queries"
        ],
        "properties": {
          "queries": {
            "title": "Tickers, CIKs, or search terms",
            "minItems": 1,
            "uniqueItems": true,
            "type": "array",
            "description": "What to look up. Mode determines the meaning. For filings and facts: ticker symbols (AAPL, MSFT) or 10-digit CIKs (0000320193). For full-text search: keyword or phrase (\"generative AI\"). Mix formats freely.",
            "items": {
              "type": "string"
            }
          },
          "mode": {
            "title": "Mode",
            "enum": [
              "filings",
              "facts",
              "search"
            ],
            "type": "string",
            "description": "filings: submission history for each ticker or CIK, filterable by form type. facts: XBRL financial values for named concepts. search: full-text search across all filings for keywords.",
            "default": "filings"
          },
          "formTypes": {
            "title": "Form types",
            "type": "array",
            "description": "Keep only filings of these form types. Common: 10-K, 10-Q, 8-K, 4, DEF 14A, S-1. Leave empty to keep everything. Only used in filings mode.",
            "items": {
              "type": "string"
            }
          },
          "maxFilingsPerCompany": {
            "title": "Max filings per company",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Newest-first. A value of 4 with formTypes=[\"10-K\"] returns the last four annual reports.",
            "default": 20
          },
          "filedAfter": {
            "title": "Filed after",
            "type": "string",
            "description": "Keep only filings filed on or after this date. Accepts 2026-01-01 or a relative value such as 1 year."
          },
          "concepts": {
            "title": "XBRL concepts",
            "type": "array",
            "description": "Financial line items to fetch in facts mode. Use the US GAAP taxonomy name exactly: Revenues, NetIncomeLoss, Assets, Liabilities, CashAndCashEquivalentsAtCarryingValue, StockholdersEquity, EarningsPerShareBasic, OperatingIncomeLoss. Taxonomy defaults to us-gaap; prefix with dei: for DEI concepts like EntityPublicFloat.",
            "items": {
              "type": "string"
            }
          },
          "unitsFilter": {
            "title": "Units filter",
            "type": "string",
            "description": "Keep only XBRL fact values denominated in this unit: USD, shares, pure. Leave empty to keep everything."
          },
          "searchForms": {
            "title": "Limit search to form types",
            "type": "array",
            "description": "Limit full-text search results to these form types. Leave empty to search all filings. Only used in search mode.",
            "items": {
              "type": "string"
            }
          },
          "searchDateRange": {
            "title": "Search date range",
            "enum": [
              "",
              "1y",
              "2y",
              "5y",
              "10y"
            ],
            "type": "string",
            "description": "Limit full-text search to filings within this period: 1y, 2y, 5y, or 10y back from today. Leave empty for all time."
          },
          "maxSearchHits": {
            "title": "Max search hits",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "EDGAR full-text search returns at most 10 hits per page. This Actor pages until it reaches your limit or EDGAR has no more results.",
            "default": 50
          },
          "maxTotal": {
            "title": "Max records for the whole run",
            "minimum": 1,
            "maximum": 50000,
            "type": "integer",
            "description": "Hard ceiling across all queries and modes.",
            "default": 2000
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}