Example NSDE API queries

To help get you started, we have provided some API query examples below. Use the Run query button to call the API and get back results. You can experiment by editing the example queries in the black text box.

Example query

One NSDE record

This query searches for all records and asks for a single one.

  1. search for all records and display one.

  2. limit to 1 record.

Example query

NSDE Record by NDC

This query searches for records with the specific package_ndc "55700-019-60", and returns one result.

  1. search for a specific package_ndc.

  2. limit to 1 record.

Example query

NSDE Products on the Market

This query searches for records which don't have a marketing_end_date assigned, indicating that they're still on the market.

  1. search for records without a markering_end_date.

Example query

Discontinued NSDE Products

This query searches for records which have a marketing_end_date assigned, indicating that they're discontinued.

  1. search for records with a marketing_end_date.