木材尺寸和板尺计算器 API

API ID 14693

名义与实际木材尺寸 板尺与成本 以及胶合板 OSB 和干墙板的数量

100% 正常运行时间 95 ms 平均响应

API 文档

端点

请求
名义:2x4, 1x6, 5/4x6, 2x4x8(第三个数字=长度以英尺为单位,增加板尺),4x4, 6x6。软木(默认):实际干燥(或绿色)厚度和宽度以英寸为单位,作为商店分数和毫米,两个条件,类别(板材,尺寸,木材)和备注(已知的表格分歧)。木材(厚度为5英寸及以上)以绿色尺寸回复。类型=硬木:名义是四分之一厚度(4/4, 8/4, 或8/4x6):粗糙和S2S厚度
Endpoint ID: 37981
GET https://zylalabs.com/api/14693/lumber+size+and+board+feet+calculator+api/37981/nominal+to+actual+size+softwood+or+hardwood
输入参数

名义到实际尺寸的软木或硬木 — 端点功能

对象 描述
nominal 必需 The nominal size.
type 可选 softwood (default) or hardwood.
condition 可选 dry (default) or green (softwood).
length 可选 Length in feet (instead of 2x4x8).

剩余免费测试请求:3 / 3。


输入参数

nominal
type
condition
length
API 示例响应
JSON
{
    "nominal": {
        "name": "2x4",
        "thickness": {
            "in": 2,
            "fraction": "2",
            "mm": 50.8
        },
        "width": {
            "in": 4,
            "fraction": "4",
            "mm": 101.6
        }
    },
    "type": "softwood",
    "category": "dimension",
    "condition": "dry",
    "actual": {
        "thickness": {
            "in": 1.5,
            "fraction": "1-1/2",
            "mm": 38.1
        },
        "width": {
            "in": 3.5,
            "fraction": "3-1/2",
            "mm": 88.9
        }
    },
    "bothConditions": {
        "dry": {
            "thickness": {
                "in": 1.5,
                "fraction": "1-1/2",
                "mm": 38.1
            },
            "width": {
                "in": 3.5,
                "fraction": "3-1/2",
                "mm": 88.9
            }
        },
        "green": {
            "thickness": {
                "in": 1.5625,
                "fraction": "1-9/16",
                "mm": 39.7
            },
            "width": {
                "in": 3.5625,
                "fraction": "3-9/16",
                "mm": 90.5
            }
        }
    },
    "convention": {
        "nominal": "The trade name of the size (2x4), measured before drying and surfacing.",
        "actual": "The dressed (surfaced) size you measure on the board.",
        "dry": "Seasoned to 19% moisture content or less (S-DRY, KD); the default.",
        "green": "Surfaced unseasoned (S-GRN), a little larger so it shrinks to about the dry size.",
        "boardFeet": "Computed from nominal sizes unless basis=actual (the trade convention).",
        "lengths": "Lengths are not reduced: an 8 ft board is 8 ft (often a little over).",
        "condition": "dry"
    },
    "disclaimer": "Reference sizes and arithmetic only, not structural or building-code advice. Mills, species, moisture and regions differ: check the actual stock and your supplier before you cut or order."
}
名义到实际尺寸的软木或硬木 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/14693/lumber+size+and+board+feet+calculator+api/37981/nominal+to+actual+size+softwood+or+hardwood?nominal=2x4&type=softwood&condition=dry' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
常见尺寸及其实际尺寸
Endpoint ID: 37982
GET https://zylalabs.com/api/14693/lumber+size+and+board+feet+calculator+api/37982/common+sizes+with+their+actual+dimensions
输入参数

常见尺寸及其实际尺寸 — 端点功能

对象 描述
type 可选 softwood (default) or hardwood.
condition 可选 dry (default) or green.

剩余免费测试请求:3 / 3。


输入参数

type
condition
API 示例响应
JSON
{
    "type": "softwood",
    "count": 21,
    "sizes": [
        {
            "nominal": "1x2",
            "category": "boards",
            "condition": "dry",
            "actual": {
                "thickness": {
                    "in": 0.75,
                    "fraction": "3/4",
                    "mm": 19
                },
                "width": {
                    "in": 1.5,
                    "fraction": "1-1/2",
                    "mm": 38.1
                }
            }
        },
        {
            "nominal": "1x3",
            "category": "boards",
            "condition": "dry",
            "actual": {
                "thickness": {
                    "in": 0.75,
                    "fraction": "3/4",
                    "mm": 19
                },
                "width": {
                    "in": 2.5,
                    "fraction": "2-1/2",
                    "mm": 63.5
                }
            }
        },
        {
            "nominal": "1x4",
            "category": "boards",
            "condition": "dry",
            "actual": {
                "thickness": {
                    "in": 0.75,
                    "fraction": "3/4",
                    "mm": 19
                },
                "width": {
                    "in": 3.5,
                    "fraction": "3-1/2",
                    "mm": 88.9
                }
            }
        },
        {
            "nominal": "1x6",
            "category": "boards",
            "condition": "dry",
            "actual": {
                "thickness": {
                    "in": 0.75,
                    "fraction": "3/4",
                    "mm": 19
                },
                "width": {
                    "in": 5.5,
                    "fraction": "5-1/2",
                    "mm": 139.7
                }
            }
        },
        {
            "nominal": "1x8",
            "category": "boards",
            "condition": "dry",
            "actual": {
                "thickness": {
                    "in": 0.75,
                    "fraction": "3/4",
                    "mm": 19
                },
                "width": {
                    "in": 7.25,
                    "fraction": "7-1/4",
                    "mm": 184.1
                }
            }
        }
    ],
    "convention": {
        "nominal": "The trade name of the size (2x4), measured before drying and surfacing.",
        "actual": "The dressed (surfaced) size you measure on the board.",
        "dry": "Seasoned to 19% moisture content or less (S-DRY, KD); the default.",
        "green": "Surfaced unseasoned (S-GRN), a little larger so it shrinks to about the dry size.",
        "boardFeet": "Computed from nominal sizes unless basis=actual (the trade convention).",
        "lengths": "Lengths are not reduced: an 8 ft board is 8 ft (often a little over).",
        "condition": "dry"
    },
    "disclaimer": "Reference sizes and arithmetic only, not structural or building-code advice. Mills, species, moisture and regions differ: check the actual stock and your supplier before you cut or order."
}
常见尺寸及其实际尺寸 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/14693/lumber+size+and+board+feet+calculator+api/37982/common+sizes+with+their+actual+dimensions?type=softwood&condition=dry' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
发送名义尺寸(2x4x8或2x4及长度)或以英寸为单位的厚度和宽度(分数可以,硬木四分之一如8/4)以及长度。板尺 = 厚度 x 宽度(英寸)x 长度(英尺)/ 12 每块,默认情况下使用名义尺寸(行业惯例);基础=实际使用加工尺寸。价格与价格单位 bf(默认),mbf(每1,000板尺),lf(每线性英尺)或每块给出每块的成本,总计,每板尺和每线性英尺。
Endpoint ID: 37983
GET https://zylalabs.com/api/14693/lumber+size+and+board+feet+calculator+api/37983/board+feet+linear+feet+volume+and+cost
输入参数

板尺 线尺 体积 和 成本 — 端点功能

对象 描述
nominal 可选 Nominal size, optionally with the length in feet.
thickness 可选 Thickness in inches.
width 可选 Width in inches.
length 可选 Length (feet by default).
lengthUnit 可选 ft (default), in or m.
qty 可选 Pieces, 1-100000 (default 1).
basis 可选 nominal (default) or actual.
type 可选 softwood (default) or hardwood.
condition 可选 dry or green, for basis=actual.
price 可选 A price. (price parameter)
priceUnit 可选 bf (default), mbf, lf or piece.

剩余免费测试请求:3 / 3。


输入参数

nominal
thickness
width
length
lengthUnit
qty
basis
type
condition
price
priceUnit
API 示例响应
JSON
{
    "input": {
        "thickness": {
            "in": 2,
            "fraction": "2",
            "mm": 50.8
        },
        "width": {
            "in": 4,
            "fraction": "4",
            "mm": 101.6
        },
        "nominal": "2x4",
        "length": {
            "ft": 8,
            "in": 96,
            "m": 2.438
        },
        "qty": 10,
        "type": "softwood",
        "category": "dimension"
    },
    "basis": "nominal",
    "boardFeet": {
        "perPiece": 5.333,
        "total": 53.333
    },
    "linearFeet": 80,
    "linearMeters": 24.384,
    "volume": {
        "ft3": 4.4444,
        "m3": 0.1259
    },
    "cost": {
        "price": 4.5,
        "priceUnit": "piece",
        "perPiece": 4.5,
        "total": 45,
        "perBoardFoot": 0.8438,
        "perLinearFoot": 0.5625
    },
    "formula": "board feet = thickness (in) x width (in) x length (ft) / 12, per piece",
    "convention": {
        "nominal": "The trade name of the size (2x4), measured before drying and surfacing.",
        "actual": "The dressed (surfaced) size you measure on the board.",
        "dry": "Seasoned to 19% moisture content or less (S-DRY, KD); the default.",
        "green": "Surfaced unseasoned (S-GRN), a little larger so it shrinks to about the dry size.",
        "boardFeet": "Computed from nominal sizes unless basis=actual (the trade convention).",
        "lengths": "Lengths are not reduced: an 8 ft board is 8 ft (often a little over).",
        "basis": "nominal"
    },
    "disclaimer": "Reference sizes and arithmetic only, not structural or building-code advice. Mills, species, moisture and regions differ: check the actual stock and your supplier before you cut or order."
}
板尺 线尺 体积 和 成本 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/14693/lumber+size+and+board+feet+calculator+api/37983/board+feet+linear+feet+volume+and+cost?nominal=2x4x8&lengthUnit=ft&qty=10&basis=nominal&type=softwood&condition=dry&price=4.5&priceUnit=piece' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
类型:胶合板(默认),OSB或干墙 名义:出售时的厚度(3/4,7/16,1/2);不指定时,每种类型的所有厚度 面积(默认以平方英尺为单位,面积单位=m2)规格(默认4x8,4x9,4x10,4x12,4.5x12)和浪费百分比(默认10)给出板材数量
Endpoint ID: 37984
GET https://zylalabs.com/api/14693/lumber+size+and+board+feet+calculator+api/37984/plywood+osb+and+drywall+thickness+and+sheets+for+an+area
输入参数

胶合板 OSB 和石膏板厚度及用于一个区域的板材 — 端点功能

对象 描述
type 可选 plywood, osb or drywall.
nominal 可选 Thickness as sold, inches.
area 可选 Area to cover.
areaUnit 可选 ft2 (default) or m2.
size 可选 Sheet size in feet.
waste 可选 Waste percent, 0-50 (default 10).

剩余免费测试请求:3 / 3。


输入参数

type
nominal
area
areaUnit
size
waste
API 示例响应
JSON
{
    "type": "plywood",
    "thickness": {
        "nominal": {
            "in": 0.75,
            "fraction": "3/4",
            "mm": 19,
            "name": "3/4"
        },
        "actual": {
            "in": 0.7188,
            "fraction": "23/32",
            "mm": 18.3
        },
        "differs": true,
        "note": "Hardwood and Baltic birch plywood sold as 3/4 is often 18 mm (0.709 in); sanded softwood plywood is usually 23/32."
    },
    "count": {
        "sheetSize": {
            "name": "4x8",
            "widthFt": 4,
            "lengthFt": 8,
            "widthMm": 1219,
            "lengthMm": 2438,
            "areaFt2": 32,
            "areaM2": 2.973
        },
        "area": {
            "ft2": 320,
            "m2": 29.729
        },
        "wastePercent": 10,
        "areaWithWaste": {
            "ft2": 352,
            "m2": 32.702
        },
        "sheetsExact": 11,
        "sheets": 11,
        "coveredFt2": 352
    },
    "convention": {
        "nominal": "The thickness the panel is sold as.",
        "actual": "Typical measured thickness (plywood and OSB run under the name; drywall is made at it).",
        "lengths": "Sheets are full size (4x8 = 48 x 96 in)."
    },
    "disclaimer": "Reference sizes and arithmetic only, not structural or building-code advice. Mills, species, moisture and regions differ: check the actual stock and your supplier before you cut or order."
}
胶合板 OSB 和石膏板厚度及用于一个区域的板材 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/14693/lumber+size+and+board+feet+calculator+api/37984/plywood+osb+and+drywall+thickness+and+sheets+for+an+area?type=plywood&nominal=3/4&area=320&areaUnit=ft2&size=4x8' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API 访问密钥和身份验证

注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 木材尺寸和板尺计算器 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。

标头
标头 描述
授权 必需 应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。

无长期承诺。随时升级、降级或取消。

起价
$10,000/年


  • 自定义数量
  • 自定义速率限制
  • 专业客户支持
  • 实时 API 监控

概览

名义与实际木材尺寸、板尺及其成本,以及木夹板、OSB和干墙板的数量

木材尺寸和板尺计算器 API FAQs

2x4是粗锯板的标称(贸易)尺寸 干燥和刨削使其达到成品尺寸 1-1/2 x 3-1/2 英寸 API返回两者的尺寸 单位为英寸(小数和商用分数)和毫米

干木材的湿度为19%或更低,并且是默认值。湿木材(未干燥木材)的表面略大,以便它缩小到干燥后的尺寸。一般来说,厚度在5英寸及以上的木材通常以湿木材出售,因此它们以湿尺寸来计价

厚度(英寸) x 宽度(英寸) x 长度(英尺) / 12 每件 默认按名义尺寸计算,如木材交易所定价。添加基础=实际以计算加工尺寸。

一些在宽板上打印绿色宽度(1x8的7-1/2),而整理干燥的宽度是7-1/4。API在备注中标记了这些

不 跨距和载荷取决于树种 级别和您当地的规范 API仅提供尺寸和算术

不 每个调用都是在内存中计算的 并且没有任何日志记录

每个端点返回与木材尺寸、板尺计算以及胶合板、OSB 和干墙的板数相关的特定数据例如名义尺寸到实际尺寸的端点提供名义和实际格式的尺寸而板尺端点根据用户输入计算体积和成本

关键字段包括名义尺寸、实际尺寸(厚度和宽度)、类型(软木或硬木)、类别(板材、尺寸材料、木材)和成本细节。对于板尺计算,还包括板尺、线性尺和体积等字段

参数因端点而异,但通常包括名义尺寸(例如2x4)、尺寸(厚度和宽度)、长度、类型(软木或硬木)以及面积规格用于片数。用户可以通过指定这些参数来自定义请求

响应数据采用JSON格式结构,其中包含维度、条件和计算的嵌套对象。例如,板木尺端点将输入数据、计算值和成本细节组织在不同的部分以便清晰。

该API提供有关名义和实际木材尺寸、板尺计算以及各种材料的板数信息。每个端点专注于特定方面,例如尺寸、体积和成本,旨在满足用户需求

用户可以通过解释建筑项目的维度来利用返回的数据,计算材料成本,并确定特定区域所需的板材数量。结构化格式便于集成到应用程序或电子表格中

典型的使用案例包括建筑规划、估算材料成本以及确定项目的木材需求。建筑商和承包商可以使用API快速访问准确的木材尺寸和价格信息

数据准确性通过使用标准化的木材尺寸公约和行业实践来保持 API引用了已建立的图表和指南,确保用户在计算中获得可靠和一致的信息

一般常见问题

Zyla API Hub 就像一个大型 API 商店,您可以在一个地方找到数千个 API。我们还为所有 API 提供专门支持和实时监控。注册后,您可以选择要使用的 API。请记住,每个 API 都需要自己的订阅。但如果您订阅多个 API,您将为所有这些 API 使用相同的密钥,使事情变得更简单。
价格以 USD(美元)、EUR(欧元)、CAD(加元)、AUD(澳元)和 GBP(英镑)列出。我们接受所有主要的借记卡和信用卡。我们的支付系统使用最新的安全技术,由 Stripe 提供支持,Stripe 是世界上最可靠的支付公司之一。如果您在使用卡片付款时遇到任何问题,请通过 [email protected]

此外,如果您已经以这些货币中的任何一种(USD、EUR、CAD、AUD、GBP)拥有有效订阅,该货币将保留用于后续订阅。只要您没有任何有效订阅,您可以随时更改货币。
定价页面上显示的本地货币基于您 IP 地址的国家/地区,仅供参考。实际价格以 USD(美元)为单位。当您付款时,即使您在我们的网站上看到以本地货币显示的等值金额,您的卡片对账单上也会以美元显示费用。这意味着您不能直接使用本地货币付款。
有时,银行可能会因其欺诈保护设置而拒绝收费。我们建议您首先联系您的银行,检查他们是否阻止了我们的收费。此外,您可以访问账单门户并更改关联的卡片以进行付款。如果这些方法不起作用并且您需要进一步帮助,请通过 [email protected]
价格由月度或年度订阅决定,具体取决于所选计划。
API 调用根据成功请求从您的计划中扣除。每个计划都包含您每月可以进行的特定数量的调用。只有成功的调用(由状态 200 响应指示)才会计入您的总数。这确保失败或不完整的请求不会影响您的月度配额。
Zyla API Hub 采用月度订阅系统。您的计费周期将从您购买付费计划的那一天开始,并在下个月的同一日期续订。因此,如果您想避免未来的费用,请提前取消订阅。
要升级您当前的订阅计划,只需转到 API 的定价页面并选择您要升级到的计划。升级将立即生效,让您立即享受新计划的功能。请注意,您之前计划中的任何剩余调用都不会转移到新计划,因此在升级时请注意这一点。您将被收取新计划的全部金额。
要检查您本月剩余多少 API 调用,请参考响应标头中的 "X-Zyla-API-Calls-Monthly-Remaining" 字段。例如,如果您的计划允许每月 1,000 个请求,而您已使用 100 个,则响应标头中的此字段将显示 900 个剩余调用。
要查看您的计划允许的最大 API 请求数,请检查 "X-Zyla-RateLimit-Limit" 响应标头。例如,如果您的计划包括每月 1,000 个请求,此标头将显示 1,000。
"X-Zyla-RateLimit-Reset" 标头显示您的速率限制重置之前的秒数。这告诉您何时您的请求计数将重新开始。例如,如果它显示 3,600,则意味着还有 3,600 秒直到限制重置。
是的,您可以随时通过访问您的账户并在账单页面上选择取消选项来取消您的计划。请注意,升级、降级和取消会立即生效。此外,取消后,您将不再有权访问该服务,即使您的配额中还有剩余调用。
为了让您有机会在没有任何承诺的情况下体验我们的 API,我们提供 7 天免费试用,允许您免费进行最多 50 次 API 调用。此试用只能使用一次,因此我们建议将其应用于您最感兴趣的 API。虽然我们的大多数 API 都提供免费试用,但有些可能不提供。试用在 7 天后或您进行了 50 次请求后结束,以先发生者为准。如果您在试用期间达到 50 次请求限制,您需要"开始您的付费计划"以继续发出请求。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。或者,如果您在第 7 天之前不取消订阅,您的免费试用将结束,您的计划将自动计费,授予您访问计划中指定的所有 API 调用的权限。请记住这一点以避免不必要的费用。
7 天后,您将被收取试用期间订阅的计划的全额费用。因此,在试用期结束前取消很重要。因忘记及时取消而提出的退款请求不被接受。
当您订阅 API 免费试用时,您可以进行最多 50 次 API 调用。如果您希望超出此限制进行额外的 API 调用,API 将提示您执行"开始您的付费计划"。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。
付款订单在每月 20 日至 30 日之间处理。如果您在 20 日之前提交请求,您的付款将在此时间范围内处理。
您可以通过我们的聊天渠道联系我们以获得即时帮助。我们始终在线,时间为上午 8 点至下午 5 点(EST)。如果您在该时间之后联系我们,我们将尽快回复您。此外,您可以通过 [email protected]

相关 API