🚀 ZiiTool Developer REST API v1
Tài Liệu REST API Dành Cho Lập Trình Viên
Tích hợp toàn bộ chức năng tiện ích vào ứng dụng web, mobile app hoặc backend của bạn. Tốc độ cao, chuẩn JSON RESTful.
Base URL
https://ziitool.online/api/v1
Định dạng phản hồi
application/json
Quyền truy cập API
Mở công khai (Không cần Key)
POST
/api/v1/tax/calculate
Tính Thuế TNCN & Lương Net/Gross
Request Body (JSON)
{
"income": 25000000,
"type": "gross",
"dependents": 1
}
Example Response (200 OK)
{
"status": "success",
"data": {
"gross_income": 25000000,
"insurance": {
"bhxh": 2000000,
"bhyt": 375000,
"bhtn": 250000,
"total": 2625000
},
"deductions": {
"self": 11000000,
"dependents": 4400000,
"total": 15400000
},
"taxable_income": 6975000,
"tax": 447500,
"net_income": 21927500
}
}
POST
/api/v1/interest/calculate
Tính Lãi Kép & Tăng Trưởng Tài Sản
Request Body (JSON)
{
"principal": 50000000,
"monthly_deposit": 5000000,
"annual_rate": 8.5,
"years": 5
}
POST
/api/v1/hash
Tạo Mã Băm MD5, SHA-256, Base64
Request Body (JSON)
{
"text": "Hello ZiiTool 2026"
}