realdentalcosts

Client for the Real Dental Costs open JSON API: U.S. dental procedure prices by state, Medicaid dental payments, chain price lists.
https://realdentalcosts.com/en/api/

To install, run:

haxelib install realdentalcosts 0.1.0 

See using Haxelib in Haxelib documentation for more information.

README.md

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.

Contributors
realdentalcosts
Version
0.1.0
Published
2 months ago
License
MIT

All libraries are free

Every month, more than a thousand developers use Haxelib to find, share, and reuse code — and assemble it in powerful new ways. Enjoy Haxe; It is great!

Explore Haxe

Haxe Manual

Haxe Code Cookbook

Haxe API documentation

You can try Haxe in the browser! try.haxe.org

Join us on GitHub!

Haxe is being developed on GitHub. Feel free to contribute or report issues to our projects.

Haxe on GitHub

⌂