Catalog / Drugs.com

Drugs.com API

drugs.com

Live read-only access to Drugs.com public drug information: FDA approvals, keyword search, drug detail pages, interaction checks, and pill identifier results.

  • Health
  • drugs
  • medications
  • FDA
  • pill identifier
5 endpointsDocs updated

Endpoint health

Loading verification…

Connect your agent

Connect through MCP so your agent can find this API, read its docs, and call its endpoints.

Setup guide

Add the server from your terminal.

Claude Code · terminal
claude mcp add --transport http agent-data https://agent-data.motie.dev/mcp

In Claude Code, run /mcp, select agent-data, then Authenticate. Sign in to your agent-data account in the browser.

Then ask your agent to use the Drugs.com API for your task.

Call it over HTTP

Get an API key

Sign up free, generate an API key, and set it as AGENT_DATA_API_KEY in your environment. Your first 100 calls each month are free.

Get New Drug Approvals

View call pricing
cURL · Approvals
curl --request GET --get 'https://api.agent-data.dev/drugs-com/v1/approvals' \
  --header "Authorization: Bearer $AGENT_DATA_API_KEY"

Endpoints

Inputs and response fields for every endpoint in this API.

GETApprovals/v1/approvals

Get New Drug Approvals

Input

No input parameters.

Response

sourcestring
approvalsobject[]
approvals[].urlstring
approvals[].titlestring
GETDrug details/v1/drug-details

Get Drug Details

Input

urlRequiredQuery · string

Drug page path starting with '/'. Use a path returned by search_drugs.

Example: /pro/aspirin.html

Response

urlstring
namestring
sourcestring
sectionsstring[]
drug_classstring[]
generic_namestring
interaction_idstring
GETDrug interactions/v1/drug-interactions

Get Drug Interactions

Input

drug_idsRequiredQuery · string

Comma-separated interaction tokens obtained from get_drug_details (ddc_id-brand_name_id).

Example: 11-2953,1690-1050,1690-1051

Response

titlestring
sourcestring
drug_idsstring
interactionsobject[]
interactions[].textstring
interactions[].severity?string, default:

Fields marked ? are optional.

Don’t see the endpoint you need?

Ask agent-data to add an endpoint or return more fields. Extensions are free and keep existing endpoints working.