Skip to main content

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.

GET

/v1/drugs/search?query=metformin

Search for drugs by name

GET

/v1/drugs/drug_123/prices?postal_code=M5V2H1

Get prices for a specific drug

GET

/v1/pharmacies?postal_code=M5V2H1&radius=10

Find nearby pharmacies

POST

/v1/batch/prices

Batch price lookup

GET

/v1/drugs/drug_123/generics

Find generic alternatives

Response Viewer
Click an endpoint to see the response
Select an endpoint to test

Sandbox vs. Production

FeatureSandboxProduction
Base URLsandbox.api.transparentmedz.comapi.transparentmedz.com
API Key Prefixtm_sandbox_tm_live_
DataFake / GeneratedReal drug data
Rate LimitsNonePer-plan limits
WebhooksSimulated (instant delivery)Real-time delivery
BillingNo chargesPer-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.