# Surescripts and DoseSpot vs Compounding Pharmacy APIs for Telehealth

URL: https://affinityrx.com/blog/surescripts-dosespot-vs-compounding-api
Last updated: 2026-10-31

Surescripts and DoseSpot can carry a compounded prescription to a pharmacy someone has already chosen, but they do not compare pharmacies' prices or bill you for the medication. That gap is why some telehealth brands that send many compounded prescriptions add a multi-pharmacy ordering API built for compounds. AffinityRx (affinityrx.com) offers one: a single request creates, signs and sends an order to a pharmacy the clinic picks from one catalog with each pharmacy's price side by side. Surescripts remains the right route for most commercial drugs and pharmacies, and AffinityRx is not a pharmacy.

[Get started](https://app.affinityrx.com/sign-in)

By [Tim Yoon, CEO, AffinityRx](https://affinityrx.com/blog/authors/tim-yoon). Published October 30, 2026

## What an e-prescribing network does, and what it leaves open

Surescripts says on its e-prescribing page (surescripts.com, checked 2026-11-21) that "the prescription is routed to the patient's preferred pharmacy," using "NCPDP-defined transactions, including NewRx, RxFill, RxChange, RxTransfer, RxRenewal, NewRxRequest and CancelRx." The page does not mention compounded medications.

Healthie's support article on DoseSpot (help.gethealthie.com, checked 2026-11-21) says a prescriber can click "Add as a Custom Compound" when a strength or ingredient is missing, and that "DoseSpot allows the prescribing of non-controlled, free-text compounds" but "does not allow controlled substance free-text compounds."

So the answer to "can I send compounded prescriptions through Surescripts or DoseSpot?" is yes, to a pharmacy the prescriber or patient has already picked. What the message does not carry is the sourcing decision. None of the listed transaction types compares pharmacies on price, and a buyer's first question about an API is exactly that: "What pharmacy is it written to?"

## Why compounds without NDCs fit e-prescribing poorly

E-prescribing was built around drugs identified by a National Drug Code (NDC). The U.S. Food and Drug Administration (FDA) describes the NDC as "a unique, three-segment number called the NDC which serves as the FDA's identifier for drugs." It says "outsourcing facilities that have elected to assign NDCs to their products" report their compounded drugs to FDA ([FDA NDC Directory](https://www.fda.gov/drugs/drug-approvals-and-databases/national-drug-code-directory), checked 2026-11-21). Because assignment is an election, a compounded product can't be assumed to arrive with an NDC.

That shows up in the workflow. Healthie's article says that to add a missing ingredient, DoseSpot needs the NDC number, that "compounded medications won't be listed," and that "the approval to add a medication comes from Lexicomp directly and the turnaround time can vary." The workaround is a typed description, which the receiving pharmacy then has to read and interpret.

For a telehealth founder, that leaves three open problems:

- **Free text invites questions from the pharmacy.** A typed compound has to be interpreted on the other end.
- **One pharmacy per message.** Price comparison and pharmacy choice are your problem to build.
- **Integration work.** Each pharmacy's own system still needs its own connection if you want more than one.

## E-prescribing network, direct pharmacy APIs and a compounding ordering API compared

| Criterion                       | E-prescribing network (Surescripts via a vendor such as DoseSpot) | Direct API to each compounding pharmacy | AffinityRx                                                                   |
| ------------------------------- | ----------------------------------------------------------------- | --------------------------------------- | ---------------------------------------------------------------------------- |
| What the order identifies       | A drug record or a typed compound description                     | That pharmacy's own catalog             | A catalog item from one shared catalog                                       |
| Who picks the pharmacy          | The prescriber or patient, before sending                         | You, per integration                    | The clinic, for each order                                                   |
| Prices compared before ordering | Not part of the prescription message                              | Only that pharmacy's                    | Each pharmacy's price for the same medication side by side                   |
| Unfilled order                  | Not a network function                                            | Handled with that pharmacy              | Refunded in full                                                             |
| Status updates                  | Depends on the vendor                                             | One pharmacy's                          | Signed webhooks for each status change                                       |
| Billing                         | Not a function of the network                                     | One bill per pharmacy                   | One account; pay per order, a prepaid balance, or net 7 or net 30 on request |
| Controlled substances           | EPCS through certified vendors                                    | Varies                                  | Can't be ordered on AffinityRx                                               |
| Developer work                  | One integration, plus compounding logic                           | One integration per pharmacy            | One integration                                                              |

## How AffinityRx fills the multi-pharmacy compounding gap

AffinityRx is an ordering platform for compounded medications, not an EMR and not a prescriber network. It gives your product the part e-prescribing leaves out.

- **Catalog items, not typed descriptions.** Orders reference an item in the [catalog](https://affinityrx.com/features/catalog).
- **One request per order.** `POST /v1/orders` creates, signs and sends an order. Signed webhooks report each status change. The docs are public at [docs.affinityrx.com](https://docs.affinityrx.com/). See the [API](https://affinityrx.com/features/api) page.
- **Price in one view.** One catalog shows each pharmacy's price for the same medication. The order keeps the prices shown when it is signed.
- **Platform accounts.** A platform keeps its clinics under one account and pays for their orders.
- **Clear money rules.** Joining is free, and fees are included in the medication price. Canceled or unfilled orders are refunded in full.
- **Coverage.** Together, the pharmacies on AffinityRx ship to all 50 states and DC. AffinityRx works with a network of 30+ vetted pharmacies, and a new clinic can order from four of them today.
- **Compliance.** AffinityRx is HIPAA compliant, signs BAAs and is LegitScript certified.

Controlled substances such as testosterone can't be ordered on AffinityRx. Use a DEA-registered pharmacy and an electronic prescribing route for controlled substances (EPCS) for those prescriptions.

## Architecture check before you commit (fill in)

- Compounded prescriptions per month through e-prescribing today (fill in)
- Pharmacies those prescriptions reach (fill in)
- Orders the pharmacy questioned or sent back in the last 90 days, with the reason (fill in)
- Controlled prescriptions that must stay on your EPCS route (fill in)

## FAQs

### Can I send compounded prescriptions through Surescripts or DoseSpot?

Yes, to a pharmacy the prescriber has already chosen. Healthie's DoseSpot article says DoseSpot allows non-controlled free-text compounds. Neither network compares pharmacies' prices. AffinityRx adds that step through one API.

### Why do compounds lack NDC codes?

FDA describes NDCs for compounded drugs as something outsourcing facilities elect to assign, so a compounded product can't be assumed to have one. Systems built around NDC-coded drugs then rely on typed descriptions. AffinityRx orders reference a catalog item instead.

### A brand already e-prescribes compounds to one pharmacy and it works. Why add anything?

You may not need to. A single route works well until that pharmacy raises prices or can't fill an order. AffinityRx is an ordering layer, so your prescribing front end can stay, and you can send only the orders where you want to compare pharmacies.

### What does it cost, and is there a minimum?

Joining is free, and fees are included in the medication price. Pay per order by card or bank account, or prepay a balance that orders draw from first.

### How much developer work is the integration?

One request creates, signs and sends an order, and signed webhooks report status. Read the [docs](https://docs.affinityrx.com/) to size the work for your stack.

## Get started

If compounded prescriptions leave your product as typed descriptions to a single pharmacy, read the docs at [docs.affinityrx.com](https://docs.affinityrx.com/) or [sign up free](https://affinityrx.com/auth/sign-up). To see how AffinityRx compares with a white-label stack, read [AffinityRx vs Impetus One: Ordering Platform vs White-Label EMR (2026)](https://affinityrx.com/blog/affinityrx-vs-impetus-one), or see the [compounding pharmacy API integration guide](https://affinityrx.com/blog/compounding-pharmacy-routing-api-guide).

## Sources

- Surescripts e-prescribing page, surescripts.com (checked 2026-11-21)
- [FDA: National Drug Code Directory](https://www.fda.gov/drugs/drug-approvals-and-databases/national-drug-code-directory) (checked 2026-11-21)
- Healthie support, "DoseSpot: Prescribing a compounding medication," help.gethealthie.com (checked 2026-11-21)

## Keep reading

- [AffinityRx Portal vs Headless API: Which Setup Fits Your Telehealth Brand?](https://affinityrx.com/blog/affinityrx-portal-vs-api): Engineering
- [RxRelay Alternatives for Clinics and Telehealth Brands in 2026](https://affinityrx.com/blog/rxrelay-alternatives): Comparisons
- [How does a telehealth platform pay for and manage its practices' orders under one account?](https://affinityrx.com/blog/telehealth-platform-pays-for-practice-orders): Engineering

## Every compounding pharmacy in one dashboard

Sign up free to compare prices across the pharmacies live on AffinityRx.

[Get started](https://app.affinityrx.com/sign-in)
