Spiral gives your agent every tool with one account. Browse the tools →

Muse Code · Health

How to Use FDA first generic drug approvals in Muse Code

Find first generic approvals with ANDA numbers, applicants, generic and brand names, approval dates, and abbreviated indications. Use it to research initial generic competition for a branded drug.

Prompts to try with FDA first generic drug approvals in Muse Code

Copy an example into Muse Code, or ask in your own words.

Use FDA first generic drug approvals to find 2025 records for rivaroxaban and add a CSV to this project with ANDA number, applicant, brand name, approval date, and listed indication.

FDA first generic drug approvalsMuse Code
Try asking
  • Use FDA first generic drug approvals to retrieve 2024 records for sacubitril and valsartan and build a table in this project that preserves separate ANDA applicants.

  • Use FDA first generic drug approvals to find 2025 records mentioning Teva and create a project report sorted by approval date, retaining each ANDA number.

  • Use FDA first generic drug approvals to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from FDA first generic drug approvals and tell me what changed since last week.

How to set up FDA first generic drug approvals in Muse Code

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Install Muse Code
    curl -fsSL https://dev.meta.ai/install.sh | bash
  2. Ask Muse to add the server

    Start muse and ask:

    Add the Spiral MCP server at https://api.spiral.ai/mcp
  3. Sign in

    In your terminal, run:

    muse mcp login spiral

Use the Spiral skill

  1. Send Muse Code this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run FDA first generic drug approvals

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "alexandria",
        "model": "fda-gov/approvals/first_generics",
        "input": {
          "skip": 0
        }
      }'

Then paste one of the prompts above: Muse Code finds FDA first generic drug approvals on Spiral, shows the price and runs it.

FDA first generic drug approvals providers and prices

Spiral runs FDA first generic drug approvals through Alexandria. Open a card for today's price, with every fee included.

AlexandriaHealth
FDA · First generics
fda-gov/approvals/first_generics

Settings you can ask for

Ask Muse Code for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Skip0 to 50000

skip

Yeara number from 2016

Calendar year, 2016 to the current year; default the current year.

Limit1 to 10025

limit

Every API field of FDA · First generics is on its tool page: open its card above.

What can you do with FDA first generic drug approvals in Muse Code?

Build an approval timeline or searchable drug reference in your project using FDA names, dates, and listed uses. Keep ANDA applicant records distinct from novel drug ingredient records so the application preserves what each approval means.

Build an approval timeline

Arrange drug names, approval dates, and listed uses into a dated research timeline. Keep first generic milestones and novel drug milestones labeled separately.

Prepare a therapeutic area briefing

Find approvals mentioning breast cancer, diabetes, or another disease area. Summarize the listed uses and dates for a regulatory or market research briefing.

Create a weekly approval digest

Compare retrieved approval records with the previous check and draft a digest of newly observed entries. Describe approval events without assuming the drugs have launched.

Check a drug approval claim

Look up a named drug and compare the reported approval date and use with FDA's listing. Identify whether the claim concerns a novel drug or initial generic competition.

Compare annual approval activity

Count retrieved approval records by year or quarter and compare the listed therapeutic uses. Report first generic and novel drug counts separately so the comparison retains their different meanings.

Prepare a formulary review agenda

Turn relevant approvals into a review queue with drug names, dates, and short use summaries. Use the queue to identify products needing a full prescribing-information review.

Research generic applicants

Compare the ANDA applicants listed for a branded drug and retain each application number. Build a record of approved generic competition without treating approval as proof of availability.

Questions about FDA first generic drug approvals in Muse Code

Can Muse Code use FDA first generic drug approvals?

Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run FDA first generic drug approvals like any built-in tool.

How much does FDA first generic drug approvals cost in Muse Code?

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Muse Code plan is separate.

Do I need an Alexandria account to use FDA first generic drug approvals in Muse Code?

No. Spiral runs FDA first generic drug approvals on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up FDA first generic drug approvals in Muse Code?

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

Does Muse Code wait while FDA first generic drug approvals runs?

FDA first generic drug approvals runs in the background. Muse Code starts the run, checks on it and gives you the json when it's ready.

What is the difference between a first generic approval and a novel drug approval?

A first generic approval permits a manufacturer to market a generic drug product in the United States. A novel drug has never previously been approved or marketed in the US.

Do these lists cover every FDA drug approval?

No. The first generic list covers initial generic approvals, while the novel drug list covers CDER novel drugs. The novel list excludes vaccines, blood products, cellular and gene therapies, and other CBER approvals.

Do the approval records describe a drug's current status?

The first generic tables explicitly exclude later changes to approval status, dates, and indications. The novel drug tables identify approved uses as of the approval date, so these lists serve as approval histories.

Does an approval date tell me when a drug became available?

FDA explicitly warns that approved generic drugs are not always available on or after their listed approval dates. Use the date as an approval milestone, not evidence of a commercial launch.

How detailed are the approved-use descriptions?

First generic indications are abbreviated because of space limits. FDA also describes the novel drug table's approved-use text as presentation material; consult the current prescribing information for complete conditions of use.

Get started

Start using FDA first generic drug approvals in Muse Code

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Muse Code:

Set up Muse Code

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options