{
  "openapi": "3.0.1",
  "info": {
    "title": "SEC EDGAR Intel: Filings, Financials & Full-Text Search",
    "description": "Turn SEC EDGAR into structured data. Track any US public company's filings (10-K, 8-K, 13F and more), pull clean XBRL financials as a time series, or run full-text search across every filing. Official SEC public data, no API key, no proxy. Delta mode for recurring filing and keyword monitoring.",
    "version": "1.0",
    "x-build-id": "S852Q16JFhqaeQ7Sc"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/obsidian937~sec-edgar-intel/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-obsidian937-sec-edgar-intel",
        "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/obsidian937~sec-edgar-intel/runs": {
      "post": {
        "operationId": "runs-sync-obsidian937-sec-edgar-intel",
        "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/obsidian937~sec-edgar-intel/run-sync": {
      "post": {
        "operationId": "run-sync-obsidian937-sec-edgar-intel",
        "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",
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "filings",
              "financials",
              "search"
            ],
            "type": "string",
            "description": "What to extract: company filings, XBRL financials, or a full-text search across filings.",
            "default": "filings"
          },
          "companies": {
            "title": "Companies (tickers or CIKs)",
            "type": "array",
            "description": "Ticker symbols (e.g. \"AAPL\", \"MSFT\") or raw CIK numbers (e.g. \"320193\"). Used by filings and financials modes.",
            "default": [
              "AAPL"
            ],
            "items": {
              "type": "string"
            }
          },
          "forms": {
            "title": "Form types",
            "type": "array",
            "description": "Filter to specific filing forms, e.g. \"10-K\", \"10-Q\", \"8-K\", \"S-1\", \"13F-HR\", \"4\". Empty = all forms. Used by filings and search modes.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "concepts": {
            "title": "XBRL concepts",
            "type": "array",
            "description": "US-GAAP concept tags to pull, e.g. \"Revenues\", \"NetIncomeLoss\", \"Assets\". Empty = a sensible default set of headline financials. Used by financials mode.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "taxonomy": {
            "title": "Taxonomy",
            "enum": [
              "us-gaap",
              "ifrs-full",
              "dei"
            ],
            "type": "string",
            "description": "XBRL taxonomy for the concepts (financials mode). Almost always us-gaap.",
            "default": "us-gaap"
          },
          "annualOnly": {
            "title": "Annual figures only",
            "type": "boolean",
            "description": "Keep only annual-report facts (10-K / 20-F), dropping quarterly noise (financials mode).",
            "default": false
          },
          "searchQuery": {
            "title": "Search query",
            "type": "string",
            "description": "Full-text query across filings. Quote a phrase for exact match, e.g. '\"artificial intelligence\"' or '\"going concern\"' (search mode).",
            "default": ""
          },
          "startdt": {
            "title": "Start date",
            "type": "string",
            "description": "Earliest filing date, e.g. \"2026-01-01\" (search mode).",
            "default": ""
          },
          "enddt": {
            "title": "End date",
            "type": "string",
            "description": "Latest filing date, e.g. \"2026-06-30\" (search mode).",
            "default": ""
          },
          "deltaMode": {
            "title": "Delta / monitor mode",
            "type": "boolean",
            "description": "Only emit filings new since the previous run (per-account state). Turns the actor into a recurring filing or keyword monitor. Pair with a schedule + webhook for alerts. Used by filings and search modes.",
            "default": false
          },
          "userAgent": {
            "title": "User-Agent (contact)",
            "type": "string",
            "description": "SEC requires a descriptive User-Agent carrying a contact, e.g. \"Acme Research jane@acme.com\". Optional: a working default is used if left empty.",
            "default": ""
          },
          "maxItems": {
            "title": "Max items",
            "type": "integer",
            "description": "Cap on records to return across all companies. Full-text search is capped at 1000 by the SEC API.",
            "default": 200
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}