ECDB API

Our API enables effortless integration of raw ECDB data into your systems, eliminating the need for manual access to our tool. Save time and simplify your workflows with just a few API requests.

Key Functionalities

REST API Access:
Programmatic, read-only access to ECDB core data for customers.
Secure Integration:
Operates over HTTPS with API key authentication and JSON responses.
Error Handling:
Supports standard HTTP error codes for seamless integration.
OpenAPI Documentation:
Detailed endpoint descriptions provided in OpenAPI format.
Data Structure:
Reflects the layout and structure of the ECDB website.
Flexible Documentation Formats:
Available in Redoc and Swagger UI formats.

API Call Examples

Explore sample API requests that showcase how to retrieve essential eCommerce data. The examples include fetching individual store profiles and top store rankings using Curl and Python.

curl https://api.ecdb.com/stores/amazon.com -H 'Authorization: Bearer xxx' --compressed

Retrieve amazon.com's store profile

The request based on the Curl syntax demonstrates how to access Amazon.com's store profile using our API. It returns key data points, offering insights into the store's performance and eCommerce metrics.

import requests
response = requests.post(
    url="https://api.ecdb.com/stores",
    json={"country": "US", "pagesize": 10, "page": 1},
    headers={"Content-Type": "application/json", "Authorization": "Bearer xxx"}
)

Fetch the Top 10 Online Stores in the U.S.

The Python snippet illustrates how to retrieve data on the top 10 online stores in the U.S. through our API. The returned dataset includes essential information such as sales figures and market positions.

Ready To Get Started?

Find your perfect solution and let ECDB empower your eCommerce success.