You can use our API to download the product CSV file. However, the product API has a limitation of requests from the API user's perspective. In order to get access to the product API, an API endpoint owner must add you as a user.
Our Public API Endpoint can be accessed through the following address:
https://api.api53.com
Please note that we only accept TLS connections via the standard port 443 for our API.
To access the Product CSV through our API, you need the following parameters:
But don't worry, all parameters are automatically emailed to API end-users when adding new users. You can also view them on our dashboard at any time.
The API URL consists of the following resources:
https://api.api53.com/v1/products-csv/<API_ENDPOINT_ID>/<FILE_NAME>
The following example shows what a url might look like:
https://api.api53.com/v1/products-csv/1234567-66af-1234-adba-8ddc7f9d0a7b/products.csv
The following list represents our CSV attributes, which are always present in a CSV file.
Attribute | Type | Description |
---|---|---|
product_name | string | Product name |
sku | string | Product SKU |
quantity | number | Product quantity |
price | number | Product price |
brand | string | Product brand |
weight | string | Product weight |
category | string | Product category (serialized JSON array) |
image_thumbnail | string | URL of product image thumbnail |
image_base | string | URL of product image |
status | boolean | Product status, true = active, false = inactive |
description | string | Product full description |
custom_attributes | string | List of custom attributes sent with a product (serialized JSON) |
The attribute category consists of parent and child category. We have chosen this approach so that categories can be clearly identified. As the data type, we have decided to use JSON Multi-dimensional Array, since a product can have multiple categories. The JSON Multi-dimensional Array is in "stringify" format. Which means you have to use JSON parse to get them displayed correctly.
Let's look at the following example:
We have a product which is in two categories. In the category "Men" -> "T-Shirt" and the category "Special Offers" -> "New"
The Multi-dimensional Array would look like this for the example above (parsed, which means not stringified):
[ ["Men", "T-Shirt"], ["Special Offers", "New"] ]
The custom attributes can represent all other attributes that a product has. By default, all product data is sent to Api53. Thus, we also store other attributes in our database. The custom attributes are returned in a CSV as a string. The string is a stringified JSON object. To make use of them, just like category, you have to use JSON parse first.
All our API requests are limited and constantly monitored. The API requests are limited per API Secret Token. The requests are also limited to a time window of one month. How many API requests you can make depends on the plan purchased by whoever uses our service and provides you with the API users.
We distinguish between two subscription versions. A paid version and a free version of our product.
If you want to learn more about our product, please visit our Pricing page.
We do not create pagination for CSV files. This means that all products are in one file for version 1 of the API (/v1/). When loading our CSV file, please bear in mind that depending on the quantity of the products, a CSV can be very large.
As already described above, to be able to use our product API you need the following parameters:
Name | Format | Required | Description |
---|---|---|---|
API Endpoint ID | String | Yes | The target API endpoint ID to access the CSV. |
File Name | String | Yes | The target formatted filename. |
Api Key | X-Api-Key | Yes | The target API endpoint ID to access the CSV. |
Requests are generally formatted as follows:
GET object/:object_id
The status of a response can be determined from the HTTP status code:
Code | Status | Description |
---|---|---|
200 | OK | request successful |
304 | Not Modified | |
400 | Bad Request | request was invalid |
403 | Forbidden | request not authenticated |
The following example shows how to communicate with our API using cURL:
$ curl -X GET -H "X-Api-Key: ABC1234567890" https://api.api53.com/v1/products-csv/1234567-66af-1234-adba-8ddc7f9d0a7b/products.csv product_name,sku,quantity,price,brand,weight,category,image_thumbnail,image_base,status,description,custom_attributes ... ... ...
Notice
We and selected third parties use cookies or similar technologies for technical purposes and, with your consent, for other purposes (“basic interactions & functionalities” and “measurement”) as specified in the cookie policy. You can freely give, deny, or withdraw your consent at any time.
You can read more about our Priavacy Policy and Coookie Policy here: Privacy Policy