{
"shape": "slab",
"units": "us",
"input": {
"length": {
"value": 10,
"unit": "ft"
},
"width": {
"value": 10,
"unit": "ft"
},
"thickness": {
"value": 4,
"unit": "in"
},
"quantity": 1
},
"formula": "V = length × width × thickness",
"volume": {
"ft3": 33.33,
"yd3": 1.2346,
"m3": 0.944
},
"wastePercent": 10,
"withWaste": {
"ft3": 36.67,
"yd3": 1.358,
"m3": 1.038
},
"order": {
"yd3RoundedUpToQuarter": 1.5,
"m3RoundedUpToTenth": 1.1
},
"bags": [
{
"sizeLb": 40,
"yieldFt3": 0.3,
"yieldLiters": 8.5,
"count": 123,
"weightLb": 4920
},
{
"sizeLb": 60,
"yieldFt3": 0.45,
"yieldLiters": 12.7,
"count": 82,
"weightLb": 4920
},
{
"sizeLb": 80,
"yieldFt3": 0.6,
"yieldLiters": 17,
"count": 62,
"weightLb": 4960
}
],
"assumptions": {
"wastePercent": 10,
"bagYieldsFt3": {
"40lb": 0.3,
"60lb": 0.45,
"80lb": 0.6
},
"bagYieldsNote": "Typical yields printed on premix bags (40 lb ≈ 0.30 ft³, 60 lb ≈ 0.45 ft³, 80 lb ≈ 0.60 ft³). Use your bag's own figure with yield40, yield60, yield80.",
"units": {
"long": "ft",
"short": "in"
}
},
"notes": [
"About 1 cubic yard or more: ready-mix delivery is usually less work than mixing this many bags; ask your supplier for their minimum order.",
"Bag counts round up to whole bags per size; pick one bag size, they are alternatives."
],
"estimateOnly": true,
"disclaimer": "Estimate only: quantities computed from your dimensions and the assumptions listed in this answer (typical, manufacturer-neutral values you can override). Not an engineering, structural or building-code approval. Real jobs vary with forms, subgrade, surface texture and product: check the product label and buy a margin."
}
curl --location --request GET 'https://zylalabs.com/api/14692/concrete+paint+and+gravel+calculator+api/37978/concrete+volume+ready-mix+order+and+premix+bags?shape=slab&thickness=4&width=10&length=10&units=us' --header 'Authorization: Bearer YOUR_API_KEY'
{
"units": "us",
"input": {
"length": {
"value": 12,
"unit": "ft"
},
"width": {
"value": 12,
"unit": "ft"
},
"height": {
"value": 8,
"unit": "ft"
}
},
"formula": "walls = 2 × (length + width) × height − doors × doorArea − windows × windowArea; ceiling = length × width; gallons = area × coats ÷ coverage × (1 + waste)",
"walls": {
"grossArea": {
"ft2": 384,
"m2": 35.67
},
"openings": {
"doors": 1,
"windows": 2,
"area": {
"ft2": 50,
"m2": 4.645
}
},
"netArea": {
"ft2": 334,
"m2": 31.03
},
"coats": 2,
"paint": {
"gallons": 1.909,
"liters": 7.225
}
},
"wastePercent": 10,
"paint": {
"gallons": 2.099,
"liters": 7.947,
"buy": {
"gallons": 3,
"gallonsAndQuarts": {
"gallons": 2,
"quarts": 1
},
"liters": 8
}
},
"assumptions": {
"coverage": {
"value": 350,
"unit": "ft² per gallon",
"ft2PerGallon": 350,
"m2PerLiter": 8.59
},
"coats": 2,
"doorArea": {
"ft2": 20,
"m2": 1.858
},
"windowArea": {
"ft2": 15,
"m2": 1.394
},
"wastePercent": 10,
"note": "Typical coverage for one coat of interior latex on smooth, sealed walls is 250-400 ft² per gallon (6-10 m² per litre); rough, porous or bare surfaces and big color changes take more. Use the figure on your can with \"coverage\"."
},
"notes": [
"Buy options are alternatives: whole gallons, or gallons plus quarts, or litres rounded up to the half litre.",
"Trim, doors and window frames are not included."
],
"estimateOnly": true,
"disclaimer": "Estimate only: quantities computed from your dimensions and the assumptions listed in this answer (typical, manufacturer-neutral values you can override). Not an engineering, structural or building-code approval. Real jobs vary with forms, subgrade, surface texture and product: check the product label and buy a margin."
}
curl --location --request GET 'https://zylalabs.com/api/14692/concrete+paint+and+gravel+calculator+api/37979/paint+for+walls+and+ceilings+minus+doors+and+windows?units=us&length=12&width=12&height=8&doors=1&windows=2' --header 'Authorization: Bearer YOUR_API_KEY'
{
"units": "us",
"material": "gravel",
"input": {
"length": {
"value": 10,
"unit": "ft"
},
"width": {
"value": 10,
"unit": "ft"
},
"depth": {
"value": 3,
"unit": "in"
}
},
"formula": "volume = area × depth; weight = volume × bulk density; with waste = × (1 + waste ÷ 100)",
"area": {
"ft2": 100,
"m2": 9.29
},
"volume": {
"ft3": 25,
"yd3": 0.9259,
"m3": 0.708
},
"wastePercent": 10,
"withWaste": {
"ft3": 27.5,
"yd3": 1.0185,
"m3": 0.779
},
"weight": {
"shortTons": 1.426,
"lb": 2852,
"tonnes": 1.294,
"kg": 1294
},
"order": {
"yd3RoundedUpToQuarter": 1.25,
"m3RoundedUpToTenth": 0.8
},
"bags": {
"size": {
"value": 0.5,
"unit": "ft³"
},
"count": 55
},
"assumptions": {
"density": {
"value": 2800,
"unit": "lb per yd³",
"lbPerYd3": 2800,
"kgPerM3": 1661,
"tonsPerYd3": 1.4
},
"densityNote": "gravel (general, mixed sizes): a typical loose, dry figure. Moisture, grading and compaction change it; use your supplier's figure with \"density\".",
"wastePercent": 10,
"wasteNote": "Extra for compaction, uneven ground and spillage. Compacted base layers often need 15-25% more loose material."
},
"notes": [
"Tons are US short tons (2,000 lb); tonnes are metric (1,000 kg)."
],
"estimateOnly": true,
"disclaimer": "Estimate only: quantities computed from your dimensions and the assumptions listed in this answer (typical, manufacturer-neutral values you can override). Not an engineering, structural or building-code approval. Real jobs vary with forms, subgrade, surface texture and product: check the product label and buy a margin."
}
curl --location --request GET 'https://zylalabs.com/api/14692/concrete+paint+and+gravel+calculator+api/37980/gravel+stone+sand+soil+or+mulch+volume+and+weight?units=us&length=10&width=10&depth=3&material=gravel' --header 'Authorization: Bearer YOUR_API_KEY'
注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 混凝土漆和砾石计算器 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
| 标头 | 描述 |
|---|---|
授权
|
必需
应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。
|
根据您的尺寸计算体积(一个10 x 10英尺,厚4英寸的板材为33.3立方英尺,1.23立方码),加上您的浪费百分比(默认10%)。袋子使用40、60和80磅袋的典型产量分别为0.30、0.45和0.60立方英尺;发送您袋子的产量以覆盖。
墙壁是2 x (长度 + 宽度) x 高度减去门(默认每扇20平方英尺)和窗户(15平方英尺)乘以涂层除以覆盖面积(默认每加仑350平方英尺)加上浪费 发送你的涂料覆盖面积与“覆盖”
体积乘以材料的一般松散干燥堆积密度(碎石2800磅每立方码,覆盖物800)水分和等级会改变它;发送您供应商的“密度”数据
是的:单位=公制使用米和厘米(以及每升涂料覆盖的平方米);每个答案都会给出两种系统
不 每个答案都说 estimateOnly: true 没有结构设计 加强 搅拌强度或规范检查
不 每个调用在内存中计算 且没有日志记录
每个端点根据用户输入返回混凝土、油漆或砾石的估算数据 这些数据包括体积、重量、包装数量和废料百分比,以及用于估算的详细计算和假设
关键字段包括“体积”(以不同单位)、“袋子”(包含尺寸和数量)、“废物占比”和“订单”(四舍五入数量)每个响应还包括用于计算的“公式”和“输入”细节
参数因端点而异,但通常包括尺寸(长度、宽度、高度)、材料类型、废品百分比、涂料层数和袋子尺寸。用户可以通过指定这些参数来自定义请求
响应以JSON格式结构化,包含“输入”、“公式”、“体积”、“废物”和“订单”部分每个部分提供相关的计算和结果,使数据易于解释
每个端点提供混凝土的体积和重量估算、墙壁和天花板的涂料覆盖面积,以及砂砾的材料体积和重量。用户还可以获得计算和废料考虑的详细分解
用户可以利用返回的数据来确定项目所需的材料数量。例如,“袋数”字段表示需要多少袋预拌料,而“体积”有助于了解所需的总材料量
典型的用例包括家庭装修项目 建设规划 和园林绿化 用户可以估算混凝土的用量 用于地板 房间所需的油漆 或者车道的砾石 确保材料采购的准确性
数据准确性通过标准公式和材料的典型产出值保持 用户可以用供应商的具体测量值覆盖默认值 确保估算反映现实条件