{
"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'
After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Concrete Paint and Gravel Calculator API simply include your bearer token in the Authorization header.
| Header | Description |
|---|---|
Authorization
|
Required
Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.
|
No long-term commitment. Upgrade, downgrade, or cancel anytime.
Concrete, paint and gravel estimates: cubic yards, premix bags, gallons and tons, assumptions echoed.
Volume from your dimensions (a 10 x 10 ft slab 4 in thick is 33.3 cubic feet, 1.23 cubic yards), plus your waste percent (default 10%). Bags use typical yields of 0.30, 0.45 and 0.60 cubic feet for 40, 60 and 80 lb bags; send your bag's own yield to override.
Walls are 2 x (length + width) x height minus doors (20 sq ft each by default) and windows (15 sq ft), times coats, divided by coverage (default 350 sq ft per gallon), plus waste. Send your can's coverage with "coverage".
Volume times a typical loose, dry bulk density for the material (gravel 2,800 lb per cubic yard, mulch 800). Moisture and grading change it; send your supplier's figure with "density".
Yes: units=metric takes metres and centimetres (and m² per litre for paint coverage); every answer gives both systems.
No. Every answer says estimateOnly: true. There is no structural design, reinforcement, mix strength or code check.
No. Each call is computed in memory and nothing is logged.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund