{
  "openapi": "3.0.1",
  "info": {
    "title": "SEC EDGAR Full-Text Search Scraper",
    "description": "Search all SEC filings (10-K, 8-K, S-1, etc.) by any keyword or phrase via EDGAR full-text search. Extract company name, ticker, CIK, form type, filing date, accession number, and file URL. No API key required.",
    "version": "1.0",
    "x-build-id": "mEt1nPcqqRi0ajtec"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/logiover~sec-edgar-fulltext-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-logiover-sec-edgar-fulltext-scraper",
        "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/logiover~sec-edgar-fulltext-scraper/runs": {
      "post": {
        "operationId": "runs-sync-logiover-sec-edgar-fulltext-scraper",
        "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/logiover~sec-edgar-fulltext-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-logiover-sec-edgar-fulltext-scraper",
        "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": {
          "query": {
            "title": "Search Query",
            "type": "string",
            "description": "Full-text keyword or phrase to search across all SEC filings (e.g. 'artificial intelligence risk', 'cryptocurrency exposure', 'supply chain disruption'). Leave empty to run the default broad search and pull recent filings."
          },
          "forms": {
            "title": "Form Types (optional)",
            "uniqueItems": true,
            "type": "array",
            "description": "Filter by one or more SEC form types. Leave empty to search all forms.",
            "items": {
              "type": "string",
              "enum": [
                "10-K",
                "10-Q",
                "8-K",
                "S-1",
                "S-3",
                "S-4",
                "424B5",
                "20-F",
                "40-F",
                "6-K",
                "DEF 14A",
                "DEFA14A",
                "DEFM14A",
                "PRE 14A",
                "13F-HR",
                "SC 13D",
                "SC 13G",
                "SC 14D9",
                "SC TO-T",
                "4",
                "3",
                "5",
                "11-K",
                "10-K/A",
                "10-Q/A",
                "8-K/A",
                "N-1A",
                "N-CSR",
                "N-Q",
                "497",
                "F-1",
                "F-3",
                "F-4",
                "425",
                "POS AM",
                "CORRESP",
                "UPLOAD"
              ],
              "enumTitles": [
                "10-K (annual report)",
                "10-Q (quarterly report)",
                "8-K (current report)",
                "S-1 (IPO registration)",
                "S-3 (shelf registration)",
                "S-4 (M&A registration)",
                "424B5 (prospectus)",
                "20-F (foreign annual report)",
                "40-F (Canadian annual)",
                "6-K (foreign current report)",
                "DEF 14A (proxy statement)",
                "DEFA14A (additional proxy)",
                "DEFM14A (merger proxy)",
                "PRE 14A (preliminary proxy)",
                "13F-HR (institutional holdings)",
                "SC 13D (>5% activist stake)",
                "SC 13G (>5% passive stake)",
                "SC 14D9 (tender recommendation)",
                "SC TO-T (tender offer)",
                "Form 4 (insider transaction)",
                "Form 3 (initial insider)",
                "Form 5 (annual insider)",
                "11-K (employee benefit plan)",
                "10-K/A (amended annual)",
                "10-Q/A (amended quarterly)",
                "8-K/A (amended current)",
                "N-1A (fund registration)",
                "N-CSR (fund shareholder report)",
                "N-Q (fund holdings)",
                "497 (fund prospectus)",
                "F-1 (foreign IPO)",
                "F-3 (foreign shelf)",
                "F-4 (foreign M&A)",
                "425 (merger comms)",
                "POS AM (post-effective amendment)",
                "CORRESP (SEC correspondence)",
                "UPLOAD (SEC comment letter)"
              ]
            },
            "default": []
          },
          "sort": {
            "title": "Sort Order",
            "enum": [
              "relevance",
              "dateDesc",
              "dateAsc"
            ],
            "type": "string",
            "description": "Order of returned rows. 'Relevance' uses EDGAR's full-text ranking. 'Newest first' / 'Oldest first' re-sort the collected results by filing date.",
            "default": "relevance"
          },
          "dateFrom": {
            "title": "Date From (optional)",
            "type": "string",
            "description": "Start date filter in YYYY-MM-DD format (e.g. 2023-01-01). Leave empty for no start date filter.",
            "default": ""
          },
          "dateTo": {
            "title": "Date To (optional)",
            "type": "string",
            "description": "End date filter in YYYY-MM-DD format (e.g. 2024-12-31). Leave empty for no end date filter.",
            "default": ""
          },
          "maxResults": {
            "title": "Max Results",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Maximum number of filing results to return. Default 200, max 10000.",
            "default": 200
          },
          "proxyConfiguration": {
            "title": "Proxy Configuration",
            "type": "object",
            "description": "Apify proxy settings. Defaults to Apify Proxy (AUTO). SEC EDGAR is an open government server, so a direct connection is used automatically as a fallback if the proxy fails.",
            "default": {
              "useApifyProxy": 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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}