Ready to get started?

Download a free trial of the eBay Analytics Driver to get started:

 Download Now

Learn more:

eBay Analytics Icon eBay Analytics JDBC Driver

Rapidly create and deploy powerful Java applications that integrate with eBay Analytics.

Connect to eBay Analytics Data in RazorSQL



Connect to eBay Analytics from wizards and query eBay Analytics data from the GUI in the RazorSQL database management tool.

The CData JDBC Driver for eBay Analytics 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 eBay Analytics using wizards in RazorSQL.

Create a JDBC Data Source for eBay Analytics 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.ebayanalytics.EbayAnalyticsDriver.
    • 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:ebayanalytics: and is followed by a semicolon-separated list of connection properties.

      You can authenticate to eBay Analytics only via the OAuth 2 authentication method. The eBay Analytics API requires an access token created with the authorization code grant flow to authorize the requests.

      You can follow the guide in the Help documentation for a step by step guide on how to authenticate using the OAuth 2 protocol.

      Built-in Connection String Designer

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

      java -jar cdata.jdbc.ebayanalytics.jar

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

      A typical JDBC URL is the following:

      jdbc:ebayanalytics:OAuthClientId=MyAppID;OAuthClientSecret=MyCertID;RuName=MyRuName;InitiateOAuth=GETANDREFRESH

Query eBay Analytics 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.