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:
| jwt | string | Login Token |
| billing_fein | string | FEIN or NPI |
| hcps | string | 5-char CPT or 11-digit NDC |
| mod1 | string | Modifier |
| mod2 | string | Modifier |
| pos | string | Place of Service code |
| billed | string | Billed Amount |
| units | string | Number of Units |
RESPONSE
Returns JSON encoded dictionary with the following values:
| message | string | Informational Message | |
| prc_array | dictionary with results | ||
| Billing_Provider_FEIN | string | Requested Provider FEIN or NPI. If value is “HCPCS only” the search defaulted to look only at procedure | |
| HCPCS | string | Requested Procedure | |
| Modifier1 | string | Modifier Code | |
| Modifier2 | string | Modifier Code | |
| Place_of_Service | string | Place of Service Code | |
| Average_PU_Charge | string | Average Provider per Unit Charge | |
| Min_PU_Charge | string | Minimum Provider per Unit Charge | |
| Max_PU_Charge | string | Maximum Provider per Unit Charge | |
| Avg_PU_Paid | string | Average Provider per Unit Payments | |
| Min_PU_Paid | string | Minimum Provider per Unit Payment | |
| Max_PU_Paid | string | Maximum Provider per Unit Payment | |
| Records_Available | string | Number of Records Found for Analysis | |
| Percent_Paid | string | Average Percentage Paid | |
| Neg_Amt | string | Suggested 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"
}
]
}