Concrete Paint and Gravel Calculator API

API ID 14692

Concrete, paint and gravel estimates: cubic yards, premix bags, gallons and tons, assumptions echoed.

API Documentation

Endpoints

Request
shape: slab, footing, column, stairs (default slab). slab: length, width (ft/m), thickness (in/cm). footing: length (ft/m), width and depth (in/cm). column: height (ft/m) and diameter (round) or side (square) in in/cm. stairs: steps, rise and run (in/cm), width (ft/m), optional platform depth (in/cm); solid steps on the ground. quantity multiplies identical pieces. Bag counts use typical yields (40 lb 0.30 ft³, 60 lb 0.45 ft³, 80 lb 0.60 ft³); override with yield40, yield60, yield80 (ft³ per bag). A parameter the shape does not use is refused (unused_parameter).
Endpoint ID: 37978
GET https://zylalabs.com/api/14692/concrete+paint+and+gravel+calculator+api/37978/concrete+volume+ready-mix+order+and+premix+bags
INPUT PARAMETERS

Concrete volume ready-mix order and premix bags — Endpoint Features

Object Description
steps Optional stairs: 1-100.
yield80 Optional ft³ per 80 lb bag (default 0.60).
yield60 Optional ft³ per 60 lb bag (default 0.45).
yield40 Optional ft³ per 40 lb bag (default 0.30).
waste Optional Extra percent, 0-50 (default 10).
quantity Optional Identical pieces, 1-1000.
platform Optional stairs: top landing depth, in or cm.
run Optional stairs: in or cm.
rise Optional stairs: in or cm.
shape Optional slab, footing, column or stairs.
height Optional column: ft or m.
side Optional column (square): in or cm.
diameter Optional column (round): in or cm.
depth Optional footing: in or cm.
thickness Optional slab: in or cm.
width Optional slab, stairs: ft or m; footing: in or cm.
length Optional slab, footing: ft or m.
units Optional us (default: ft, in, ft²) or metric (m, cm, m²).

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

steps
yield80
yield60
yield40
waste
quantity
platform
run
rise
shape
height
side
diameter
depth
thickness
width
length
units
API EXAMPLE RESPONSE
JSON
{
    "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."
}
Concrete volume ready-mix order and premix bags — CODE SNIPPETS

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' 


    
Request
Walls: length, width and height (walls = 2 x (length + width) x height), or wallArea. Ceiling: ceiling=true (length x width) or ceilingArea. doors and windows are subtracted from the walls at doorArea (default 20 ft² / 1.86 m²) and windowArea (default 15 ft² / 1.39 m²). coats (default 2), coverage per gallon (default 350 ft²/gal; metric m²/L, default 8.59), waste (default 10%), primer=true adds one coat at primerCoverage (default 300 ft²/gal).
Endpoint ID: 37979
GET https://zylalabs.com/api/14692/concrete+paint+and+gravel+calculator+api/37979/paint+for+walls+and+ceilings+minus+doors+and+windows
INPUT PARAMETERS

Paint for walls and ceilings minus doors and windows — Endpoint Features

Object Description
units Optional us (default: ft, in, ft²) or metric (m, cm, m²).
length Optional Room length, ft or m.
width Optional Room width, ft or m.
height Optional Wall height, ft or m.
wallArea Optional Or the wall area, ft² or m².
ceiling Optional true: paint the ceiling too.
ceilingArea Optional Ceiling area, ft² or m².
doors Optional Doors to subtract.
windows Optional Windows to subtract.
doorArea Optional One door, ft² or m².
windowArea Optional One window, ft² or m².
coats Optional 1-10 (default 2).
coverage Optional ft² per gallon (us) or m² per litre (metric).
primer Optional true: add one primer coat.
primerCoverage Optional Primer coverage, same units.
waste Optional Extra percent, 0-50 (default 10).

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

units
length
width
height
wallArea
ceiling
ceilingArea
doors
windows
doorArea
windowArea
coats
coverage
primer
primerCoverage
waste
API EXAMPLE RESPONSE
JSON
{
    "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."
}
Paint for walls and ceilings minus doors and windows — CODE SNIPPETS

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' 


    
Request
length and width (ft/m) or area (ft²/m²), depth (in/cm). material: gravel, pea-gravel, crushed-stone, river-rock, road-base, decomposed-granite, sand, topsoil, mulch (default gravel), or your own density (lb per yd³ for us, kg per m³ for metric). waste (default 10%) covers compaction and spillage. Bags of 0.5 ft³ (us) or 14 L (metric) by default; set bagSize.
Endpoint ID: 37980
GET https://zylalabs.com/api/14692/concrete+paint+and+gravel+calculator+api/37980/gravel+stone+sand+soil+or+mulch+volume+and+weight
INPUT PARAMETERS

Gravel stone sand soil or mulch volume and weight — Endpoint Features

Object Description
units Optional us (default: ft, in, ft²) or metric (m, cm, m²).
length Optional ft or m. (length parameter)
width Optional ft or m. (width parameter)
area Optional Or the area, ft² or m².
depth Required in or cm. (depth parameter)
material Optional Bulk material.
density Optional lb per yd³ (us) or kg per m³ (metric).
waste Optional Extra percent, 0-50 (default 10).
bagSize Optional ft³ (us) or litres (metric) per bag.

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

units
length
width
area
depth
material
density
waste
bagSize
API EXAMPLE RESPONSE
JSON
{
    "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."
}
Gravel stone sand soil or mulch volume and weight — CODE SNIPPETS

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 Access Key & Authentication

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.

Headers
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.

Starts at
$10,000/Year


  • Custom Volume
  • Custom Rate Limit
  • Specialized Customer Support
  • Real-Time API Monitoring

Overview

Concrete, paint and gravel estimates: cubic yards, premix bags, gallons and tons, assumptions echoed.

Concrete Paint and Gravel Calculator API FAQs

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.

General FAQs

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.

Prices are listed in USD (United States Dollar), EUR (Euro), CAD (Canadian Dollar), AUD (Australian Dollar), and GBP (British Pound). We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world's most reliable payment companies. If you have any trouble paying by card, just contact us at [email protected]

Additionally, if you already have an active subscription in any of these currencies (USD, EUR, CAD, AUD, GBP), that currency will remain for subsequent subscriptions. You can change the currency at any time as long as you don't have any active subscriptions.
The local currency shown on the pricing page is based on the country of your IP address and is provided for reference only. The actual prices are in USD (United States Dollar). When you make a payment, the charge will appear on your card statement in USD, even if you see the equivalent amount in your local currency on our website. This means you cannot pay directly with your local currency.
Occasionally, a bank may decline the charge due to its fraud protection settings. We suggest reaching out to your bank initially to check if they are blocking our charges. Also, you can access the Billing Portal and change the card associated to make the payment. If these does not work and you need further assistance, please contact our team at [email protected]
Prices are determined by a recurring monthly or yearly subscription, depending on the chosen plan.
API calls are deducted from your plan based on successful requests. Each plan comes with a specific number of calls that you can make per month. Only successful calls, indicated by a Status 200 response, will be counted against your total. This ensures that failed or incomplete requests do not impact your monthly quota.
Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.
To upgrade your current subscription plan, simply go to the pricing page of the API and select the plan you want to upgrade to. The upgrade will be instant, allowing you to immediately enjoy the features of the new plan. Please note that any remaining calls from your previous plan will not be carried over to the new plan, so be aware of this when upgrading. You will be charged the full amount of the new plan.
To check how many API calls you have left for the current month, refer to the 'X-Zyla-API-Calls-Monthly-Remaining' field in the response header. For example, if your plan allows 1,000 requests per month and you've used 100, this field in the response header will indicate 900 remaining calls.

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.

The 'X-Zyla-RateLimit-Reset' header shows the number of seconds until your rate limit resets. This tells you when your request count will start fresh. For example, if it displays 3,600, it means 3,600 seconds are left until the limit resets.

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.

After 7 days, you will be charged the full amount for the plan you were subscribed to during the trial. Therefore, it's important to cancel before the trial period ends. Refund requests for forgetting to cancel on time are not accepted.
When you subscribe to an API free trial, you can make up to 50 API calls. If you wish to make additional API calls beyond this limit, the API will prompt you to perform an "Start Your Paid Plan." You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab.
You can contact us through our chat channel to receive immediate assistance. We are always online from 8 am to 5 pm (EST). If you reach us after that time, we will get back to you as soon as possible. Additionally, you can contact us via email at [email protected]

Please have a look at our Refund Policy: https://zylalabs.com/terms#refund


Related APIs