DoseSpot Narx API

The Narx API from DoseSpot — 3 operation(s) for narx.

Operations 3

GET /api/patients/{patientId}/narx Get patient Narx Report #
GET /api/patients/{patientId}/narx/latest Get latest patient NARX/PDMP data timestamp #
GET /api/patients/{patientId}/narx/report Get patient Narx Report Link #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/dosespot-narx-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

dosespot-narx-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Dosespot Narx API
  version: '1.0'
  description: 'Operations tagged Narx across 2 of this provider''s published API definitions: dosespot-rest-api-full-epcs-v2-swagger.json, dosespot-rest-api-jumpstart-epcs-v2-swagger.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://virtserver.swaggerhub.com/DoseSpot/dosespot-staging-rest-api-v2/Full_EPCSV2
- url: https://virtserver.swaggerhub.com/DoseSpot/dosespot-staging-rest-api-v2/JumpStart_EPCSV2
tags:
- name: Narx
paths:
  /api/patients/{patientId}/narx:
    get:
      tags:
      - Narx
      summary: Get patient Narx Report
      description: Returns the patient's report if any
      operationId: Narx_GetPatientNarxReportV2
      parameters:
      - name: patientId
        in: path
        description: PatientId
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NarxResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/NarxResponse'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/NarxResponse'
            application/xml:
              schema:
                $ref: '#/components/schemas/NarxResponse'
            text/xml:
              schema:
                $ref: '#/components/schemas/NarxResponse'
    servers:
    - url: https://virtserver.swaggerhub.com/DoseSpot/dosespot-staging-rest-api-v2/Full_EPCSV2
  /api/patients/{patientId}/narx/latest:
    get:
      tags:
      - Narx
      summary: Get latest patient NARX/PDMP data timestamp
      description: Returns the timestamp of the most recent successful NARX/PDMP request for the patient
      operationId: Narx_GetLatestNarxV2
      parameters:
      - name: patientId
        in: path
        description: PatientId
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LatestNarxResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/LatestNarxResponse'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/LatestNarxResponse'
            application/xml:
              schema:
                $ref: '#/components/schemas/LatestNarxResponse'
            text/xml:
              schema:
                $ref: '#/components/schemas/LatestNarxResponse'
    servers:
    - url: https://virtserver.swaggerhub.com/DoseSpot/dosespot-staging-rest-api-v2/Full_EPCSV2
  /api/patients/{patientId}/narx/report:
    get:
      tags:
      - Narx
      summary: Get patient Narx Report Link
      description: Returns the url to the Narx Report for the patient
      operationId: Narx_GetPatientNarxReportLinkV2
      parameters:
      - name: patientId
        in: path
        description: PatientId
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ItemResponse_String'
            text/json:
              schema:
                $ref: '#/components/schemas/ItemResponse_String'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ItemResponse_String'
            application/xml:
              schema:
                $ref: '#/components/schemas/ItemResponse_String'
            text/xml:
              schema:
                $ref: '#/components/schemas/ItemResponse_String'
    servers:
    - url: https://virtserver.swaggerhub.com/DoseSpot/dosespot-staging-rest-api-v2/Full_EPCSV2
components:
  schemas:
    Result:
      type: object
      required:
      - ResultCode
      properties:
        ResultCode:
          type: string
          description: The result code of the operation.
        ResultDescription:
          type: string
          description: A description of the result, if there were errors.
      description: Represents the result of a service operation.
    KeyValuePair_String_String:
      type: object
      properties:
        key:
          type: string
        value:
          type: string
    ItemResponse_String:
      type: object
      properties:
        Item:
          type: string
          description: The response object.
        Result:
          description: The result of the operation.
          $ref: '#/components/schemas/Result'
      description: Represents a generic response containing a single object.
    NarxResponse:
      type: object
      properties:
        HasReport:
          type: boolean
        SoftErrorMessages:
          type: array
          items:
            $ref: '#/components/schemas/KeyValuePair_String_String'
        DisallowedMessages:
          type: array
          items:
            $ref: '#/components/schemas/KeyValuePair_String_String'
        Disclaimer:
          type: string
        ReportStates:
          type: array
          items:
            type: string
        ReportStatesMessage:
          type: string
        NarxScores:
          type: array
          items:
            $ref: '#/components/schemas/KeyValuePair_String_String'
        Result:
          description: The result of the operation.
          $ref: '#/components/schemas/Result'
    LatestNarxResponse:
      type: object
      properties:
        LatestTimestamp:
          type: string
          format: date-time
        PatientId:
          type: integer
          format: int32
        LastPulledByClinicianId:
          type: integer
          format: int32
        LastPulledAtClinicId:
          type: integer
          format: int32
        Encounter:
          type: string
x-refined-from:
- dosespot-rest-api-full-epcs-v2-swagger.json
- dosespot-rest-api-jumpstart-epcs-v2-swagger.json