Skip to main content
v1.0 — Now Available

Every drug price in Canada. One API call.

Real-time prices from 3.2K+ pharmacies. Generic alternatives, regional coverage, interaction data. REST + GraphQL. Build health tech that saves lives and money.

ca-central-1 (Toronto) · Canada (PIPEDA compliant)
850K+Prices tracked
99.99%Uptime SLA
<50ms p95Latency p95
99.99% uptime<50ms latencySOC 2 compliant
terminal

$ curl https://api.transparentmedz.com/v1/drugs?q=metformin

{

"data": [{

"name": "Metformin 500mg",

"lowest_price": 6.49,

"pharmacy": "Costco Pharmacy",

"savings": "46% vs avg"

} ]

}

Quick Start

Up and running in 60 seconds

Grab your API key and make your first call. Pick your language below.

curl -X GET \
  'https://api.transparentmedz.com/v1/drugs?q=metformin' \
  -H 'Authorization: Bearer tm_your_api_key' \
  -H 'Content-Type: application/json'
API Reference

10 endpoints. Zero guesswork.

All endpoints return JSON via https://api.transparentmedz.com

MethodEndpoint
GET
/v1/drugsSearch drugs by name, DIN, or active ingredient
GET
/v1/drugs/:idRetrieve full drug details including DIN, form, and strength
GET
/v1/drugs/:id/pricesCurrent prices at all pharmacies nationwide
GET
/v1/drugs/:id/prices?city=torontoFilter prices by city or postal code
GET
/v1/drugs/:id/genericsBioequivalent generic alternatives with prices
GET
/v1/drugs/:id/historyHistorical price data (30 / 90 / 365 days)
GET
/v1/drugs/:id/coverageProvincial formulary and coverage status
GET
/v1/pharmaciesSearch pharmacies by name, chain, or location
GET
/v1/pharmacies/:idPharmacy details, hours, and services
GET
/v1/compareSide-by-side price comparison across pharmacies
Try It

API Playground

See exactly what you get back. Sign up to make real requests.

GET
https://api.transparentmedz.com/v1/drugs?q=metformin
200 OK
47ms
{
  "data": [
    {
      "id": "d_abc123",
      "name": "Metformin",
      "strength": "500mg",
      "form": "tablet",
      "prices": [
        {
          "pharmacy": "Costco Pharmacy",
          "price": 6.49,
          "dispensing_fee": 4.49
        },
        {
          "pharmacy": "Shoppers Drug Mart",
          "price": 12.07,
          "dispensing_fee": 11.99
        }
      ]
    }
  ],
  "meta": { "total": 1, "page": 1 }
}
Pricing

Simple, predictable pricing

Start free on the sandbox. Pick a plan when you're ready to ship.

Developer

1,000 requests/mo

$49.00/month

or $39.00/mo billed annually

  • Drug search endpoint
  • Price lookup endpoint
  • Pharmacy data endpoint
  • 1,000 requests/month
  • Community support
Get Started
Most Popular
Startup

10,000 requests/mo

$199/month

or $159/mo billed annually

  • All Developer endpoints
  • Price history endpoint
  • Generic alternatives endpoint
  • Coverage data endpoint
  • 10,000 requests/month
  • Email support
Get Started
Business

100,000 requests/mo

$499/month

or $399/mo billed annually

  • All Startup endpoints
  • Bulk endpoints
  • Webhooks
  • 100,000 requests/month
  • Priority support
  • SLA guarantee
Get Started
Use Cases

Built for health tech teams

Teams across the healthcare ecosystem rely on TransparentMedz to power their products.

Telehealth Platforms

Embed real-time drug pricing into virtual consultations so physicians and patients make cost-informed decisions together.

Learn more
Insurance Companies

Power formulary tools and benefits portals with live Canadian pricing data and generic switch recommendations.

Learn more
Health Apps

Add pharmacy price comparison, drug search, and savings alerts to any mobile or web health application.

Learn more
Benefits Consultants

Build cost-analysis dashboards that help employer groups benchmark and optimize their drug benefit spend.

Learn more
SDKs

Official client libraries

Type-safe, well-documented, and maintained by us. Get productive in minutes.

npm
@transparentmedz/sdk

TypeScript / Node.js client library

$ npm install @transparentmedz/sdk
import { TransparentMedz } from '@transparentmedz/sdk';

const client = new TransparentMedz('tm_your_api_key');
const drugs = await client.drugs.search('metformin');
console.log(drugs.data);
PyPI
transparentmedz

Python client library

$ pip install transparentmedz
from transparentmedz import Client

client = Client('tm_your_api_key')
drugs = client.drugs.search('metformin')
print(drugs.data)
Security

Security & Compliance

Enterprise-grade security built into every layer.

Authentication

Every request is authenticated with a Bearer token. Keys are scoped, rotatable, and revocable from your dashboard. All traffic is encrypted via TLS 1.3.

Rate Limiting

Per-plan rate limits protect the platform and your integration. Every response includes X-RateLimit-Remaining headers so you always know where you stand.

Data Privacy

SOC 2 Type II audited, with end-to-end encryption and zero-trust architecture. All data is stored entirely in Canada data centres.

Frequently asked questions

Everything developers ask before integrating.

How do I authenticate my requests?

Every request requires a Bearer token in the Authorization header. Sign up, choose a plan, and generate your API key from the dashboard. Keys are prefixed with tm_ for easy identification. Store them securely — they are shown only once.

What are the rate limits?

Rate limits scale with your plan: Developer gets 1,000 req/month (60/min burst), Startup gets 10,000 (300/min), and Business gets 100,000 (1,000/min). Every response includes X-RateLimit-Remaining and X-RateLimit-Reset headers.

Is there a sandbox for testing?

Yes. Every API key has access to sandbox.api.transparentmedz.com. Sandbox requests return realistic test data and do not count against your monthly quota.

Do you support webhooks?

Webhooks are available on the Business plan. Subscribe to events like price drops, new generics, and coverage changes. Configure endpoints and retry policies from your dashboard.

Start building today.

First 1,000 requests free. No credit card required.