Shadow Ingest HTTP Service¶
The HTTP service runs on 30110 and exposes FastAPI/OpenAPI documentation.
Use it for:
- frontend integration
- raw HTTP inspection
- service-level debugging
- checking the deployed OpenAPI contract
Live Docs¶
When the service is running:
http://data.zhengxinfund.com:30110/docshttp://data.zhengxinfund.com:30110/openapi.json
Main Routes¶
GET /healthGET /datasetsPOST /queryGET /api/industry/standardsPOST /api/industry/mappingPOST /api/industry/membersPOST /api/daily-pricePOST /api/daily-snapshotPOST /api/hk/market-calendarPOST /api/hk/universePOST /api/hk/daily-pricePOST /api/hk/daily-snapshotPOST /api/financial-snapshot
Important Positioning¶
FastAPI /docs documents the HTTP layer.
The generic POST /query route is still available for internal and low-level use, but the maintained user-facing HTTP surface should prefer the named /api/... routes.
For Python users, the main documentation should still be:
Hong Kong HTTP Example¶
curl -sS -X POST http://data.zhengxinfund.com:30110/api/hk/daily-price \
-H 'Content-Type: application/json' \
-d '{
"stock_codes": ["00700.XHKG"],
"start_date": "2026-06-25",
"end_date": "2026-06-25",
"fields": ["open", "close"]
}'
Expected shape:
{
"dataset": "hk_raw_price_daily",
"columns": ["trade_date", "stock_code", "open", "close"],
"rows": [
{
"trade_date": "2026-06-25",
"stock_code": "00700.XHKG",
"open": 428.6,
"close": 421.4
}
]
}