medAid – Global Medication Equivalency Platform

🧭 Inspiration

With millions of people traveling, studying, and working abroad every year, accessing the right medication becomes a stressful and sometimes risky challenge. Language barriers, regional branding, and differing pharmaceutical regulations make it hard to find equivalent treatments across countries.

We created medAid to solve this. It travelers, expats, immigrants, and international students, instantly find verified local alternatives to their medications.


💡 What It Does

medAid helps users search for medications by brand name or active ingredient and returns:

  • Verified equivalents available in the selected destination country
  • Prescription (Rx) or Over-the-Counter (OTC) classification
  • Side-by-side drug comparisons
  • Pharmacy availability with links
  • Multilingual support to ease language barriers

🛠️ How We Built It

Built using:

  • Node.js + Express.js for the backend
  • EJS for templating the frontend
  • SQLite for local data storage
  • Sonar Reasoning Pro API from Perplexity to power intelligent, multilingual search and semantic comparisons

The app queries the Sonar model to match drug names across countries and parse results into structured, user-friendly output. Search history is stored and referenced to improve response time on repeated queries.


🚧 Challenges We Ran Into

  1. Slow Initial Queries with Deep Research API
    We started with Sonar Deep Research, but query times averaged over 30 minutes, far too slow for a real-time tool. We pivoted to Sonar Reasoning Pro, which delivered faster and more structured responses.

  2. Multilingual Validation of Medications
    Countries like Japan, South Korea, and China presented challenges due to character-based scripts and non-standardized naming. Verifying the matches against known databases and user expectations took extra care and testing.

  3. Delayed API Access
    Our development was briefly stalled while waiting several days for access credits from Perplexity, limiting our time to test and build robust features early on.


🏆 Accomplishments We're Proud Of

  • A fully working MVP with country-specific medication lookup and real-time comparison.
  • Local storage of searches, enabling faster results and better UX for recurring users.
  • Drug matching with classification of partial and alternative equivalency—complete with explanations.
  • Pharmacy integration with clickable verification links.
  • Seamless multilingual queries made possible through Sonar Reasoning Pro.

📚 What We Learned

  • How to integrate and optimize AI APIs (like Sonar) for domain-specific use cases.
  • Practical application of NLP and semantic reasoning for global health challenges.
  • The power of good UX when dealing with sensitive information like medications.
  • Real-world implications of language, regulation, and localization in healthcare tools.

🚀 What's Next for MedAid

  • Mobile App & Responsive Views
    Make medAid accessible from any device, especially in mobile view.

  • Expand Country Database
    Add support for Europe, North & South America, Oceania, and Africa.

  • Visual Recognition
    Integrate pill and packaging images to support visual identification.

  • Account & History Sync
    Enable user profiles for medical history, saved searches, and doctor-preferred medications.

  • More Pharmacy APIs & Partnerships
    Work with travel insurers, global pharmacies, and embassies to expand access and reliability.

  • Regulatory Alert System
    Warn users when a medication is banned or restricted in their destination country.


Built With

Share this project:

Updates