Store Competition Analysis API Documentation
This document contains two related API endpoints to fully implement the store competition analysis feature:
- Product Options List API Endpoint (
/v3/api/open/store/detail/competition/products): Get a list of all products under a store for filtering specific products for competition analysis - Competition Store List API Endpoint (
/v3/api/open/store/detail/competition): Get a list of the store's competitors
API Endpoint 1: Get Store Product Options List
API Endpoint Information
- API Endpoint Name: Get Store Product Options List (for competition analysis filtering)
- Request Method: GET
- API Endpoint Address:
/open-api/v1/data - API Endpoint Path:
/v3/api/open/store/detail/competition/products - API Endpoint Description: Get the ID and image information of all products under the specified store. The product ID (
idfield) returned by this API endpoint can be used as theproduct_idparameter of the competition store list API endpoint to filter competition analysis based on specific products. Usage Suggestion: Before calling the competition store list API endpoint, it is recommended to first call this API endpoint to get the product list, let users choose the products to analyze, or directly pass all products for comprehensive competition analysis. - Pricing:
Free
Request Headers:
- Content-Type: application/json
- Accept: application/json
Request Parameters
Request Structure
| Parameter Name | Type | Description | Example | Required | Default |
|---|---|---|---|---|---|
key | string | User's external API request key | "your_api_key_here" | Yes | |
uri | string | API Endpoint path | "/v3/api/open/store/detail/competition/products" | Yes | |
params | object | API Endpoint input parameter object | See parameter list | Yes |
Request Body Parameters (params object)
| Parameter Name | Type | Required | Default | Description |
|---|---|---|---|---|
id | String | Yes | - | Store ID is a 13-character string (e.g., c2d5b2547218a), corresponding to the store_id field in the store ranking list API endpoint response |
Request Example
curl -X GET "https://www.pipispy.com/open-api/v1/data" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"key": "your_api_key_here",
"uri": "/v3/api/open/store/detail/competition/products",
"params": {
"id": "cac90b02df723"
}
}'
Response Parameters
Response Body Structure
{
"code": 200,
"message": "success",
"data": {
"data": []
},
"version": "v1",
"timestamp": null,
"sign": null,
"remaining_credits": 9980,
"consumed_credits": 0,
"success": true,
"fail": false
}
Response Field Descriptions
| Field Name | Type | Description |
|---|---|---|
code | Integer | Response status code, 200 means success |
message | String | Response message description |
data | Object | Response data main body |
data.data | Array | Product information list array |
version | String | API version number |
timestamp | String | Response timestamp |
sign | String | Response signature (reserved field) |
remaining_credits | Long | Current remaining available credits after this request |
consumed_credits | Long | Credits consumed by this request |
success | Boolean | Boolean value indicating if request was successful |
fail | Boolean | Boolean value indicating if request failed |
Product Information Fields (data.data[])
| Field Name | Type | Description |
|---|---|---|
id | String | Product unique identifier ID (MongoDB ObjectId format). Important: This ID can be directly used as the product_id parameter of the competition store list API endpoint to filter competitors based on this product |
icon | String | Product image full URL address. Images are hosted on CDN, format: "https://cdn-product.pipiads.com/xxxxx.jpg". This image is the main image or first image of the product, used to display product thumbnails in the UI interface for easy user identification and selection |
Response Example
{
"code": 200,
"message": "success",
"data": {
"data": [
{
"id": "62739afc38365b2f72048ebe",
"icon": "https://cdn-product.pipiads.com/images/product_image_001.jpg"
},
{
"id": "62739b0438365b2f72048ebf",
"icon": "https://cdn-product.pipiads.com/images/product_image_002.jpg"
},
{
"id": "62739b1238365b2f72048ec0",
"icon": "https://cdn-product.pipiads.com/images/product_image_003.jpg"
}
]
},
"version": "v1",
"timestamp": null,
"sign": null,
"remaining_credits": 9980,
"consumed_credits": 0,
"success": true,
"fail": false
}
Usage Instructions
- Get Product List: Call this API endpoint to get the IDs and images of all products under the store
- User Product Selection: Display the product image list in the frontend interface and let users select the products to analyze
- Pass Product ID: Pass the selected product ID to the
product_idparameter of the competition store list API endpoint - Full Store Analysis: If you want to perform competition analysis based on all products of the store, you can skip calling this API endpoint and directly call the competition store list API endpoint without passing the
product_idparameter
Error Code Descriptions
| Error Code | Description | Solution |
|---|---|---|
200 | Success | - |
400 | Request parameter error | Check if the id format is correct (must be a valid MongoDB ObjectId) |
401 | Unauthorized | Check if the API Key is valid and not expired |
403 | Insufficient permissions | Check if the API Key has permission to access this API endpoint |
404 | Store does not exist | Check if the id is correct and if the store has been deleted from the system |
500 | Internal server error | Contact technical support or retry later |
API Endpoint 2: Get Store Competition Analysis List
API Endpoint Information
- API Endpoint Name: Get Store Competition Analysis List
- Request Method: GET
- API Endpoint Address:
/open-api/v1/data - API Endpoint Path:
/v3/api/open/store/detail/competition - API Endpoint Description: Get the list of competitor stores for a store based on store ID. The system uses AI image recognition technology to analyze product images sold by the store, find other stores selling similar products, and return them sorted by similarity score (score) from high to low. Supports pagination query and filtering competition stores by specified product.
- Pricing: Consuming 1 credit per data result retrieved
Request Headers:
- Content-Type: application/json
- Accept: application/json
Request Parameters
Request Structure
| Parameter Name | Type | Description | Example | Required | Default |
|---|---|---|---|---|---|
key | string | User's external API request key | "your_api_key_here" | Yes | |
uri | string | API Endpoint path | "/v3/api/open/store/detail/competition" | Yes | |
params | object | API Endpoint input parameter object | See parameter list | Yes |
Request Body Parameters (params object)
| Parameter Name | Type | Required | Default | Description |
|---|---|---|---|---|
id | String | Yes | - | Store ID is a 13-character string (e.g., c2d5b2547218a), corresponding to the store_id field in the store ranking list API endpoint response |
product_id | String | No | null | Specified product ID for filtering. When this parameter is passed, only competition stores similar to the specified product under the store will be returned. This ID is the product unique identifier (MongoDB ObjectId format) generated internally by the PipiAds system. If this parameter is not passed, competition analysis will be based on all products of the store |
page_size | Integer | No | 20 | Number of stores returned per page. Specifies the number of competition store records returned on a single page. Value range: 1-200, recommended to set between 20-100 for optimal performance |
current_page | Integer | No | 1 | Current page number. Page numbers start from 1 and are used for pagination queries. When the requested page number exceeds the total number of pages, an empty list is returned |
Request Example
# Example 1: Query all competitors of a store (based on all products)
curl -X GET "https://www.pipispy.com/open-api/v1/data" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"key": "your_api_key_here",
"uri": "/v3/api/open/store/detail/competition",
"params": {
"id": "cac90b02df723",
"current_page": 1,
"page_size": 20
}
}'
# Example 2: Query competitors for a specific product of a store
curl -X GET "https://www.pipispy.com/open-api/v1/data" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"key": "your_api_key_here",
"uri": "/v3/api/open/store/detail/competition",
"params": {
"id": "cac90b02df723",
"product_id": "62739afc38365b2f72048ebe",
"current_page": 1,
"page_size": 50
}
}'
Response Parameters
Response Body Structure
{
"code": 200,
"message": "success",
"data": {
"data": [],
"page": {}
},
"version": "v1",
"timestamp": null,
"sign": null,
"remaining_credits": 9980,
"consumed_credits": 20,
"success": true,
"fail": false
}
Response Field Descriptions
| Field Name | Type | Description |
|---|---|---|
code | Integer | Response status code, 200 means success |
message | String | Response message description |
data | Object | Response data main body |
data.data | Array | Competition store list array |
data.page | Object | Pagination information object |
version | String | API version number |
timestamp | String | Response timestamp |
sign | String | Response signature (reserved field) |
success | Boolean | Boolean value indicating if request was successful |
fail | Boolean | Boolean value indicating if request failed |
Competition Store Information Fields (data.data[])
Basic Information Fields
| Field Name | Type | Description |
|---|---|---|
id | String | Data record ID, same as id, used for internal system association |
store_id | String | Store unique identifier ID, can be used to query store details |
root_path | String | Store root domain path. Pure domain name with protocol header (https://) and www prefix removed, e.g., "shop.example.com". This field is used to identify the store's main domain |
shop_type | String | E-commerce platform type used by the store. Common values include: shopify (Shopify platform), woocommerce (WooCommerce), magento (Magento), shoplazza (Shoplazza), shopline (Shopline), shopyy (ShopYY), squarespace, wix, prestashop, bigcommerce, ecwid, cafe24, wordpress, etc. This field helps understand the competitor's technology stack |
plat_type | Array[String] | List of advertising platforms where the store places ads. Possible values: ["tiktok", "facebook", "facebook-library"]. Where "tiktok" represents TikTok platform, "facebook" represents Facebook advertising platform, "facebook-library" represents Meta Ad Library. This field helps you understand the competitor's advertising channels |
icon | String | Store avatar/Logo image full URL address. Images are hosted on CDN, format: "https://fb-cdn.pipispy.com/images/xxxxx.png". If the store has not set an avatar, returns a default icon or empty string |
is_collection | Boolean | Whether the current API calling user has bookmarked this competition store. true means bookmarked, false means not bookmarked. This field is used for frontend display of bookmark status |
popular_person_count | Long | Total number of users following this store. Represents how many users have added this store to their follow list, can be used as a reference indicator of the store's popularity |
Cross-Platform Data Fields (all_ prefix)
The following fields aggregate data from all advertising platforms (TikTok + Facebook + Meta Ad Library) for this store:
| Field Name | Type | Description |
|---|---|---|
all_data_count | Long | Total number of ads across all platforms. Aggregates the total number of ad creatives published by this store on TikTok, Facebook, and Meta Ad Library |
all_play_count | Long | Total ad plays/impressions across all platforms. For video ads, represents play count; for image ads, represents display count. The larger this value, the wider the ad coverage |
all_digg_count | Long | Total ad likes across all platforms. Only aggregates likes on platforms that support the like feature (such as TikTok), can reflect the level of user engagement with ads |
all_put_days | Long | Total ad delivery days across all platforms. Cumulative days from the first ad delivery to the last ad delivery by the store, representing the store's ad delivery duration |
all_found_time | Long | Earliest ad delivery time discovered across all platforms. Unix timestamp format (seconds), represents the time when the system recorded the first ad of this store. Can be used to determine when the store entered the market |
all_latest_found_time | Long | Most recent ad delivery time discovered across all platforms. Unix timestamp format (seconds), represents the time when the system recorded the latest ad of this store. Can be used to determine if the store is still actively delivering ads |
all_min_cpm | Double | Lowest CPM (cost per thousand impressions) estimate across all platforms, unit: USD. CPM is an important indicator for measuring ad cost-effectiveness, this value is the lowest cost estimated by the system based on ad data |
all_max_cpm | Double | Highest CPM (cost per thousand impressions) estimate across all platforms, unit: USD. Used together with all_min_cpm to understand the cost range of this store's ad delivery |
all_min_cpa | Long | Lowest estimated order conversion count across all platforms. Minimum number of orders estimated based on ad exposure data and industry conversion rate models, for reference only |
all_max_cpa | Long | Highest estimated order conversion count across all platforms. Maximum number of orders estimated based on ad exposure data and industry conversion rate models, for reference only |
all_page_count | Long | Total number of advertiser accounts across all platforms. Aggregates the number of different advertiser accounts (Page/Account) that have delivered ads for this store. A store may use multiple accounts to deliver ads |
all_store_ad_state | Integer | Overall ad delivery status across all platforms. Values: -1 means stopped delivery (no new ads in the last 3 days), 0 means delisted, 1 means active delivery (new ads in the last 3 days). This field helps determine if the competitor is currently active |
TikTok Platform Data Fields (tiktok_ prefix)
The following fields only aggregate ad data for this store on the TikTok platform:
| Field Name | Type | Description |
|---|---|---|
tiktok_data_count | Long | Total number of ads on TikTok platform. Only aggregates the number of ad creatives published on TikTok platform |
tiktok_play_count | Long | Total ad plays on TikTok platform. Only aggregates video play count or image display count for ads on TikTok platform |
tiktok_page_count | Long | Number of advertiser accounts on TikTok platform. Aggregates the number of different accounts that have delivered ads for this store on TikTok platform |
tiktok_min_cpm | Double | Lowest CPM estimate on TikTok platform, unit: USD |
tiktok_max_cpm | Double | Highest CPM estimate on TikTok platform, unit: USD |
tiktok_min_cpa | Long | Lowest estimated order conversion count on TikTok platform |
tiktok_max_cpa | Long | Highest estimated order conversion count on TikTok platform |
tiktok_put_days | Long | Ad delivery days on TikTok platform. Cumulative days from first delivery to last delivery |
tiktok_found_time | Long | Time when ads were first discovered on TikTok platform, Unix timestamp (seconds) |
tiktok_latest_found_time | Long | Time when ads were most recently discovered on TikTok platform, Unix timestamp (seconds) |
tiktok_store_ad_state | Integer | Ad delivery status on TikTok platform. -1=stopped, 0=delisted, 1=active |
Facebook Platform Data Fields (facebook_ prefix)
The following fields only aggregate data for this store on the Facebook advertising platform:
| Field Name | Type | Description |
|---|---|---|
facebook_data_count | Long | Total number of ads on Facebook platform. Only aggregates the number of ad creatives published on Facebook advertising platform |
facebook_play_count | Long | Total ad impressions/displays on Facebook platform |
facebook_page_count | Long | Number of advertiser accounts on Facebook platform. Aggregates the number of different Page accounts that have delivered ads for this store on Facebook platform |
facebook_min_cpm | Double | Lowest CPM estimate on Facebook platform, unit: USD |
facebook_max_cpm | Double | Highest CPM estimate on Facebook platform, unit: USD |
facebook_min_cpa | Long | Lowest estimated order conversion count on Facebook platform |
facebook_max_cpa | Long | Highest estimated order conversion count on Facebook platform |
facebook_put_days | Long | Ad delivery days on Facebook platform |
facebook_found_time | Long | Time when ads were first discovered on Facebook platform, Unix timestamp (seconds) |
facebook_latest_found_time | Long | Time when ads were most recently discovered on Facebook platform, Unix timestamp (seconds) |
facebook_store_ad_state | Integer | Ad delivery status on Facebook platform. -1=stopped, 0=delisted, 1=active |
Meta Ad Library Data Fields (facebook_library_ prefix)
The following fields only aggregate public data for this store in the Meta Ad Library (Facebook Ad Library):
| Field Name | Type | Description |
|---|---|---|
facebook_library_data_count | Long | Total number of ads in Meta Ad Library. Aggregates the total number of ad creatives publicly displayed in Meta Ad Library |
facebook_library_play_count | Long | Total ad impressions in Meta Ad Library |
facebook_library_reach | Long | Audience reach in Meta Ad Library (Reach). Represents the number of unique users who saw the ad at least once, data comes from Meta official public data, is an important indicator for measuring ad reach |
facebook_library_page_count | Long | Number of advertiser accounts in Meta Ad Library |
facebook_library_adset_count | Long | Total number of ad sets (Ad Set) in Meta Ad Library. An ad set contains multiple ad creatives and shares the same audience targeting and budget settings |
facebook_library_adset_active_count | Long | Number of active ad sets currently running in Meta Ad Library. Represents the number of ad sets currently running |
facebook_library_ad_active_count | Long | Number of active ads currently running in Meta Ad Library. Represents the number of ad creatives currently being shown to users |
facebook_library_ad_inactive_count | Long | Number of ads paused in Meta Ad Library. Represents the number of ad creatives that have been temporarily paused but not deleted |
facebook_library_ad_offline_count | Long | Number of ads offline/deleted in Meta Ad Library. Represents the number of ads that have been completely stopped and removed from the system |
facebook_library_min_cpm | Double | Lowest CPM estimate in Meta Ad Library, unit: USD |
facebook_library_max_cpm | Double | Highest CPM estimate in Meta Ad Library, unit: USD |
facebook_library_min_cpa | Long | Lowest estimated order conversion count in Meta Ad Library |
facebook_library_max_cpa | Long | Highest estimated order conversion count in Meta Ad Library |
facebook_library_put_days | Long | Ad delivery days in Meta Ad Library |
facebook_library_found_time | Long | Time when ads were first discovered in Meta Ad Library, Unix timestamp (seconds) |
facebook_library_latest_found_time | Long | Time when ads were most recently discovered in Meta Ad Library, Unix timestamp (seconds) |
facebook_library_store_ad_state | Integer | Ad delivery status in Meta Ad Library. -1=stopped, 0=delisted, 1=active |
facebook_library_ad_platform | Array[String] | List of ad delivery platforms shown in Meta Ad Library. Possible values include: ["FACEBOOK", "INSTAGRAM", "AUDIENCE_NETWORK", "MESSENGER", "THREADS"]. Represents which platforms in the Meta ecosystem this store's ads are displayed on |
Other Classification Fields
| Field Name | Type | Description |
|---|---|---|
is_ai | Boolean | Whether it is an AI-related product/service store. true means this store mainly sells or promotes AI-related products or services, false means non-AI store. This field is automatically identified and classified by the system AI algorithm |
is_drama | Boolean | Whether it is a short drama content store. true means this store mainly promotes short dramas, series and other video content, false means non-short drama store. This field is automatically identified and classified by the system AI algorithm |
app_type2 | String | Store/product type classification. Possible values: "web" (website e-commerce), "game" (game), "app" (mobile application). Helps you quickly understand the competitor's business type |
ai_category | Array[Object] | AI-automatically identified product category label array. Each object contains category information (such as category name, category ID, etc.), automatically labeled by AI image recognition and NLP algorithms, helps understand the competitor's product positioning |
region | Array[String] | List of target countries/regions for the store's ad delivery. Uses ISO 3166-1 alpha-2 standard country codes (2-letter uppercase), such as ["US", "CA", "GB"]. Represents the geographic locations where this store's ads are targeted |
Ad Creative Display Fields
| Field Name | Type | Description |
|---|---|---|
good_source | Array[Object] | List of the store's latest published ad creatives (maximum of 3 returned). Displays the competition store's recent ad creatives to help you understand the opponent's marketing strategy. Detailed field descriptions see "Ad Creative Information Object" below |
Website Information Fields
| Field Name | Type | Description |
|---|---|---|
website_info | Object | Detailed information object for the store's website. Includes website traffic, user behavior and other data to help evaluate the competitor's website operations. Detailed field descriptions see "Website Information Object" below |
Ad Creative Information Object (good_source[])
| Field Name | Type | Description |
|---|---|---|
app_image | String | Ad application icon/product image URL. Full CDN image address, format: "https://fb-cdn.pipispy.com/images/xxxxx.png". Usually the product main image or App icon displayed in the ad |
count | Long | Number of plays/displays for this ad creative. Represents the total number of times this ad was viewed or seen by users, can be used to evaluate the ad's reach |
cover | String | Ad cover image URL. Full CDN image address, format: "https://fb-cdn.pipispy.com/images/xxxxx.png". For video ads, it's the video cover image; for image ads, it's the main image |
video_id | String | Associated video creative ID. If this ad contains video content, this field is the unique identifier for the video, which can be used to query complete video information. May be empty for pure image ads |
platform | Integer | Platform to which the ad creative belongs. Values: 1=TikTok platform, 2=Facebook platform, 3=Meta Ad Library (facebook-library). Represents which advertising platform this ad creative comes from |
Website Information Object (website_info)
| Field Name | Type | Description |
|---|---|---|
website_id | String | Website unique identifier ID. Generated by MD5 hash value of the domain name (with www prefix removed), used to uniquely identify a website in the system |
website_icon | String | Website Favicon icon URL. Full CDN image address, usually the website's Logo or brand identifier |
website_url | String | Website full URL address. Full website address including protocol header, such as: "https://www.example.com" |
website_title | String | Website title. Website name or title extracted from the website HTML's <title> tag |
website_monthly_visits | Long | Website monthly visits. Represents the number of visits (Visits) to the website per month, data comes from third-party traffic analysis tools (such as SimilarWeb). This metric reflects the traffic scale of the website, the larger the value, the higher the website traffic |
website_bounce_rate | Double | Website bounce rate. Value range: 0.0-1.0 (e.g., 0.45 means 45%). Bounce rate is the proportion of users who leave the website without any interaction after visiting. The lower the bounce rate, the better the website content quality and user stickiness |
website_visit_seconds | Long | Website average visit duration, unit: seconds. Represents the average time users spend on the website. The longer the duration, the more interested users are in the website content and the better the user experience |
website_languages | Array[String] | List of languages supported by the website. Uses ISO 639-1 standard language codes (2-letter lowercase), such as ["en", "de", "fr"]. Helps understand the competitor's target market languages |
website_countries | Array[String] | List of main traffic source countries for the website. Uses ISO 3166-1 alpha-2 standard country codes (2-letter uppercase), such as ["US", "GB", "CA"]. Represents which countries the website traffic mainly comes from |
website_currencies | Array[String] | List of currencies supported by the website. Uses ISO 4217 standard currency codes (3-letter uppercase), such as ["USD", "EUR", "GBP"]. Helps understand the competitor's target market and pricing strategy |
website_what_is_summary | String | Website description summary. Brief description of the website's main business, products, or service content, usually extracted from the website's Meta Description or About page |
Pagination Information Object (page)
| Field Name | Type | Description |
|---|---|---|
total_count | Long | Total number of competition store records matching the criteria |
page_count | Long | Total number of pages. Calculated based on total_count and page_size: page_count = ⌈total_count / page_size⌉ |
current_page | Long | Current page number. Consistent with current_page in the request parameters |
page_size | Long | Number of records per page. Consistent with page_size in the request parameters |
is_next | Boolean | Whether there is a next page. true means there is more data to query, false means this is the last page |
Response Example
{
"code": 200,
"message": "success",
"data": {
"data": [
{
"id": "690b25aabf0efeab51093e0c",
"icon": "https://cdn-video.pipiads.com/avatar_d1046d3f1fac466bdba8.jpg",
"store_id": "2e93e5996be3a",
"root_path": "femin.lol",
"shop_type": "shopify",
"plat_type": [
"tiktok"
],
"good_source": [
{
"cover": "https://cdn-video.pipiads.com/cover_d1046d3f1fac466bdba8.jpg",
"app_image": "https://cdn-video.pipiads.com/avatar_d1046d3f1fac466bdba8.jpg",
"count": 94365,
"video_id": "d1046d3f1fac466bdba8",
"platform": 0
},
{
"cover": "https://cdn-video.pipiads.com/cover_a497f88964b28c573128.jpg",
"app_image": "https://cdn-video.pipiads.com/avatar_a497f88964b28c573128.jpg",
"count": 1721,
"video_id": "a497f88964b28c573128",
"platform": 0
},
{
"cover": "https://cdn-video.pipiads.com/cover_9cb2ffef3392a20a7fde.jpg",
"app_image": "https://cdn-video.pipiads.com/avatar_9cb2ffef3392a20a7fde.jpg",
"count": 20618,
"video_id": "9cb2ffef3392a20a7fde",
"platform": 0
}
],
"is_collection": false,
"popular_person_count": 2,
"website_info": {
"website_icon": "https://cdn-video.pipiads.com/avatar_d1046d3f1fac466bdba8.jpg",
"website_title": "femin.lol"
},
"all_data_count": 6,
"tiktok_data_count": 6,
"facebook_data_count": 0,
"all_page_count": 2,
"all_play_count": 148119,
"tiktok_play_count": 148119,
"facebook_play_count": 0,
"all_min_cpm": 212.8,
"all_max_cpm": 852.7,
"tiktok_min_cpm": 212.87,
"tiktok_max_cpm": 852.74,
"facebook_min_cpm": 0.0,
"facebook_max_cpm": 0.0,
"all_min_cpa": 9,
"all_max_cpa": 94,
"tiktok_min_cpa": 9,
"tiktok_max_cpa": 94,
"facebook_min_cpa": 0,
"facebook_max_cpa": 0,
"all_put_days": 1,
"tiktok_put_days": 1,
"facebook_put_days": 0,
"all_found_time": 1699580469,
"tiktok_found_time": 1699580469,
"facebook_found_time": 0,
"all_latest_found_time": 1719449698,
"tiktok_latest_found_time": 1719449698,
"facebook_latest_found_time": 0,
"tiktok_store_ad_state": -1,
"facebook_store_ad_state": -1,
"facebook_library_store_ad_state": -1,
"all_store_ad_state": -1
}
],
"page": {
"total_count": 257,
"current_page": 50,
"page_count": 257,
"page_size": 1
}
},
"version": "v1",
"timestamp": null,
"sign": null,
"remaining_credits": 9980,
"consumed_credits": 20,
"success": true,
"fail": false
}
Error Code Descriptions
| Error Code | Description | Solution |
|---|---|---|
200 | Success | - |
400 | Request parameter error | Check if id or product_id format is correct (must be a valid MongoDB ObjectId) |
401 | Unauthorized | Check if API Key is valid and not expired |
403 | Insufficient permissions | Check if API Key has permission to access this API endpoint |
404 | Store/Product does not exist | Check if id or product_id is correct and if the resource has been deleted from the system |
500 | Internal server error | Contact technical support or retry later |