{
  "openapi": "3.0.1",
  "info": {
    "title": "SEC Form D Filing Monitor",
    "description": "Find public SEC Form D and D/A filings by date, CIK, issuer, industry, exemption, or amount. Get structured records with official SEC links and clear run status.",
    "version": "0.8",
    "x-build-id": "rsY886bwBavU0orqu"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/cliqtomedia~sec-edgar-form-d-funding-monitor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-cliqtomedia-sec-edgar-form-d-funding-monitor",
        "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/cliqtomedia~sec-edgar-form-d-funding-monitor/runs": {
      "post": {
        "operationId": "runs-sync-cliqtomedia-sec-edgar-form-d-funding-monitor",
        "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/cliqtomedia~sec-edgar-form-d-funding-monitor/run-sync": {
      "post": {
        "operationId": "run-sync-cliqtomedia-sec-edgar-form-d-funding-monitor",
        "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": "Run mode",
            "enum": [
              "snapshot",
              "backfill",
              "monitor"
            ],
            "type": "string",
            "description": "Snapshot, historical backfill or incremental monitor.",
            "default": "snapshot"
          },
          "discovery": {
            "title": "Discovery route",
            "enum": [
              "market",
              "cik",
              "accession"
            ],
            "type": "string",
            "description": "Official SEC market index, exact CIK history or exact accession.",
            "default": "market"
          },
          "startDate": {
            "title": "Start date",
            "type": "string",
            "description": "Inclusive SEC filing date, YYYY-MM-DD; omitted for the monitor default."
          },
          "endDate": {
            "title": "End date",
            "type": "string",
            "description": "Inclusive SEC filing date, not the current UTC date."
          },
          "daysBack": {
            "title": "Monitor days back",
            "minimum": 1,
            "maximum": 31,
            "type": "integer",
            "description": "Completed calendar days ending yesterday when no explicit range is supplied.",
            "default": 7
          },
          "ciks": {
            "title": "CIKs",
            "maxItems": 100,
            "type": "array",
            "description": "Exact ten-digit SEC CIKs; used by CIK discovery or as a filter.",
            "items": {
              "type": "string",
              "pattern": "^[0-9]{10}$"
            },
            "default": []
          },
          "accessionNumbers": {
            "title": "Accession numbers",
            "maxItems": 100,
            "type": "array",
            "description": "Exact SEC accessions with or without dashes; max 100.",
            "items": {
              "type": "string",
              "pattern": "^[0-9]{10}-?[0-9]{2}-?[0-9]{6}$"
            },
            "default": []
          },
          "issuerNameContains": {
            "title": "Issuer name contains",
            "maxLength": 200,
            "type": "string",
            "description": "Case-insensitive filed issuer-name fragment; no external resolver."
          },
          "statesOrCountries": {
            "title": "States or countries",
            "maxItems": 100,
            "type": "array",
            "description": "Filed issuer state or country values.",
            "items": {
              "type": "string",
              "maxLength": 100
            },
            "default": []
          },
          "industryGroups": {
            "title": "Industry groups",
            "maxItems": 50,
            "type": "array",
            "description": "Filed Form D industry group values.",
            "items": {
              "type": "string",
              "maxLength": 100
            },
            "default": []
          },
          "exemptionCodes": {
            "title": "Exemption codes",
            "maxItems": 30,
            "type": "array",
            "description": "Filed federal exemption codes.",
            "items": {
              "type": "string",
              "maxLength": 30
            },
            "default": []
          },
          "minTotalOfferingAmountUsd": {
            "title": "Minimum total offering amount",
            "minimum": 0,
            "type": "number",
            "description": "Filed USD value filter; not a verified funding filter."
          },
          "minAmountSoldUsd": {
            "title": "Minimum filed amount sold",
            "minimum": 0,
            "type": "number",
            "description": "Filed USD value filter; never presented as verified funding."
          },
          "includeRelatedPersons": {
            "title": "Include related persons",
            "type": "boolean",
            "description": "Include filed names and roles only; no address or enrichment.",
            "default": true
          },
          "includeSalesCompensation": {
            "title": "Include sales compensation",
            "type": "boolean",
            "description": "Include filed compensation fields and recipient names/roles where available.",
            "default": true
          },
          "stateKey": {
            "title": "Monitor state key",
            "pattern": "^[A-Za-z0-9._:-]+$",
            "maxLength": 120,
            "type": "string",
            "description": "Required for monitor; names an isolated checkpoint scope."
          },
          "stateAction": {
            "title": "State action",
            "enum": [
              "USE",
              "RESET",
              "IGNORE"
            ],
            "type": "string",
            "description": "USE/RESET for monitor; IGNORE is for stateless modes.",
            "default": "USE"
          },
          "overlapDays": {
            "title": "Monitor overlap days",
            "minimum": 0,
            "maximum": 31,
            "type": "integer",
            "description": "Replay window for late indexes and same-accession corrections.",
            "default": 7
          },
          "maxResults": {
            "title": "Maximum accepted rows",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Hard output cap; cap produces an explicit CAPPED status.",
            "default": 100
          },
          "maxFilingsScanned": {
            "title": "Maximum candidates scanned",
            "minimum": 1,
            "maximum": 20000,
            "type": "integer",
            "description": "Hard candidate cap; cap does not claim complete coverage.",
            "default": 5000
          },
          "maxRequests": {
            "title": "Maximum SEC requests",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Per-run request cap under the global 2 requests/second policy.",
            "default": 200
          },
          "maxRuntimeSeconds": {
            "title": "Maximum runtime seconds",
            "minimum": 30,
            "maximum": 900,
            "type": "integer",
            "description": "Bounded runtime guard.",
            "default": 240
          },
          "maxChargeUsd": {
            "title": "Maximum charge USD",
            "minimum": 0,
            "maximum": 5,
            "type": "number",
            "description": "Stops before the next accepted row would exceed the run charge cap.",
            "default": 1
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}