Sunway Logistics APIsunway-logistics.com ↗
Access Sunway Logistics service listings and full service detail pages via 2 endpoints. Retrieve names, descriptions, images, and content for each logistics service.
What is the Sunway Logistics API?
The Sunway Logistics API exposes 2 endpoints that return structured data from the 中正国际物流 (Sunway Logistics) services catalog. get_services_list returns every available service in a single call — each with a name, description, image URL, and detail link — while get_service_detail accepts any detail_url from that list and returns the full page title, text content, images, and embedded links for a specific service.
No input parameters required.
curl -X GET 'https://api.parse.bot/scraper/d9c633b9-cf42-4f2c-8be9-40296ef652b7/get_services_list' \ -H 'X-API-Key: $PARSE_API_KEY'
Typed, relational, agent-ready
A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.
- Fully typed · autocompletes
- Objects link to objects
- Typed errors & pagination
Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:
uv add parse-sdk uv run parse init uv run parse add --marketplace sunway-logistics-com-api
uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.
"""Walkthrough: Sunway Logistics SDK — list services and drill into details."""
from parse_apis.sunway_logistics_com_api import SunwayLogistics, ServiceUrlInvalid
client = SunwayLogistics()
# List all available logistics services (single-page, but capped for safety).
for svc in client.service_summaries.list(limit=10):
print(svc.name, "-", svc.description[:60])
# Drill into the first service's full detail page.
first = client.service_summaries.list(limit=1).first()
if first is not None:
try:
detail = first.details()
except ServiceUrlInvalid as e:
print("Invalid service URL:", e.message)
else:
print("Title:", detail.title)
print("Content:", detail.content[:120])
for img in detail.images:
print(" Image:", img)
for link in detail.links:
print(" Link:", link.text, "->", link.url)
print("exercised: service_summaries.list / details")
Retrieves all service items from the services index page. Returns an array of services with name, description, image URL, and detail link. No pagination — the full list is returned in a single call.
No input parameters required.
{
"type": "object",
"fields": {
"services": "array of service objects, each containing name, description, image_url, and detail_url"
},
"sample": {
"data": {
"services": [
{
"name": "空运出口",
"image_url": "http://sunway-logistics.com/ch/images/31.jpg",
"detail_url": "http://sunway-logistics.com/ch/index.php?controller=service&action=index&id=31",
"description": "中正空运部自成立以来,一直致力拓展国际航空货物运输,我们以(广州、..."
},
{
"name": "海运服务",
"image_url": "http://sunway-logistics.com/ch/images/32.jpg",
"detail_url": "http://sunway-logistics.com/ch/index.php?controller=service&action=index&id=32",
"description": "以最优质的服务,最合理的运价提供海运整箱及拼箱服务,凭借本公司与..."
}
]
},
"status": "success"
}
}About the Sunway Logistics API
Service Listings
get_services_list requires no input parameters and returns a complete array of service objects from Sunway Logistics' services index. Each object includes four fields: name (the service title), description (summary text as shown on the index), image_url (the associated image), and detail_url (the full URL to the individual service page). There is no pagination — all services come back in one response.
Service Detail Pages
get_service_detail takes a single required string parameter, url, which should be a detail_url value from get_services_list. It returns four fields: title (the page heading), content (the full text body of the service page), images (an array of image URL strings found within the content area), and links (an array of objects each containing text and url for any hyperlinks present on the page). This makes it straightforward to extract coverage descriptions, service terms, or contact references embedded in a given service page.
Data Scope
The API covers the Chinese-language services section of the Sunway Logistics website (/ch/ path). Data reflects what is publicly listed on the services index and individual service detail pages, including any images and outbound links those pages contain. Fields like content may include details such as shipping routes, delivery timeframes, or operational notes depending on what each service page publishes.
The Sunway Logistics API is a managed, monitored endpoint for sunway-logistics.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when sunway-logistics.com changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.
This isn't an official sunway-logistics.com API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.
Will this API break when the source site changes?+
Is this an official API from the source site?+
Can I fix or extend this API myself if I need a new endpoint or field?+
What happens if I call an endpoint that has an issue?+
- Index all available Sunway Logistics services by name and description for internal reference documentation.
- Monitor the services catalog over time by comparing
nameanddescriptionfields across periodic calls toget_services_list. - Aggregate
contentfromget_service_detailacross all services to build a searchable knowledge base of logistics offerings. - Extract
imagesarrays from service detail pages for use in logistics comparison tools or internal portals. - Collect
linksfrom each service page to identify referenced documents, contact pages, or partner URLs. - Feed service names and descriptions into translation pipelines to create multilingual logistics service summaries.
- Validate that all
detail_urlentries returned byget_services_listresolve to complete, non-emptycontentfields.
| Tier | Price | Credits/month | Rate limit |
|---|---|---|---|
| Free | $0/mo | 200 | 5 req/min |
| Hobby | $30/mo | 1,000 | 20 req/min |
| Developer | $100/mo | 5,000 | 100 req/min |
| Team | $300/mo | 20,000 | 300 req/min |
| Company | $1,000/mo | 100,000 | 500 req/min |
Each endpoint has a fixed posted price per successful call — most fall between 1 and 10 credits — shown on this API's page before you run it. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.
Does Sunway Logistics offer an official developer API?+
What does get_service_detail return beyond the page text?+
get_service_detail returns four fields: title (the page heading), content (full text of the service page), images (array of image URLs found in the content area), and links (array of objects with text and url for any hyperlinks on the page). The content field may include route details, delivery notes, or operational terms as written on each page.Is there pagination in get_services_list?+
get_services_list returns the complete service array in a single response with no pagination parameters. If the source website adds more services, they will appear in the same array on subsequent calls.Does the API cover freight tracking or shipment status data?+
Does the API return English-language service content?+
/ch/ path), so returned name, description, and content fields are in Chinese. The site does appear to have other language sections, but those are not currently covered. You can fork this API on Parse and revise the endpoint targets to point to the equivalent English-language pages.