Dosages API

Overview

The Dosages API allows users to access dosage information associated with various drugs.

Endpoint

GET https://www.britelink.io/dosages

Making a Request

Example Request using cURL

curl -X GET "https://www.britelink.io/dosages"

Example Request using JavaScript

const apiUrl = "https://www.britelink.io/dosages";

fetch(`${apiUrl}`)
  .then((response) => response.json())
  .then((data) => console.log(data))
  .catch((error) => console.error("Error:", error));

Request Parameters

Customize your query with the following parameters:

ParameterTypeDescriptionRequired
nstringThe name of the drug to search for dosages.Yes
cursorstringCursor for pagination of results.No
bintegerBatch size for pagination (default: 250, max: 500).No

Responses

  • HTTP 200: Success, returns a list of dosages.
  • HTTP 404: No matching dosages found.
  • HTTP 500: Internal server error.

Response Format

Responses are structured as JSON, providing dosages grouped by drugs, with pagination support through nextCursor.

{
  "dosages": [
    {
      "drugName": "Aspirin",
      "dosages": [
        {
          "form": "Tablet",
          "physicalForm": "Oral Tablet",
          "adminMethod": "Oral",
          "strength": "500mg",
          "id": "clrn5m01o0026ia08lou1bb1g"
        },
        {
          "form": "Capsule",
          "physicalForm": "Capsule",
          "adminMethod": "Oral",
          "strength": "200mg",
          "id": "clrn5m01o0026ia08lou1bb1h"
        }
      ]
    }
    // Additional drugs with dosages...
  ],
  "nextCursor": "nextCursorString"
}

Use Cases

  • Clinical Practice: Healthcare professionals can access accurate dosage information to prescribe medications effectively and ensure patient safety.
  • Patient Education: Patients can learn about their prescribed medications, including dosage instructions and administration methods, to adhere to their treatment plans properly.
  • Pharmaceutical Research: Researchers can analyze dosage patterns and formulations across different drugs to identify trends, optimize drug delivery methods, and develop new formulations.
  • Pharmacovigilance: Pharmacovigilance teams can use dosage data to monitor and analyze adverse drug reactions and medication errors, contributing to drug safety assessments and regulatory reporting.