SEC Filings

SEC Filings · GPT 작업

SEC Filings API

An API to retrieve SEC filings for companies.

  • GET /stock/filingsGet SEC Filings

    List a company's filings with options to filter by symbol, CIK, access number, form type, and date range.

원본 API 스키마
{
  "openapi": "3.1.0",
  "info": {
    "title": "SEC Filings API",
    "description": "An API to retrieve SEC filings for companies.",
    "version": "v1.0.0"
  },
  "servers": [
    {
      "url": "https://finnhub.io/api/v1"
    }
  ],
  "paths": {
    "/stock/filings": {
      "get": {
        "summary": "Get SEC Filings",
        "operationId": "getSECFilings",
        "description": "List a company's filings with options to filter by symbol, CIK, access number, form type, and date range.",
        "parameters": [
          {
            "in": "query",
            "name": "symbol",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Symbol of the company."
          },
          {
            "in": "query",
            "name": "cik",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "CIK of the company."
          },
          {
            "in": "query",
            "name": "accessNumber",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Access number of a specific report."
          },
          {
            "in": "query",
            "name": "form",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Filter by form type."
          },
          {
            "in": "query",
            "name": "from",
            "required": false,
            "schema": {
              "type": "string",
              "format": "date"
            },
            "description": "Start date for the filing period."
          },
          {
            "in": "query",
            "name": "to",
            "required": false,
            "schema": {
              "type": "string",
              "format": "date"
            },
            "description": "End date for the filing period."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response with a list of SEC filings.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SECFilingsResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "FinnhubToken": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "SECFilingsResponse": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/Filing"
        }
      },
      "Filing": {
        "type": "object",
        "properties": {
          "accessNumber": {
            "type": "string"
          },
          "symbol": {
            "type": "string"
          },
          "cik": {
            "type": "string"
          },
          "form": {
            "type": "string"
          },
          "filedDate": {
            "type": "string",
            "format": "date-time"
          },
          "acceptedDate": {
            "type": "string",
            "format": "date-time"
          },
          "filingUrl": {
            "type": "string",
            "format": "uri"
          },
          "reportUrl": {
            "type": "string",
            "format": "uri"
          }
        }
      }
    },
    "securitySchemes": {
      "FinnhubToken": {
        "type": "apiKey",
        "in": "header",
        "name": "X-Finnhub-Token"
      }
    }
  },
  "security": [
    {
      "FinnhubToken": []
    }
  ]
}