realdentalcosts
A small Haxe HTTP client for the Real Dental Costs open JSON API — U.S. dental procedure prices by state, Medicaid dental payment data, and dental chain price lists, published as static, versioned, CC-BY-4.0 licensed JSON.
What the API returns
Each procedure document (for example Root canal cost by state)
includes a meta block (license, attribution, DOI, methodology link), a
national price range (low_usd / avg_usd / high_usd), and a by_state
array where every entry carries a provenance block: source, confidence score,
and observation type (measured vs. modelled). See
Dental implants cost by state
and Dentures cost by state for
examples of the underlying data.
State-level documents cover Medicaid dental coverage rules and payment rates — see Medicaid dental coverage by state.
Full field reference: API documentation. Sourcing, confidence scoring and update cadence: Methodology.
Usage
import realdentalcosts.Client;
Client.getProcedure("root-canal", function(data) {
trace(data.national.avg_usd); // 1100
}, function(err) {
trace(err);
});
Client.getState("TX", function(data) {
trace(data);
}, function(err) {
trace(err);
});
Install
haxelib install realdentalcosts
License
MIT for this client. The underlying data is CC-BY-4.0 — see the meta
block returned by each endpoint for the required attribution string.