Medicaid open data: SDUD and NADAC API

How to connect Medicaid open data: SDUD and NADAC to Grok Bot

Add the Firecrawl plugin to Grok Bot once and it can call the Medicaid open data: SDUD and NADAC API and every other provider in Firecrawl Alexandria, with no Medicaid open data: SDUD and NADAC integration code.

Open Markdown

To connect Medicaid open data: SDUD and NADAC to Grok Bot, add the Firecrawl plugin to Grok Bot, sign in on a Firecrawl team with Alexandria enabled, and ask for Medicaid open data: SDUD and NADAC data in plain language. The connection works in every Bot in your Grok Bot account, and you set it up once.

Grok Bot uses Medicaid open data: SDUD and NADAC as an MCP tool through Firecrawl's hosted MCP server, so you don't install or host a separate MCP server for Medicaid open data: SDUD and NADAC.

Grok Bot is xAI's agent app. Plugins give your Bots outside tools, and the Firecrawl plugin adds web search, scraping and every data provider in Firecrawl Alexandria.

How do I connect Medicaid open data: SDUD and NADAC to Grok Bot?

  1. Add the Firecrawl plugin

    In Grok Bot, open Connect apps from the sidebar, find Firecrawl and select Connect. You can also open Firecrawl's plugin listing and select Add to Grok Bot, which opens the desktop app to finish the install.

    Grok Bot's Connect Apps window with Firecrawl and its Connect button
  2. Connect your Firecrawl account

    Grok Bot opens Firecrawl in your browser. Sign in, choose a team with Alexandria enabled, and select Authorize. The screen names Cursor, because the plugin is published on the Cursor Marketplace. No account yet? You can create one for free in the same flow.

    Firecrawl's consent screen for the Grok Bot plugin, with the team picker and Authorize button
  3. Ask your Bot for the data

    In a chat, ask in plain language and mention Medicaid open data: SDUD and NADAC or Firecrawl Alexandria. To make sure the Bot uses Firecrawl, type @ and choose Firecrawl first. For example:

    Use Firecrawl to answer this: What do U.S. pharmacies pay per tablet for Eliquis 5 mg right now?

What can Grok Bot do with Medicaid open data: SDUD and NADAC?

CMS Medicaid open data (data.medicaid.gov, DKAN): State Drug Utilization Data (Medicaid units, prescriptions and dollars reimbursed by state, NDC and quarter) and NADAC (weekly National Average Drug Acquisition Cost per unit by NDC), collected per dataset-year through the public datastore API under the shared collector contract (source status, pinned paginated listing, single-record lookup). Two agent-facing NADAC functions answer price questions directly: `prices/search` reads the newest weekly file by drug name or NDC (or the rates that took effect in a date range) and `prices/history` returns every rate one NDC has had since 2013, each with CMS attribution.

Grok Bot can run any of Medicaid open data: SDUD and NADAC's 5 capabilities through Alexandria. Each call is billed in Firecrawl credits on your Firecrawl team.

  • Records get: One SDUD or NADAC row by its natural key: SDUD `utilization_type|state|ndc|year|quarter` (e.g. FFSU|AK|00002143380|2025|4), NADAC `ndc|effective_date|as_of_date` (e.g. 00002143380|2026-09-23|2026-10-14). Exactly one datastore row must match; none is not_found. Costs 5 Firecrawl credits per call.
  • Records list: One page of SDUD or NADAC rows for a dataset-year, read from the datastore as sorted 8000-row CSV pages. Without a segment filter the listing walks every segment of the year (SDUD: state x quarter in state order; NADAC: weekly as_of_date ascending); a page never spans two segments. The cursor pins the dataset id, distribution id and DKAN import version: every page re-reads the metastore item and fails with invalid_input at /continuation (issue code publication_changed) when the version moved. Costs 5 Firecrawl credits per call.
  • Source status: Cheap version check of one dataset-year: metastore `modified`, distribution id, DKAN import version (publication id), bulk CSV URL with its size (1-byte Range), ETag and Last-Modified from download.medicaid.gov, the datastore row count and, when a segment is given, that segment's row count. Costs 5 Firecrawl credits per call.
  • History: Every NADAC rate one NDC has had since NADAC began in November 2013, newest first: each rate's effective date, price and the first and last weekly file that listed it, plus the change from the oldest to the newest rate. `from` and `to` keep only the rates in force at some point in that range. An NDC that no weekly file lists, or with no rate in the range, is `not_found`. Costs 5 Firecrawl credits per call.
  • Search: Find NADAC per-unit drug acquisition costs by drug name or NDC. Without dates it reads the newest weekly file: each matching NDC's current rate, by description and NDC, with `total_count`. With `effective_from` or `effective_to` it lists the rates that took effect in that range across all years, newest first, which shows price changes. No match is an empty result. Costs 5 Firecrawl credits per call.

What should I ask Grok Bot?

Name Medicaid open data: SDUD and NADAC or Firecrawl Alexandria in the prompt so Grok Bot reaches for it.

  • Use Firecrawl to answer this: What do U.S. pharmacies pay per tablet for Eliquis 5 mg right now?
  • Use Firecrawl to answer this: How has the NADAC of NDC 00003-0894-21 changed since 2013?
  • Use Firecrawl to answer this: Which atorvastatin 10 mg NDCs got a new NADAC since September 2026?
  • Use Firecrawl to run Medicaid open data: SDUD and NADAC's Records get capability. Inspect the Alexandria inputs, ask for any missing required details, and return a small sample with sources.

Troubleshooting

Why doesn't my Bot use Medicaid open data: SDUD and NADAC?

Attach Firecrawl to the chat with @ before you ask, and name Medicaid open data: SDUD and NADAC or Firecrawl Alexandria in the prompt.

Add to Grok Bot doesn't open the app. What should I do?

Install the Grok Bot desktop app first, or open Connect apps in Grok Bot and search for Firecrawl.

Use Medicaid open data: SDUD and NADAC in other AI apps

The same Firecrawl account reaches Medicaid open data: SDUD and NADAC from other AI apps. Pick one for its setup steps:

Other data providers you can connect to Grok Bot

Frequently Asked Questions

What is Firecrawl?

Firecrawl is the web data API to search, scrape and interact with the web at scale. It turns websites into clean, LLM-ready data for AI agents and apps. The Firecrawl plugin brings those tools into Grok Bot, along with every data provider in Firecrawl Alexandria.

What is Firecrawl Alexandria?

Firecrawl Alexandria is Firecrawl's library of 550+ data providers for AI agents, Medicaid open data: SDUD and NADAC among them. Each provider returns structured data through documented capabilities. Grok Bot finds the capability that fits your question and calls it through the Firecrawl plugin, so you don't write any integration code. Alexandria needs a Firecrawl account signed in on a team with Alexandria enabled, or an API key from such a team; keyless connections don't include it.

Is there a Medicaid open data: SDUD and NADAC MCP server for Grok Bot?

Grok Bot reaches Medicaid open data: SDUD and NADAC through Firecrawl's hosted MCP server, which serves Medicaid open data: SDUD and NADAC and every other Alexandria provider as tools. Add the Firecrawl plugin once and you don't install or host a separate MCP server for Medicaid open data: SDUD and NADAC.

What does connecting Medicaid open data: SDUD and NADAC to Grok Bot unlock?

Grok Bot can run all 5 of Medicaid open data: SDUD and NADAC's capabilities, including Records get, Records list and Source status, from any chat, with structured results it can sort, compare and summarize. For example, ask: "Use Firecrawl to answer this: What do U.S. pharmacies pay per tablet for Eliquis 5 mg right now?" In the same conversation, Grok Bot can combine Medicaid open data: SDUD and NADAC with Firecrawl's web search and scraping and the other providers in Firecrawl Alexandria.

Do I need my own Medicaid open data: SDUD and NADAC account or API key to use it in Grok Bot?

No. Grok Bot calls Medicaid open data: SDUD and NADAC through Firecrawl Alexandria and each call is billed in Firecrawl credits, so you don't need a separate Medicaid open data: SDUD and NADAC account or API key.

How much does it cost to use Medicaid open data: SDUD and NADAC in Grok Bot?

Each Medicaid open data: SDUD and NADAC call costs 5 Firecrawl credits. The capability list on this page shows each price and its unit. The credits come from the Firecrawl team you connect to Grok Bot, and finding the right capability is free.

Can Grok Bot use other providers besides Medicaid open data: SDUD and NADAC?

Yes. The same Firecrawl plugin reaches every provider in Firecrawl Alexandria, along with Firecrawl's web search and scraping, so you connect once.

Can I use Medicaid open data: SDUD and NADAC in other AI apps?

Yes. Connect Firecrawl to ChatGPT, Claude, Cursor, Muse signed in on a Firecrawl team with Alexandria enabled, or use the Firecrawl MCP server, CLI or API with an API key from that team, and the same Medicaid open data: SDUD and NADAC capabilities are available there. Keyless connections don't include Alexandria.

//
Get started
//
Ready to build?
Start getting web context for free and scale seamlessly as your project expands. No credit card needed.
Are you an AI agent? See setup options