API Sandbox Environment
Test your integration safely with fake data. No real drug data is returned, no rate limits are enforced, and nothing you do here affects production.
Sandbox Data Notice
All data returned by the sandbox is fictional. Drug names, prices, and pharmacy information are generated for testing purposes only. Sandbox responses include a _sandbox: true flag so you can verify you are not accidentally using sandbox data in production.
Sandbox API Key
Generate a sandbox API key to start testing. This key only works against the sandbox environment at sandbox.api.transparentmedz.com.
No sandbox key generated yet.
Test Endpoints
Click any endpoint to see the sandbox response. All endpoints return consistent, predictable test data.
/v1/drugs/search?query=metformin
Search for drugs by name
/v1/drugs/drug_123/prices?postal_code=M5V2H1
Get prices for a specific drug
/v1/pharmacies?postal_code=M5V2H1&radius=10
Find nearby pharmacies
/v1/batch/prices
Batch price lookup
/v1/drugs/drug_123/generics
Find generic alternatives
Sandbox vs. Production
| Feature | Sandbox | Production |
|---|---|---|
| Base URL | sandbox.api.transparentmedz.com | api.transparentmedz.com |
| API Key Prefix | tm_sandbox_ | tm_live_ |
| Data | Fake / Generated | Real drug data |
| Rate Limits | None | Per-plan limits |
| Webhooks | Simulated (instant delivery) | Real-time delivery |
| Billing | No charges | Per-plan pricing |
Ready to Go Live?
Once you have tested your integration in the sandbox, switch to a production API key to access real drug pricing data.