POST/v3/live/healthcare/hcp/{aggkHcpId}/prescriptions

Get HCP prescriptions

Returns the drugs a healthcare professional prescribed, one row per product NDC, from pharmacy claims, with FDA Orange Book and Purple Book market data for each product. Counts cover a fixed five-year window, with trailing-window counts and a percentile rank against the product's other prescribers; there are no filters. For one row per RxNorm clinical dose form that also counts drugs administered on medical claims, with a year range and filters, use Get HCP drugs prescribed. Paginated with limit (default 100, max 1000) and an opaque cursor. Consumes 1 credit, billed once per distinct HCP per billing period.

Version
v3
Rate limit
Tier 3 · 10–200 rps by plan
Billing
Healthcare (HCP) · Get HCP prescriptions

Path parameters

  • aggkHcpIdstringRequired
    AggK HCP ID

Request body

  • limitinteger (int32)Optional
    Maximum number of results to return (default 100, max 1000)
  • cursorstringOptional
    Opaque cursor returned by a previous page; omit to fetch the first page
  • metadataobjectOptional
    Optional metadata to associate with the request. Will be returned in the response.
Headers
x-api-key Required · API key for authentication

Response

  • nextCursorstring
    Cursor for the next page; absent when there are no more results
  • resultsobject[]
    One row per product NDC the HCP prescribed, ordered by trailing 12-month count, largest first
  • isSuccessboolean
    true when the request was answered with a result. false means no result was returned: check isRetryable, which is true when a data source failed or timed out and false when the input matched nothing.
  • isRetryableboolean
    When isSuccess is false, whether sending the same input again could succeed. Always true when isSuccess is true.
  • hasProblemsboolean
    Whether we hit a problem answering the request: the profile or company wasn't found, or a data source failed or timed out. Data may be missing or incomplete; problems, where the response has it, says which.
  • metadataobject
    Caller-supplied metadata echoed back from the request.
  • inputParametersobject
    Caller-supplied inputs echoed back in the response

Status codes