{
  "openapi": "3.0.1",
  "info": {
    "title": "SEC Filings API: Insider Trades, 13F, 8-K, Form D",
    "description": "Standby REST API for SEC EDGAR: Form 4 insider trades, 13F holdings and quarter-over-quarter changes, 8-K events, Form D funding rounds, full-text search and XBRL financials as clean JSON. 23 endpoints. Support: Telegram @pintoflow",
    "version": "1.1",
    "x-build-id": "pVHouE51cZBeDhom2"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/pintostudio~sec-filings-api/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-pintostudio-sec-filings-api",
        "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/pintostudio~sec-filings-api/runs": {
      "post": {
        "operationId": "runs-sync-pintostudio-sec-filings-api",
        "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/pintostudio~sec-filings-api/run-sync": {
      "post": {
        "operationId": "run-sync-pintostudio-sec-filings-api",
        "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",
        "required": [
          "operation"
        ],
        "properties": {
          "operation": {
            "title": "Operation",
            "enum": [
              "company.search",
              "company.profile",
              "company.filings",
              "insiders.trades",
              "insiders.summary",
              "insiders.clusterBuys",
              "insiders.person",
              "insiders.latest",
              "thirteenf.search",
              "thirteenf.holdings",
              "thirteenf.history",
              "thirteenf.changes",
              "thirteenf.latest",
              "eightk.list",
              "eightk.detail",
              "eightk.latest",
              "formd.search",
              "formd.list",
              "formd.detail",
              "formd.latest",
              "search.filings",
              "financials.facts",
              "financials.concept"
            ],
            "type": "string",
            "description": "Which endpoint to call. This Actor can also run as an always-on Standby API with ~25 routes instead — see the README.",
            "default": "company.profile"
          },
          "id": {
            "title": "Ticker or CIK",
            "type": "string",
            "description": "Company/issuer/institution identifier, e.g. \"AAPL\" or \"320193\". Used by: company.profile, company.filings, insiders.trades/summary/clusterBuys/person, thirteenf.holdings/history/changes, eightk.list/detail, formd.list/detail, financials.facts/concept."
          },
          "q": {
            "title": "Search query",
            "type": "string",
            "description": "Name/ticker to search for, or full-text query. Used by: company.search, thirteenf.search, formd.search, search.filings."
          },
          "accession": {
            "title": "Accession number",
            "type": "string",
            "description": "A specific filing's accession number, e.g. \"0000320193-26-000018\". Used by: eightk.detail, formd.detail."
          },
          "limit": {
            "title": "Limit",
            "type": "integer",
            "description": "Max rows to return. Used by most list-type operations."
          },
          "since": {
            "title": "Since (YYYY-MM-DD)",
            "type": "string",
            "description": "Only return filings on/after this date. Used by: company.filings, insiders.trades, eightk.list, formd.list."
          },
          "form": {
            "title": "Form type filter",
            "type": "string",
            "description": "e.g. \"4\" or \"8-K\". Used by: company.filings, insiders.trades."
          },
          "days": {
            "title": "Window (days)",
            "type": "integer",
            "description": "Lookback window in days. Used by: insiders.summary (default 90), insiders.clusterBuys (default 30)."
          },
          "minInsiders": {
            "title": "Minimum distinct insiders",
            "type": "integer",
            "description": "Used by: insiders.clusterBuys (default 2)."
          },
          "count": {
            "title": "Count",
            "type": "integer",
            "description": "How many of the latest market-wide filings to return. Used by: insiders.latest, thirteenf.latest, eightk.latest, formd.latest."
          },
          "item": {
            "title": "8-K item code filter",
            "type": "string",
            "description": "e.g. \"5.02\". Used by: eightk.list."
          },
          "items": {
            "title": "8-K item codes filter (comma-separated)",
            "type": "string",
            "description": "e.g. \"5.02,2.02\". Used by: eightk.latest."
          },
          "text": {
            "title": "Extract plain text",
            "type": "boolean",
            "description": "Used by: eightk.detail.",
            "default": false
          },
          "forms": {
            "title": "Form types filter (comma-separated)",
            "type": "string",
            "description": "e.g. \"8-K,10-K\". Used by: search.filings."
          },
          "startdt": {
            "title": "Start date (YYYY-MM-DD)",
            "type": "string",
            "description": "Used by: search.filings."
          },
          "enddt": {
            "title": "End date (YYYY-MM-DD)",
            "type": "string",
            "description": "Used by: search.filings."
          },
          "ciks": {
            "title": "CIKs filter (comma-separated)",
            "type": "string",
            "description": "Used by: search.filings."
          },
          "tag": {
            "title": "XBRL concept tag",
            "type": "string",
            "description": "e.g. \"Assets\" or \"Revenues\". Used by: financials.concept."
          },
          "taxonomy": {
            "title": "XBRL taxonomy",
            "type": "string",
            "description": "Used by: financials.concept.",
            "default": "us-gaap"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}