Fee quotes API
Quote a compounded prescription
Calculate the California maximum for a compounded prescription dispensed on or after July 1, 2025.
https://app.mindbill.org/partner/v2/fee-quotes/pharmacy/compoundPrice compounds and eligible single-drug sterile transfers with the documented pharmacist findings.
Use this URL with a server API key or a browser session and its exact allowed Origin. Both credentials use the same request and response contract. See the component API inventory for exact paths and SDK methods.
Request body
dateOfService / dispenser / route / dosageFormRequiredstringDispensing facts.
compoundMetricQuantity / containerCountRequiredstring / integerQuantity and containers dispensed.
ingredients[]Requiredobject[]At least two actual drug ingredients (one for a sterile transfer): ndcNumber, metricQuantity, billedIngredientCents, ndcStatus, productCategory, noSubstitution.
billedCents / billedCompoundingFeeCents / billedSterilityFeeCentsRequiredintegerBilled amounts.
authorizationStatus / essentialCopyStatus / sterilityTestingRequiredstringRequired regulatory findings; not inferred.
preparationKind"compound" | "sterile_transfer"Omit for an ordinary compound.
Examples
curl 'https://app.mindbill.org/partner/v2/fee-quotes/pharmacy/compound' \
--header "Authorization: Bearer $MINDBILL_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"dateOfService": "2026-09-16",
"dispenser": "pharmacy",
"pharmacyNpi": "1234567893",
"route": "Oral",
"dosageForm": "01",
"compoundMetricQuantity": "30",
"containerCount": 1,
"ingredients": [
{
"ndcNumber": "00000000001",
"metricQuantity": "10",
"billedIngredientCents": 1200,
"ndcStatus": "valid",
"productCategory": "drug",
"noSubstitution": false
},
{
"ndcNumber": "00000000002",
"metricQuantity": "20",
"billedIngredientCents": 1800,
"ndcStatus": "valid",
"productCategory": "drug",
"noSubstitution": false
}
],
"billedCents": 5000,
"usualCustomaryCents": 5000,
"billedCompoundingFeeCents": 395,
"billedSterilityFeeCents": 0,
"authorizationStatus": "authorized",
"essentialCopyStatus": "not_essential_copy",
"sterilityTesting": "not_performed"
}'curl 'https://app.mindbill.org/partner/v2/fee-quotes/pharmacy/compound' \
--header "Authorization: Bearer $MINDBILL_BROWSER_TOKEN" \
--header 'Origin: https://your-app.example' \
--header 'Content-Type: application/json' \
--data '{
"dateOfService": "2026-09-16",
"dispenser": "pharmacy",
"pharmacyNpi": "1234567893",
"route": "Oral",
"dosageForm": "01",
"compoundMetricQuantity": "30",
"containerCount": 1,
"ingredients": [
{
"ndcNumber": "00000000001",
"metricQuantity": "10",
"billedIngredientCents": 1200,
"ndcStatus": "valid",
"productCategory": "drug",
"noSubstitution": false
},
{
"ndcNumber": "00000000002",
"metricQuantity": "20",
"billedIngredientCents": 1800,
"ndcStatus": "valid",
"productCategory": "drug",
"noSubstitution": false
}
],
"billedCents": 5000,
"usualCustomaryCents": 5000,
"billedCompoundingFeeCents": 395,
"billedSterilityFeeCents": 0,
"authorizationStatus": "authorized",
"essentialCopyStatus": "not_essential_copy",
"sterilityTesting": "not_performed"
}'Response
200 OK
{
"data": {
"status": "requires_review",
"reason": "source_unavailable",
"provenance": []
}
}data.statusRequired"matched" | "requires_review"Matched maximum with ingredient breakdown, or a review reason.
data.maximumCents / amountCents / scheduleMaximumCentsintegerMaximum after caps, lesser of maximum and billed, and schedule amount.
data.ingredients[]object[]Per-ingredient cost breakdown.