Our Data Sources
Every drug record, pill image, and safety alert on RXID.ai comes from authoritative federal databases.
National Institutes of Health (NIH)
The NIH provides two critical data sources for RXID:
- C3PI (Computational Photography Project for Pill Identification): A curated library of high-resolution pill photographs. These reference images are used to visually match pills identified through our attribute search. C3PI images are captured under controlled lighting and standardized backgrounds for accuracy.
- DailyMed: The official NIH database of FDA-approved drug labeling. DailyMed provides comprehensive prescribing information including indications, dosage, contraindications, warnings, and adverse reactions for every FDA-approved medication.
Food & Drug Administration (FDA)
The FDA's data forms the backbone of RXID's drug identification system:
- NDC Directory: The National Drug Code Directory assigns a unique 10-digit code to every commercially distributed drug product. RXID uses NDC lookups for barcode scanning and precise product identification.
- openFDA: FDA's public API provides structured access to drug labels, adverse event reports, recall data, and enforcement actions. RXID queries openFDA for attribute-based searches (color, shape, imprint) and safety information.
- Drug Labels: Package insert information including active ingredients, inactive ingredients, storage requirements, and manufacturer details.
RxNorm (National Library of Medicine)
RxNorm is the standard nomenclature for clinical drugs maintained by the National Library of Medicine. It provides:
- Drug Name Normalization: Maps between brand names, generic names, and clinical terms so that searching "Lipitor" also finds "atorvastatin calcium"
- Clinical Vocabularies: Standardized drug identifiers (RxCUI) that link to external systems like the VA, CMS, and commercial drug databases
- Ingredient and Dose Form Data: Structured data about active ingredients, strengths, and pharmaceutical dose forms
GPT-4o Vision (OpenAI)
For image-based identification (photo upload and camera capture), RXID uses GPT-4o's multimodal vision capabilities. The AI model analyzes visible pill characteristics: shape, color, size, imprint markings, scoring lines, and coating type. GPT-4o was trained on diverse visual data and can identify pills even from imperfect photos.
AI identification results are always cross-referenced against FDA's NDC directory. RXID displays a confidence indicator so users understand the certainty level of each identification.
Data Freshness
RXID queries live API endpoints. Drug data reflects the current state of federal databases at the time of each search. C3PI pill images and cached lookup results are refreshed periodically.