compare_prices
Card prices near a place
Price of one medicine with the free FineRx card at US pharmacy chains, near a place.
Use when the person asks what a medicine costs, where it costs less, or its
price near them or in a ZIP code. ``drug`` is a name as typed or a slug from
search_drugs; ``strength`` ("10 mg"), ``form`` ("tablet") and ``quantity``
are optional (the package with the most chains priced is used).…
输入参数ndczipdrugformlocalechannelquantitystrength另有 1 个
ui_prices
Refresh the prices card
Card prices for another dose, quantity or place — called by the FineRx card itself.
Same answer as compare_prices, for the package and place picked inside the
card. ``where`` is the place as typed in the card (a ZIP, a city or an
address): used for this one request, never stored. Not for the model.
输入参数zipformslug必填wherelocalequantitystrengthcompare_to
find_nearby_pharmacies
Find nearby pharmacies
Pharmacy stores within 30 miles, per chain — with the card price when a drug is given.
Use when the person asks where the pharmacies are near a ZIP or near them.
``zip`` is a 5-digit US ZIP (leave it out to use the host's approximate
location when there is one). ``family`` is a comma-separated list of chain
codes: walmart, cvs, walgreens, kroger, albertsons, costco, publix, heb,…
输入参数zipdrugformlimitchainsfamilylocalequantity另有 1 个
ui_nearby
Refresh the pharmacies card
Pharmacies near a place for the package on screen — called by the FineRx card itself.
``where`` is the place as typed in the card (a ZIP, a city or an address):
used for this one request, never stored. Not for the model.
输入参数zipformslugwherefamilylocalequantitystrength
get_transfer_steps
How to move a prescription to another pharmacy
How to move a prescription from the pharmacy that has it to the one the person wants to use.
Use when the person says their prescription is at another pharmacy, asks
how to switch pharmacies, or picked a chain from the card prices and their
prescription is elsewhere. ``chain`` is the chain they want to move TO, as
a code: walmart, cvs, walgreens, kroger, albertsons, costco,…
输入参数zipdrugformchainlocalequantitystrength
compare_basket
Card prices for several medicines at one pharmacy chain
Card prices for several medicines at once: which pharmacy chain was seen pricing the whole list, and the sum there.
Use when the person names two or more medicines and asks what they cost
together, or which one pharmacy to use for all of them. ``drugs`` is two to
six names as typed or slugs; a dose and a pack size may ride in each name
("atorvastatin 40 mg 90"). ``zip`` is a…
输入参数zipdrugs必填localechannel
ui_basket
Refresh the medicines list card
The same list of medicines for another place — called by the FineRx card itself.
``slugs`` with their packages in parallel lists (an empty string or 0 = not
set). ``where`` is the place as typed in the card: used for this one
request, never stored. Not for the model.
输入参数zipformsslugs必填wherelocalestrengthsquantities
open_price_finder
Open the FineRx price finder
Open the FineRx search inside the card, so the person can look a medicine up themselves.
Use when the person asks to open FineRx, wants to search or browse on their
own, or is not sure of the name. Optional ``query`` pre-fills the search
(a medicine, a brand from another country, a misspelling). The card then
suggests matches as they type, each with where its card prices start…
输入参数querylocale
ui_suggest
Suggest medicines as you type
Medicines matching what the person is typing in the FineRx search — called by the card itself.
Up to eight matches with where their card prices start (dated), and foreign
brands that matched. Not for the model.
输入参数q必填locale
get_savings_card
Get the free FineRx savings card
The free FineRx discount card: its codes, how to use it, how to keep it.
Use when the person asks for the card, how to pay less at the pharmacy, or
right after you quoted a card price. Optional ``drug`` (a slug from
search_drugs) adds that drug's card price for its most-priced package, with
the date it was observed. ``locale`` is a language code (the host's own is
used when…
输入参数druglocalechannel
email_savings_card
Email the savings card
Email the free FineRx discount card to an address the person gave you.
Use ONLY after the person has given an email address AND confirmed they want
the card sent there — ask for both first, then set ``consent`` to true. The
message contains the card and nothing else; FineRx does not store the address.
Returns ``sent`` true with the masked address, or ``sent`` false with the…
输入参数email必填localeconsent
search_drugs
Search FineRx drugs
Find a medicine by name (brand, generic, misspelled or in another script) and get its slug.
Not needed before compare_prices, compare_basket or get_transfer_steps:
they take a name as typed. Use it when the person asks what FineRx has, or
a name is ambiguous.
Returns candidates with ``slug`` (for get_drug and compare_prices), ``kind``
(generic/brand) and ``fromCardPrice`` —…
输入参数limitquery必填locale
Strengths, forms and pack sizes of one medicine that have a card price, and its default package.
Use when you have a slug and need to know which strengths and quantities
exist before quoting a price. Returns ``configs`` (strength × form, each
with quantities, where the card prices for that pack start, with the date,
and how many chains priced it), ``defaultConfig`` (the package…
输入参数slug必填localechannel
get_dataset_info
FineRx dataset info
What FineRx covers: pharmacy chains with card prices, how fresh they are, stores on the map, terms.
Use when the person asks what FineRx is, how big or current the data is, or
how to cite it. Returns the pharmacy chain families we hold card prices for,
their store banners, the newest observation date, how many stores we can
place on a map, the catalog size, and the attribution…
无需输入参数。
get_prescription_options
How to get a prescription
Routes to filling a prescription, including having none yet.
Use when the person says they have no prescription, asks how to get one, or
says the brand costs too much. Optional ``drug`` is a slug from
search_drugs (a name works too). Returns three sections — havePrescription
(steps), noPrescription (clinics and telehealth, each with the disclosure
to read out when FineRx…
输入参数druglocale
find_us_equivalent
Find the US equivalent of a foreign medicine
What a medicine from another country is in the US, and its card price here.
Use when the person names a medicine that is not a US product — a brand from
home (No-Spa, Nurofen, Dolo-Neurobion, 999 Ganmaoling), a name in another
script (Но-шпа, 泰诺), or an ingredient the US calls something else
(paracetamol) — or asks "what is this called in the US?". Optional
``country`` picks…
输入参数brand必填localechannelcountry
find_us_equivalents
US names for several medicines from another country
What several medicines from another country are in the US — the list a person brought from home.
Use when the person names two or more medicines that are not US products
(brands from home, names in another script) and asks what they are here.
``brands`` is two to six names as typed; optional ``country`` picks between
brands of the same name sold in different places. One medicine:…
输入参数brands必填localechannelcountry
ui_equivalent
Open a foreign brand in the card
One foreign brand the person picked in the FineRx search — called by the card itself.
The same answer as find_us_equivalent for exactly that brand (its
``brandSlug`` from ui_suggest): the reviewed guidance, word for word, and
the US product only when it has the same active ingredient. Not for the model.
输入参数localebrand_slug必填
foreign_brands_for_drug
Foreign brand names for a US drug
What a US drug is called abroad — the reverse of find_us_equivalent.
Use when the person has the US name and wants the home-country one ("what is
lisinopril called in Mexico?"). ``slug`` comes from search_drugs. Returns the
reviewed brands that resolve to this drug: ``brand``, ``brandScript``,
``countries``, ``inn`` and ``usClass`` (an ``rx_alternative`` entry is a
DIFFERENT…
输入参数slug必填