Package Tracking
Provides a package tracking API service, enabling developers to quickly query shipment status and seamlessly integrate tracking capabilities into business systems.
Documentation
Package Tracking API Overview
The Package Tracking API helps developers quickly process tracking number queries within their systems, returning structured results. It is ideal for scenarios such as logistics tracking, order status queries, and customer notifications.
Use Cases
- Integrate package tracking capabilities into internal systems, SaaS platforms, automated workflows, or admin dashboards.
- Suitable for business scenarios requiring stable API calls, standardized responses, and orchestratable interface capabilities.
- We recommend implementing rate limiting, failure retries, and result caching strategies to improve overall integration stability.
Integration Guidelines
- Verify request parameter formats, authentication methods, and error code handling logic before integration.
- For high-frequency query scenarios, ensure proper log tracking, timeout controls, and idempotency handling.
- If the results are used for risk control or automated decision-making, we recommend applying secondary checks based on your business rules rather than relying solely on the API response.
Integration Examples
Includes ready-to-use Shell, Python, Go, Java, and PHP examples for direct integration.
Request Example
{
"expCode": "shunfeng",
"expNo": "SF1234567890"
}Response Example
{
"code": "SUCCESS",
"message": "success",
"data": {
"status": "已签收",
"statusDesc": "快件已签收",
"traces": [
{
"time": "2024-01-01 10:00:00",
"desc": "已签收"
}
]
}
}Request Fields
The fields below are derived from example JSON for integration reference only.
| Path | Type | Sample |
|---|---|---|
| expCode | string | shunfeng |
| expNo | string | SF1234567890 |
Response Fields
The fields below are derived from example JSON for integration reference only.
| Path | Type | Sample |
|---|---|---|
| code | string | SUCCESS |
| message | string | success |
| data | object | {...} |
| data.status | string | 已签收 |
| data.statusDesc | string | 快件已签收 |
| data.traces | array | {"time":"2024-01-01 10:00:00","desc":"已签收"} |