Rand Stats

RealDentalCosts::API

zef:realdentalcosts

RealDentalCosts::API

A minimal Raku client for the free, no-key JSON API published by Real Dental Costs: U.S. dental procedure price benchmarks by state, and Medicaid (T-MSIS) provider payment data by CDT procedure code.

Synopsis

use RealDentalCosts::API;

my %crown = procedure('dental-crown');
say %crown<national><low_usd>;

my %root-canal-medicaid = medicaid('D3330');
say %root-canal-medicaid<meta><license>;

Installation

zef install RealDentalCosts::API

Data & documentation

This module wraps the public endpoints described in the Real Dental Costs open data & API documentation. Some reference pages built on the same underlying dataset, for context on the numbers the API returns:

License

Code: Artistic-2.0 (this module).

Data returned by the API: CC BY 4.0, Real Dental Costs. Every JSON response includes a meta block with the license URL, attribution string, and dataset DOI — see the meta.attribution field before republishing any numbers.

Author

Real Dental Costs Data & Research Team