Wholesale Market Product Search
Wholesale Market Product Search
Documentation
API Introduction
This API provides agricultural product price data query services for major domestic wholesale markets. Developers can obtain price trend information for specific dates by specifying product names and wholesale market names, aiding agricultural big data analysis and supply chain decisions.
Use Cases
- Fresh E-commerce Pricing: Optimize retail pricing strategies by referencing wholesale market source prices.
- Agricultural Data Analysis: Build agricultural product price trend models and monitor market fluctuations.
- Supply Chain Management: Provide cost estimation basis for catering procurement and logistics distribution.
Request and Response Description
- Request Method: POST
- Core Parameters:
productName(required): Product name, such as "cabbage", "apple".marketName(required): Wholesale market name, needs to accurately match the full or common name of the market.date(optional): Query date, format yyyy-MM-dd, defaults to today.- Return Results: Contains a list of price details for the corresponding market and product on the specified date.
Integration Suggestions
- Parameter Accuracy: It is recommended to use the standard full name for market names to improve matching success rate.
- Caching Strategy: Historical price data changes less frequently; it is recommended to cache non-current day data locally to reduce the number of calls.
- Error Handling: Please handle cases where no data is returned gracefully, which may occur if the market did not report or trade that category on the specified day.
Integration Examples
Includes ready-to-use Shell, Python, Go, Java, and PHP examples for direct integration.
Request Example
{
"productName": "商品名称",
"marketName": "批发市场名称",
"date": "日期,格式:yyyy-MM-dd,默认当天"
}Response Example
{}Request Fields
The fields below are derived from example JSON for integration reference only.
| Path | Type | Sample |
|---|---|---|
| type | string | object |
| properties | object | {...} |
| properties.productName | object | {...} |
| properties.productName.type | string | string |
| properties.productName.description | string | 商品名称 |
| properties.marketName | object | {...} |
| properties.marketName.type | string |
Response Fields
The fields below are derived from example JSON for integration reference only.
| Path | Type | Sample |
|---|---|---|
| type | string | object |