{
  "openapi": "3.0.1",
  "info": {
    "title": "SEC EDGAR Scraper - Filings, Form 4 Insider Trades $0.50/1K",
    "description": "SEC EDGAR data from the official SEC APIs: company filings (10-K, 10-Q, 8-K) with document links, full-text search, Form 4 insider trades with shares, price and holdings, and XBRL financials. $0.50 per 1,000 results.",
    "version": "0.1",
    "x-build-id": "LtgKdgP0ZZP8J8X4t"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/plotpointtech~sec-edgar-filings-insider-trades/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-plotpointtech-sec-edgar-filings-insider-trades",
        "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/plotpointtech~sec-edgar-filings-insider-trades/runs": {
      "post": {
        "operationId": "runs-sync-plotpointtech-sec-edgar-filings-insider-trades",
        "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/plotpointtech~sec-edgar-filings-insider-trades/run-sync": {
      "post": {
        "operationId": "run-sync-plotpointtech-sec-edgar-filings-insider-trades",
        "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": "What to get",
            "enum": [
              "filings",
              "insiderTrades",
              "fullTextSearch",
              "companyFacts"
            ],
            "type": "string",
            "description": "Filings: a company's filing list with document links. Insider trades: every transaction parsed from Form 4 filings. Full-text search: documents containing your words or phrase. Company facts: XBRL financial values (revenue, net income, assets...) by period.",
            "default": "filings"
          },
          "companies": {
            "title": "Companies (tickers or CIK numbers)",
            "type": "array",
            "description": "Stock tickers (AAPL, BRK.B) or SEC CIK numbers (320193). For insider trades you can also enter an insider's own CIK to get their trades across companies. For full-text search this is optional: leave empty to search all filers.",
            "items": {
              "type": "string"
            }
          },
          "formTypes": {
            "title": "Form types",
            "type": "array",
            "description": "Only these forms, e.g. 10-K, 10-Q, 8-K, DEF 14A, S-1, 13F-HR, SC 13D. Leave empty for all. In company facts mode this filters by the form that reported the value (e.g. 10-K for annual figures). Ignored in insider trades mode (always Form 4).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "startDate": {
            "title": "From date",
            "type": "string",
            "description": "Earliest filing date (YYYY-MM-DD). In company facts mode this applies to the period end date."
          },
          "endDate": {
            "title": "To date",
            "type": "string",
            "description": "Latest filing date (YYYY-MM-DD). Defaults to today."
          },
          "daysBack": {
            "title": "Or: last N days",
            "minimum": 1,
            "maximum": 20000,
            "type": "integer",
            "description": "Shortcut for the from date: only the last N days. Ignored when a from date is set."
          },
          "maxResults": {
            "title": "Maximum results per company",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Stop after this many rows per company (filings or insider transactions), per company and concept (company facts), or per search (full-text search). Newest first.",
            "default": 50
          },
          "includeAmendments": {
            "title": "Include amendments (/A)",
            "type": "boolean",
            "description": "When filtering by form type, also include amended versions (10-K/A for 10-K, 4/A for Form 4).",
            "default": true
          },
          "searchQuery": {
            "title": "Full-text search query",
            "type": "string",
            "description": "Full-text search mode. Words or an exact phrase in quotes, e.g. \"going concern\" or tariffs. Searches the text of filings and exhibits since 2001 (EDGAR full-text search). Up to 10,000 hits per search."
          },
          "onePerFiling": {
            "title": "Full-text search: one row per filing",
            "type": "boolean",
            "description": "EDGAR returns one hit per matching document (main document and each exhibit). Turn on to keep only the best-matching document of each filing.",
            "default": false
          },
          "transactionCodes": {
            "title": "Insider trades: transaction codes",
            "type": "array",
            "description": "Only these Form 4 codes, e.g. P (open-market purchase), S (sale), A (award), M (option exercise), F (tax withholding), G (gift). Leave empty for all.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "includeDerivativeTransactions": {
            "title": "Insider trades: include derivative transactions",
            "type": "boolean",
            "description": "Also return options, RSUs and other derivative rows (Table II of Form 4), not just shares.",
            "default": true
          },
          "concepts": {
            "title": "Company facts: XBRL concepts",
            "type": "array",
            "description": "us-gaap concept names such as Revenues, NetIncomeLoss, Assets, EarningsPerShareDiluted, or with a taxonomy prefix such as dei:EntityCommonStockSharesOutstanding or ifrs-full:Revenue. Enter * for every concept the company reports. Leave empty for a standard set of 9 headline figures.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "periodType": {
            "title": "Company facts: periods",
            "enum": [
              "all",
              "annual",
              "quarterly"
            ],
            "type": "string",
            "description": "Annual (about 12 months), quarterly (about 3 months) or all. Point-in-time values such as assets are always kept.",
            "default": "all"
          },
          "onePerPeriod": {
            "title": "Company facts: one value per period",
            "type": "boolean",
            "description": "Keep one value per calendar period (SEC's de-duplicated 'frame', usually the latest filed figure). Turn off to get every value as reported in every filing, including restated prior-year comparatives.",
            "default": true
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}