How to Integrate DEA Primary Source Data Into Your Software: RDA Access, Compliance, and Build vs. Buy
By DEA Lookup.com, Inc. · Last reviewed November 2, 2026
The primary source for DEA registrant data
The primary source for DEA registrations is the DEA data server, which holds the Controlled Substances Act (CSA) registrant database. Since NTIS stopped distributing the registrant database in November 2020, organizations get the data directly from the DEA under the Registrant Datasets Access (RDA) program. There is no public API and no licensed redistribution: every organization that integrates the data downloads it under its own credential.
That shapes every integration. A compliant DEA integration is not a call to someone else's hosted database. It is a copy of the DEA's data, downloaded by your organization and kept within it.
Step 1: Get RDA approval
Access to the DEA data server requires an RDA credential, which the DEA grants on approval of a CSA data use request application. The application is detailed, and errors can delay approval by months. Approval applies whether you build the integration yourself or use software to automate it.
DEA Lookup.com offers RDA application consulting: help and advice at every step of the application, usually about two weeks from start to finish, with approval guaranteed or the fee refunded, and the fee credited toward DEA Lookup.com software once approved.
Step 2: Keep physical control of the data
Under the RDA data use agreement, an approved organization must keep physical control of the registrant data and may not redistribute it. In practice:
- The data lives on machines or a network your organization controls.
- Your applications query your own copy, not a shared copy hosted by another company.
- You do not pass the data on to customers, partners, or other organizations.
When you evaluate any DEA data vendor, ask where the data is stored and whose RDA credential it was downloaded under.
Step 3: Automate the daily download
Registrations are added, renewed, changed, and retired every day, so the data needs refreshing daily. Downloading it by hand from the DEA data server is slow and error-prone. A missed day, a partial file, or an unnoticed change to the data format leaves your system checking against stale data, and loading the wrong day's file by mistake is an easy error that can cause real confusion about which registrations are current. Manual data handling is commonly estimated to have error rates of 1% or more, which is too high for data with compliance consequences. A dependable integration schedules the download, verifies each file, restarts automatically after a server reboot, and adapts when the DEA changes its data format or server.
Step 4: Load, index, and serve the data
Once the data is downloaded, your system needs to:
- Load it into a database and index the fields you search on, such as DEA number, name, address, city, state, ZIP code, business activity, and drug schedule.
- Expose it to your applications through an internal API, so order processing, credentialing, and pharmacy systems can check registrations automatically.
- Return the data import date with every result, so each check records how current its data was.
- Log every lookup in an audit trail showing who checked what, and when.
- Keep retired and deactivated registrations available when you need history, not just active records.
A DEA number checksum check is a useful first step, but a valid checksum does not prove a registration is active. Always confirm against the registrant data itself.
Build or buy: four ways to integrate
| Approach | What you handle yourself | Best for |
|---|---|---|
| Manual downloads | Everything, every day: downloading, checking files, loading, and searching. | Occasional, low-volume use only. Error-prone at any scale. |
| Build your own pipeline | Scheduled downloads, format changes, database loading, indexing, the search API, audit logging, and maintenance. | Organizations with large IT budgets, developer time for ongoing maintenance, and specific requirements. |
| DEA Data Automation Tool | Loading the raw data into your database and building your own search. The daily download is automated under your RDA credential. | Teams that want their own database and search but not the download work. |
| DEA API Data Engine | Very little. It automates the daily download under your RDA credential and serves the data through a REST API on your own server. | Developers who want to query DEA data from their applications right away, where data security is a priority. |
All four keep the data on your own systems, in line with the RDA data use agreement. With the DEA API Data Engine, your applications send HTTP POST requests and receive JSON, XML, or delimited results, typically within milliseconds because the data is local. See the DEA API Documentation for request formats and result codes. For retired and deactivated registrations, see the DEA Deactivated Data Engine.
What about the DEA's own validation tool?
The DEA's online validation tool confirms one registration at a time, requires the DEA number up front, and since February 2024 requires a one-time token sent to the registrant's email. It has no search, no bulk validation, and no audit trail, so it does not fit inside software that checks registrations automatically.
Compliance checklist
- Hold an approved RDA credential before accessing the data.
- Keep the data on systems your organization controls, and do not redistribute it.
- Refresh the data daily, and record the import date with every lookup.
- Log every search in an audit trail.
- Never treat a valid checksum or outdated data as proof of an active registration.
How DEA Lookup.com helps
For over 15 years, DEA Lookup.com has built software for working with primary source DEA data:
- RDA application consulting: help getting your RDA credential approved, usually in about two weeks.
- DEA Data Automation Tool: automates the daily download of DEA data from the DEA data server into your own systems.
- DEA API Data Engine: automates the download and serves the data through a REST API on your own server, with flat-rate unlimited queries.
- DEA License Lookup: search and verify DEA registrations without writing code.
Related: How to Verify a DEA Number, How to Automate Provider Credential Verification: API vs. Manual, How to Choose a DEA Verification Service, and DEA API Documentation
Frequently asked questions
Is there a public DEA API for registrant data?
No. The DEA does not offer a public API for its registrant database. The data is available from the DEA data server to registrants and other organizations that hold an approved Registrant Datasets Access (RDA) credential, and integrating it into your own software means downloading it under that credential and serving it from your own systems.
Do I need RDA approval to use DEA registrant data in my software?
Yes. Access to the DEA registrant dataset requires an approved RDA credential from the DEA, whether you build the integration yourself or use software to automate it. DEA Lookup.com offers RDA application consulting that usually takes about two weeks from start to finish.
Why does DEA registrant data have to stay on my own server or network?
Under the RDA data use agreement, an approved organization must keep physical control of the registrant data and may not redistribute it. The data has to stay within your organization, which is why compliant integrations run on your own machines or network rather than reading from a shared copy hosted by someone else.
How often should DEA registrant data be updated?
Daily. Registrations are added, renewed, changed, and retired every day, so an integration should download fresh data daily and record the import date with every lookup, so each verification shows how current its data was.
Should I build my own DEA data pipeline or buy one?
Building your own means automating the daily download, handling changes to the DEA data format, loading and indexing the data, and writing your own search API. Buying software such as the DEA Data Automation Tool automates the download, and the DEA API Data Engine adds a ready-made REST API. Both run on your own server under your RDA credential.
DEA data access rules change. This guide was last reviewed on November 2, 2026. Always confirm current requirements with the DEA before making compliance decisions. For updates and suggestions email us at guides@dealookup.com and we'll review it.
DEA Lookup.com is not affiliated with the Drug Enforcement Administration. This guide is general information, not legal or compliance advice.
