{
  "openapi": "3.0.1",
  "info": {
    "title": "SEC Form D Offering Monitor - Filings & Amendment Changes",
    "description": "Track official Form D offerings and amendments with co-issuer deduplication, reported sales, first-sale dates and verified predecessor comparisons. Export source-linked observations and saved changes.",
    "version": "1.0",
    "x-build-id": "jElwd5pSNLw6As8Gz"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/maydit~sec-form-d-offering-monitor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-maydit-sec-form-d-offering-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/maydit~sec-form-d-offering-monitor/runs": {
      "post": {
        "operationId": "runs-sync-maydit-sec-form-d-offering-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/maydit~sec-form-d-offering-monitor/run-sync": {
      "post": {
        "operationId": "run-sync-maydit-sec-form-d-offering-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": {
          "filingUrls": {
            "title": "SEC filing index URLs",
            "type": "array",
            "description": "Optional: up to 25 https://www.sec.gov/Archives/edgar/data/.../...-index.htm URLs. Leave empty for one recent feed response. Each accession produces at most one row, including co-issuers.",
            "items": {
              "type": "string"
            }
          },
          "maxResults": {
            "title": "Maximum saved filings",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Maximum confirmed observations. A result cap is a sample, not proof that every feed filing was processed.",
            "default": 5
          },
          "includePredecessor": {
            "title": "Compare linked amendment predecessor",
            "type": "boolean",
            "description": "For D/A only, fetch its linked previous accession when at least 15 seconds and 2 requests remain. Shows cumulative reported differences. Unavailable comparisons are flagged.",
            "default": false
          },
          "formTypes": {
            "title": "Form types",
            "type": "array",
            "description": "Exact D, D/A or both. Other D-prefixed forms are excluded.",
            "items": {
              "type": "string"
            },
            "default": [
              "D",
              "D/A"
            ]
          },
          "industries": {
            "title": "Industry text filters",
            "type": "array",
            "description": "Case-insensitive substring match on source industry group, such as Oil and Gas or Pooled Investment Fund. Applies only within the selected feed or URLs.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "issuerStates": {
            "title": "Primary issuer state or country codes",
            "type": "array",
            "description": "Two-character SEC codes, such as TX or CA. Matches primary issuer business location, not every co-issuer or investor.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "minAmountSoldUsd": {
            "title": "Minimum reported amount sold (USD)",
            "minimum": 0,
            "type": "number",
            "description": "Cumulative amountSoldUsd. Zero includes pre-sale offerings. Not a funding-round size or an amount raised since the previous run.",
            "default": 0
          },
          "filedSince": {
            "title": "Filed on or after",
            "type": "string",
            "description": "Optional YYYY-MM-DD filter on SEC filing date, not first sale. Does not backfill older history."
          },
          "filedUntil": {
            "title": "Filed on or before",
            "type": "string",
            "description": "Optional YYYY-MM-DD filter on SEC filing date."
          },
          "comparePrevious": {
            "title": "Compare with saved observations",
            "type": "boolean",
            "description": "First run establishes history only for confirmed saved filings. Later runs classify the same accession as new, changed or unchanged. Separate from predecessor comparison.",
            "default": false
          },
          "onlyChanges": {
            "title": "Save only new or changed filings",
            "type": "boolean",
            "description": "Enables comparison and skips unchanged accessions. Zero rows can be valid. With a small output cap, later runs may find unseen filings further down the feed.",
            "default": false
          },
          "snapshotName": {
            "title": "History namespace",
            "type": "string",
            "description": "Use 1-80 letters, numbers, underscores or hyphens. One writer per scope; an optimistic conflict check detects already changed history but is not a distributed lock.",
            "default": "default"
          },
          "feedEntries": {
            "title": "Recent feed entries to inspect",
            "minimum": 10,
            "maximum": 100,
            "type": "integer",
            "description": "10-100 entries from one SEC Atom response. Exact form filtering and co-issuer deduplication can leave fewer filings. No historical pagination.",
            "default": 100
          },
          "maxRequests": {
            "title": "Maximum SEC requests",
            "minimum": 3,
            "maximum": 150,
            "type": "integer",
            "description": "Hard cap including feed, indices, XML and optional predecessors. No retries on 403/429. Serial requests are paced at least 200 ms apart.",
            "default": 40
          },
          "maxRunSeconds": {
            "title": "Run budget (seconds)",
            "minimum": 30,
            "maximum": 240,
            "type": "integer",
            "description": "Source work shares this deadline, with shutdown and platform timeout reserves. A time stop is reported as incomplete.",
            "default": 60
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}