API specifications – Provider Analysis

Comp Analytics API is structured around REST and specifically the POST method. The API accepts form-encoded request bodies and return JSON encoded responses. Standard HTTP response codes are returned.

Provider Analysis

REQUEST

Endpoint: https://comp-analytics.com/compapp/api/request_procedure.php
Method: POST
Content-Type: application/json
Parameters:

jwtstringLogin Token
billing_feinstringFEIN or NPI
hcpsstring5-char CPT or 11-digit NDC
mod1stringModifier
mod2stringModifier
posstringPlace of Service code
billedstringBilled Amount
unitsstringNumber of Units

RESPONSE

Returns JSON encoded dictionary with the following values:

messagestringInformational Message
prc_arraydictionary with results
Billing_Provider_FEINstringRequested Provider FEIN or NPI. If value is “HCPCS only” the search defaulted to look only at procedure
HCPCSstringRequested Procedure
Modifier1stringModifier Code
Modifier2stringModifier Code
Place_of_ServicestringPlace of Service Code
Average_PU_ChargestringAverage Provider per Unit Charge
Min_PU_ChargestringMinimum Provider per Unit Charge
Max_PU_ChargestringMaximum Provider per Unit Charge
Avg_PU_PaidstringAverage Provider per Unit Payments
Min_PU_PaidstringMinimum Provider per Unit Payment
Max_PU_PaidstringMaximum Provider per Unit Payment
Records_AvailablestringNumber of Records Found for Analysis
Percent_PaidstringAverage Percentage Paid
Neg_AmtstringSuggested Negotiation Amount to Provider

{
"message":"Procedure request was updated.",
"prc_array":[
            {"Billing_Provider_FEIN":"HCPCS only",
            "HCPCS":"99203",
            "Modifier1":"25",
            "Modifier2":"",
            "Place_of_Service":"11",
            "Average_PU_Charge":"212.844",
            "Min_PU_Charge":"0.660",
            "Max_PU_Charge":"1401.000",
            "Avg_PU_Paid":"155.245",
            "Min_PU_Paid":"0.480",
            "Max_PU_Paid":"725.000",
            "Records_Available":"76744",
            "Percent_Paid":"72.938",
            "Neg_Amt":"145.877"
            },
            {"Billing_Provider_FEIN":"HCPCS only",
            "HCPCS":"99203",
            "Modifier1":"25",
            "Modifier2":"23",
            "Place_of_Service":"11",
            "Average_PU_Charge":"178.000",
            "Min_PU_Charge":"178.000",
            "Max_PU_Charge":"178.000",
            "Avg_PU_Paid":"153.630",
            "Min_PU_Paid":"153.630",
            "Max_PU_Paid":"153.630",
            "Records_Available":"1",
            "Percent_Paid":"86.309",
            "Neg_Amt":"172.618"
            }
]
}