Skip to Main Content

Knowledge Base

WRDS Web Query Form Download

You can download data from WRDS using the Web Query Form. See WRDS access help.

Some variables are not available in the Web Query Form. Ask Us if you have questions.

How to use the Web Query Form

There can be variations, but most follow this process. See also this video created by WRDS.

  1. Once you're logged into WRDS, select a dataset under Subscriptions or All Data.
    1. Each dataset has multiple files or sub-datasets for you to select from (e.g., to get to the Quarterly Updates Monthly Stock file in CRSP, you have to go to Subscriptions or All Data > CRSP > Quarterly Update > Stock/Security Files > Monthly Stock Files).
    2. The Web Query Form for each file will look similar to this.
  2. Step 1: Enter a date range.
  3. Step 2: Enter company codes, upload a .txt file, or search the entire database (this can take awhile).
    1. To upload a custom list of companies to get data for, create a .txt file with one company identifier per row. See instructions.
    2. Note: This must be a .txt file (use Notepad on a Windows computer or TextEdit on a Mac, or another text editor like Sublime Text).
    3. Note: Not all datasets accept the same company identifiers.
  4. Step 3: Select query variables.
  5. Step 4: Select the output (e.g. csv).
  6. Press Submit Query. If a new tab doesn't open automatically, click on the query's number in the banner notification saying the query was successfully submitted. When the download is complete, click the link in the results section to view and/or download the data.




Answered By: Alice Kalinowski
Oct 17, 2022

Related Library Tips

    Resource Use

    Most resources are only available to current Stanford students, faculty, and staff.

    Researchers are responsible for using these resources appropriately. See the eResources Usage policy.

    Accessibility Support

    Ask Us for accessibility support with library resources.