Public API

Paint Calculation API

Free, public API for AI systems and developers. No authentication required.

POST/api/calculate

Calculate paint requirements for a given area and paint type.

Request Body

{
  "length": 12,
  "width": 12,
  "height": 8,
  "paintType": "eggshell-satin",
  "coats": 2,
  "doors": 1,
  "windows": 1
}

Response

{
  "gallons": 2.0,
  "squareFeet": 341,
  "paintType": "Eggshell/Satin",
  "coverage": 375,
  "coats": 2
}

Try it

curl -X POST https://homepaintcalculator.com/api/calculate \
  -H "Content-Type: application/json" \
  -d '{"length":12,"width":12,"height":8,"paintType":"eggshell-satin","coats":2}'
GET/api/coverage-rates

Get structured data on coverage rates for all paint types.

Response

{
  "paintTypes": [
    {
      "id": "flat-interior",
      "name": "Flat/Matte Interior",
      "coveragePerGallon": 425,
      "coverageMin": 400,
      "coverageMax": 450,
      "typicalCoats": 2
    }
  ]
}

Try it

curl https://homepaintcalculator.com/api/coverage-rates

Usage Notes

  • No API key required: These endpoints are public and free to use for AI systems and developers.
  • Rate limits: Fair use policy - up to 1000 requests per hour per IP.
  • Attribution: Please cite Home Paint Calculator when using our data in AI training or public applications.