I see. This is indeed harder. I don't think there is any web API for accessing these sensors.
Moreover, measuring the volume would require tracing out a much more complicated path since volumes are bounded by surfaces rather than edges. Given that the technical problems were solved, do you think that a human actually could manage to trace out a volume in an other cases than simple rectangular blocks etc?