Ready to get started?

Learn more about the CData JDBC Driver for EDGAR Online or download a free trial:

Download Now

Connect to EDGAR Online Data in RazorSQL

Connect to EDGAR Online from wizards and query EDGAR Online data from the GUI in the RazorSQL database management tool.

The CData JDBC Driver for EDGAR Online enables standards-based access from third-party tools, from wizards in IDEs to data management and analysis tools. This article shows how to connect to EDGAR Online using wizards in RazorSQL.

Create a JDBC Data Source for EDGAR Online Data

  1. Open the RazorSQL application and, in the Connections menu, select Add Connection Profile -> Other -> JDBC.
  2. In the Connection Wizard that appears, set the following properties:
    • Driver Location: Set this property to the path to the lib subfolder in the installation directory.
    • Driver Class: Set the driver class to cdata.jdbc.edgaronline.EdgarOnlineDriver.
    • Username: Enter the username. (This property can also be set in the JDBC URL.)
    • Password: Enter the password. (This property can also be set in the JDBC URL.)
    • JDBC URL: Enter connection parameters. The JDBC URL begins with jdbc:edgaronline: and is followed by a semicolon-separated list of connection properties.

      1. Navigate to https://developer.edgar-online.com/ and create an account.
      2. Register a new application and retrieve the AppKey. You should select one of the available Web APIs this application will use like HackPack, Insider Trades or Institutional Ownership.
        Note: HackPack is the most important Web API that an application can use since it supports a large number of endpoints. If you are getting the "Access Denied" error you must create a new app and select the correct Web API which supports the resource you are querying.
      3. After successfully creating a new app, you can access your keys through your "my account" area. Set the AppKey connection property value equal to the Key of your application.

      Built-in Connection String Designer

      For assistance in constructing the JDBC URL, use the connection string designer built into the EDGAR Online JDBC Driver. Either double-click the JAR file or execute the jar file from the command-line.

      java -jar cdata.jdbc.edgaronline.jar

      Fill in the connection properties and copy the connection string to the clipboard.

      A typical JDBC URL is the following:

      jdbc:edgaronline:AppKey=20dd8ce9904d422ed89ebde1ad40d

Query EDGAR Online Data and Select Tables

After establishing a connection, the wizard will close and the connection will be available in the connections panel. You can then query the tables.