# Pillwise > Pillwise is a medication lookup API for US apps. Index searches medications the way people name them, gives form and strength choices, and resolves NDCs and RxCUIs, with recalls and shortages. Every answer says when it was true. Cabinet (optional, under a BAA) stores each member's medication list. Base URL: https://api.pillwise.dev. Auth: `Authorization: Bearer `. Sandbox keys (`pw_test_`) are free for 500 lookups a month; production keys are `pw_live_`. The typical flow is `GET /v1/drugs/search?q=`, then `GET /v1/drugs/{id}/form-options` for form and strength. ## Docs - [Quickstart](https://pillwise.dev/docs/quickstart): key, search, form and strength, optional Cabinet - [Auth](https://pillwise.dev/docs/auth): keys and scopes - [Meter](https://pillwise.dev/docs/meter): what counts as a lookup, and limits - [Freshness](https://pillwise.dev/docs/freshness): as_of, snapshots, and asking about a past day - [Medication autocomplete API](https://pillwise.dev/medication-autocomplete-api): `GET /v1/drugs/search?q=` for typeahead, how partial input matches, the response, and keeping lookups down - [NDC lookup API](https://pillwise.dev/ndc-lookup-api): `GET /v1/drugs/ndc/{ndc}`, accepted formats, the response, and NDC pitfalls - [OpenAPI spec (YAML)](https://pillwise.dev/openapi.yaml): the full contract - [OpenAPI spec (JSON)](https://pillwise.dev/openapi.json) - [MCP server](https://pillwise.dev/docs/mcp): the catalog as MCP tools at https://api.pillwise.dev/mcp ## Tools - [Try it](https://pillwise.dev/try): search and form/strength in the browser, showing each API call - [NDC converter and lookup](https://pillwise.dev/tools/ndc): look up a 10 or 11 digit NDC or a barcode, and convert between formats ## Product - [Pricing](https://pillwise.dev/pricing): plans and included lookups - [Index](https://pillwise.dev/products/index): medication lookup - [Cabinet](https://pillwise.dev/products/cabinet): member medication lists, HIPAA and BAA ## Blog - [Discontinued drugs and inactive NDCs: what to do](https://pillwise.dev/blog/discontinued-medications): How to tell if a drug or NDC was discontinued, find the drug that replaced it, and keep it out of new picks without breaking saved meds or old barcodes. - [When RxCUIs change: keeping stored medication codes current](https://pillwise.dev/blog/rxcui-changes): RxCUIs get retired, remapped and merged, and NDCs leave the listing. What breaks when stored codes go stale, and how to detect and migrate them. - [Building a medication typeahead that members can use](https://pillwise.dev/blog/medication-typeahead): Search names people say, then form and strength, never package codes. A pattern for the medication field, with the debounce, cancellation and accessibility details. - [NDC to RxCUI, and back](https://pillwise.dev/blog/ndc-to-rxcui): How NDCs and RxNorm's RxCUIs relate, why each direction behaves differently, which RxCUI level to store, and the API calls for both. - [NDC formats: convert 10-digit to 11-digit NDCs](https://pillwise.dev/blog/ndc-formats): How to convert a 10-digit NDC to 11 digits, what the labeler, product and package segments mean, and how to get the NDC out of a 12-digit barcode. ## Optional - [Changelog](https://pillwise.dev/changelog) - [HIPAA and BAA](https://pillwise.dev/legal/hipaa) - [Contact](https://pillwise.dev/contact)