Skip to main content
GET
/
script
/
{script_id}
Find script by id
curl --request GET \
  --url https://nitro-script-api.nitrorx.ai/script/{script_id} \
  --header 'Authorization: Bearer <token>'
{
  "message": "Script details",
  "data": {
    "script_id": 1,
    "reference_id": "1",
    "date_created": "2025-02-09T01:55:47Z",
    "status": "processed",
    "script_data": {
      "doctor_first_name": "John",
      "doctor_middle_name": null,
      "doctor_last_name": "Doe",
      "npi": "0123456789",
      "ndc": "123456789012",
      "medications": [
        {
          "medication_name": "Ubrelvy",
          "medication_strength": "100 mg",
          "medication_form": "Oral tablet",
          "quantity": "27",
          "sig": "Take one tablet as needed for acute migraine. Maximum 1 tablet a day.",
          "daw_code": "DAW 1",
          "refills": "1",
          "potency_unit_code": "mg",
          "unit_total_strength": "2 mg",
          "unit_total_volume": "3 mL"
        }
      ],
      "allergies": "Penicillin, Aspirin",
      "written_date": "2024/11/22",
      "authenticity": {
        "score": 10,
        "interpretation": "Highly authentic - All critical elements present and doctor validated",
        "details": {
          "medications": "1/1 medications complete",
          "written_date": "Valid written date present",
          "doctor": "Doctor validated through NPI",
          "signature": "Signature validation skipped",
          "ndc": "Valid NDC present"
        }
      }
    },
    "original_metadata": {
      "medications": [
        {
          "medication": "Ubrelvy 100 mg oral tablet",
          "quantity": "27",
          "sig": "1 tab as needed for acute migraine. Max 1 tab a day.",
          "refills": "1",
          "metadata": {}
        }
      ]
    }
  }
}

Authorizations

Authorization
string
header
required

API Key for authentication

Path Parameters

script_id
number
required

ID of script to return

Example:

1234

Response

Script details

message
string

Message will be a description of the response

Example:

"Script details"

data
Processed · object