US FDA DSCSA 4-element & EU FMD 2D DataMatrix barcode parser, Modulo-10 check digit validator, and NDC-to-GTIN converter in sub-5ms.
Official high-performance .NET client library for FDA DSCSA & EU FMD Drug Serialization API, built on the Stanza Micro-API Network. Fully compatible with .NET Standard 2.0, .NET 6.0, .NET 7.0, and .NET 8.0+.
- 🌐 Online Interactive Sandbox: Test your inputs live
- 📚 API Reference & Schemas: View documentation on Stanza
- ⚡ Platform Overview: Explore the Stanza Developer Network
dotnet add package StanzaApi.PharmaDscsausing System;
using System.Threading.Tasks;
using StanzaApi.PharmaDscsa;
class Program
{
static async Task Main()
{
// Initialize client (reads STANZA_API_KEY from environment if not passed)
var client = new PharmaDscsaClient();
// Perform deterministic verification
string responseJson = await client.ValidateAsync("(01)00300012345678(21)100000000001(17)261231(10)LOT12345");
Console.WriteLine(responseJson);
}
}{
"success": true,
"data": {
"gtin": "00300012345678",
"serial_number": "100000000001",
"expiration_date": "2026-12-31",
"lot_number": "LOT12345"
}
}Pass options directly to the PharmaDscsaClient constructor:
var client = new PharmaDscsaClient(
apiKey: "your_api_key_here",
baseUrl: "https://api.stanzaapi.com/pharma-dscsa"
);- FDA DSCSA & EU FMD Drug Serialization API Interactive Sandbox
- Stanza Developer Directory
- Source Code & Issue Tracker
MIT © Stanza — Powered by Stanza.