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 Aqua Data Studio



Access eBay Analytics data from tools in Aqua Data Studio such as the Visual Query Builder and the Table Data Editor.

The CData JDBC Driver for eBay Analytics integrates eBay Analytics data with wizards and analytics in IDEs like Aqua Data Studio. This article shows how to connect to eBay Analytics data through the connection manager and execute queries.

Create a JDBC Data Source

You can use the connection manager to define connection properties and save them in a new JDBC data source. The eBay Analytics data source can then be accessed from Aqua Data Studio tools.

  1. In Aqua Data Studio, select Register Server from the Servers menu.
  2. In the Register Server form, select the 'Generic - JDBC' connection.
  3. Enter the following JDBC connection properties:
    • Name: Enter a name for the data source; for example, eBay Analytics.
    • Driver Location: Click the Browse button and select the cdata.jdbc.ebayanalytics.jar file, located in the lib subfolder of the installation directory.
    • Driver: Enter the Driver's class name, cdata.jdbc.ebayanalytics.EbayAnalyticsDriver.
    • URL: Enter the JDBC URL, which starts 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 below:

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

Query eBay Analytics Data

You can now query the tables exposed.