{
  "openapi": "3.0.1",
  "info": {
    "title": "Short Interest and Short Volume Scraper",
    "description": "Get FINRA short interest with days to cover and trend changes, daily short sale volume with 5 and 20 day ratios, and SEC fails to deliver for any US stock, back to 2020. Rank the whole market with a squeeze score. Export to CSV or Excel.",
    "version": "1.0",
    "x-build-id": "e45DQcvlBLHcWmVBZ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/parselab~finra-short-selling-short-interest-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-parselab-finra-short-selling-short-interest-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/parselab~finra-short-selling-short-interest-scraper/runs": {
      "post": {
        "operationId": "runs-sync-parselab-finra-short-selling-short-interest-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/parselab~finra-short-selling-short-interest-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-parselab-finra-short-selling-short-interest-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": {
          "maxItems": {
            "title": "Max Items",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "Free users: Limited to 10 items (preview). Paid users: Optional, max 1,000,000."
          },
          "mode": {
            "title": "What to collect",
            "enum": [
              "shortVolume",
              "shortInterest",
              "failsToDeliver",
              "symbolProfile",
              "squeezeScreen"
            ],
            "type": "string",
            "description": "Short volume gives the daily short sale volume per stock. Short interest gives the twice monthly shares sold short with days to cover and trends. Fails to deliver gives the SEC list of stocks with failed settlements. Symbol profile combines all three for the stocks you list. Squeeze screen ranks the whole market by a squeeze score.",
            "default": "shortVolume"
          },
          "symbols": {
            "title": "Stock symbols",
            "type": "array",
            "description": "Ticker symbols such as GME, AMC or TSLA. Leave empty to cover the whole market. Required for the symbol profile mode.",
            "items": {
              "type": "string"
            }
          },
          "lastDays": {
            "title": "Last N days",
            "minimum": 1,
            "maximum": 3000,
            "type": "integer",
            "description": "Collect the last N calendar days. Leave empty for the default of the mode (7 days for short volume, 20 for short interest, 30 for fails to deliver). Ignored when a start date is set."
          },
          "dateFrom": {
            "title": "Start date",
            "type": "string",
            "description": "First date to collect, written as YYYY-MM-DD, for example 2026-01-01. Short volume starts in 2020, short interest in 2020, fails to deliver in 2004."
          },
          "dateTo": {
            "title": "End date",
            "type": "string",
            "description": "Last date to collect, written as YYYY-MM-DD. Leave empty for today."
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "default",
              "shortVolumeRatio",
              "shortVolume",
              "totalVolume",
              "daysToCover",
              "shortInterestShares",
              "changePercent",
              "failsShares",
              "failsValueUsd",
              "squeezeScore"
            ],
            "type": "string",
            "description": "Order of the rows. The default is newest first, or the highest squeeze score first in the squeeze screen. Fields that do not exist in the chosen mode are ignored.",
            "default": "default"
          },
          "minShortVolumeRatio": {
            "title": "Minimum short volume ratio (%)",
            "minimum": 0,
            "maximum": 100,
            "type": "number",
            "description": "Short volume mode only. Keep only days where short sales were at least this percent of all volume, for example 60."
          },
          "minTotalVolume": {
            "title": "Minimum total volume",
            "minimum": 0,
            "type": "integer",
            "description": "Short volume mode only. Skip stocks that traded fewer shares than this on the day, which removes thinly traded names."
          },
          "includeVenues": {
            "title": "Add venue breakdown",
            "type": "boolean",
            "description": "Short volume mode only. Adds short volume, total volume and short ratio for each reporting venue (Nasdaq Carteret, Nasdaq Chicago, NYSE, FINRA ADF and OTC reporting). Slower, because each day needs five more files.",
            "default": false
          },
          "minDaysToCover": {
            "title": "Minimum days to cover",
            "minimum": 0,
            "type": "number",
            "description": "Short interest mode and squeeze screen. Keep only stocks where the short position equals at least this many days of average volume."
          },
          "minShortInterestShares": {
            "title": "Minimum shares sold short",
            "minimum": 0,
            "type": "integer",
            "description": "Short interest mode and squeeze screen. Keep only stocks with at least this many shares sold short."
          },
          "minChangePercent": {
            "title": "Minimum change in short interest (%)",
            "type": "number",
            "description": "Short interest mode. Keep only stocks whose short position grew by at least this percent since the previous report. Use a negative number to include declines."
          },
          "minAvgDailyVolume": {
            "title": "Minimum average daily volume",
            "minimum": 0,
            "type": "integer",
            "description": "Short interest mode and squeeze screen. Skip thinly traded stocks. The squeeze screen uses 100,000 when this is empty."
          },
          "marketClasses": {
            "title": "Market classes",
            "type": "array",
            "description": "Short interest mode and squeeze screen. Keep only these markets, for example NYSE, NASDAQ, ARCA, OTC or AMEX. Leave empty for all.",
            "items": {
              "type": "string"
            }
          },
          "minFailsShares": {
            "title": "Minimum failed shares",
            "minimum": 0,
            "type": "integer",
            "description": "Fails to deliver mode only. Keep only records with at least this many shares failing to settle."
          },
          "minFailsValueUsd": {
            "title": "Minimum failed value (US dollars)",
            "minimum": 0,
            "type": "integer",
            "description": "Fails to deliver mode only. Keep only records where failed shares times price reach this amount."
          },
          "minSqueezeScore": {
            "title": "Minimum squeeze score",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Squeeze screen only. Keep only stocks with a score of at least this value (0 to 100)."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}