DEA API Documentation
By DEA Lookup.com, Inc. · Updated October 19, 2026
How the DEA API Data Engine works
- Runs on your server: the engine installs on a Windows server and runs as a service, so DEA lookups stay inside your own network.
- Primary source data, updated daily: DEA registration data is refreshed every day and stored locally in encrypted form.
- Fast responses: because the data is local, DEA number validation typically returns in 10 milliseconds or less, with multi-threaded processing for high volume.
- Any programming language: every API accepts a standard HTTP POST request, so it works with any language or platform that can make one.
- Flat-rate pricing: unlimited queries, with no per-lookup charges.
The four DEA APIs
| API | What it does | Search by | Returns |
|---|---|---|---|
| Standard API | Validates a single DEA number | DEA number | Full registration record, or invalid/inactive |
| Professional API | Searches DEA data with full-word and wildcard options | Name, address, city, state, ZIP, expiration date, status, schedule, business activity, and more | A list of matching registrations |
| Validation Certificate API | Downloads primary source proof of registration PDFs | DEA number | PDF saved to a folder on your server |
| DEA State License API | Finds DEA registrations associated with a state license number | State license or state controlled substance (CS) license number | Full registration records |
Every DEA API Data Engine subscription includes the Standard or Pro edition. The Professional API is part of the Pro edition. The Validation Certificate API and the DEA State License API are optional add-ons, and the DEA State License API works with the Pro edition.
DEA State License API vs. State Medical License API
These two APIs have similar names but do different jobs:
- The DEA State License API searches DEA registration data by state license number. It tells you which DEA registration a state license is associated with, and returns the state license numbers listed on a DEA registration.
- The State Medical License API verifies the state license itself in real time against the state licensing board, the primary source for licensure. It returns the license status and expiration date from the state board.
Using them together: validate a DEA number with the Standard API, take the state license number from the DEA record, then verify that license with the State Medical License API. The result is a complete prescriber check: an active DEA registration and an active state license, both confirmed against primary source data.
Common to all four APIs
Requests
- Send an HTTP POST request with the parameters as
x-www-form-urlencodedform data. - Every request includes the
usernameandpasswordyou set in the engine's administrator interface. - The engine listens on your own server, on the port you choose, for example
https://[your server]/DeaApi. - For testing, a tool such as Postman works well: choose
x-www-form-urlencodedand enter the parameters in the request body.
Output formats
Set the OutputType parameter on any request, or set a default for all requests in the administrator interface:
| OutputType | Format |
|---|---|
PipeDelimited | Fields separated by the | character |
XML | Standard XML |
JSON | Standard JSON |
Result indicators
Every response starts with a result indicator, so your system can route each result without parsing the rest:
| Result | Meaning |
|---|---|
1 | Success |
0 | No result, or invalid/inactive DEA number |
2 | Request error, such as a missing or incorrectly formatted DEA number |
3 | Invalid API credentials |
See each API's documentation for its exact responses.
Data import date
Responses can include a data_import_date field showing when the data was last retrieved from the DEA data server. Turn it on in the administrator interface. It is useful for audit records.
Administration and security
- Start and stop the service, set the API username, password, and port, and run test searches from the administrator interface.
- Run the engine as a Windows service with automatic restart, which is the recommended setup for production.
- Require SSL for all connections. The engine includes a self-signed certificate, or you can install your own.
- Keep the API on your internal network, and keep API credentials on your servers, not in browser or mobile app code.
Getting access
The DEA API Data Engine is available by subscription. It runs on your own server and downloads DEA registration data under your organization's own Registrant Datasets Access (RDA) credential from the DEA. Under the RDA data use agreement, your organization keeps physical control of the data and may not redistribute it, which is why the engine runs inside your own network rather than as a hosted service. If you don't have RDA access yet, DEA Lookup.com offers RDA application consulting to help you apply, usually in about two weeks.
Retired and deactivated registrations are available through the DEA Deactivated Data Engine. For a comparison of integration options, see How to Integrate DEA Primary Source Data Into Your Software. Email sales@dealookup.com to schedule a demo or discuss an evaluation.
How DEA Lookup.com helps
- DEA API Data Engine: daily-updated primary source DEA data inside your own applications, with flat-rate unlimited queries and responses in 10 milliseconds or less.
- State Medical License API: real-time primary source state license verification in all 50 states.
- DEA License Lookup: search and verify DEA registrations without writing code.
Related: State License API Documentation, How to Verify a DEA Number, How to Automate Provider Credential Verification: API vs. Manual, and How Distributors Verify DEA Registrations and State Licenses Before Shipping
Frequently asked questions
What is the DEA API Data Engine?
The DEA API Data Engine is software from DEA Lookup.com that runs on your own Windows server and keeps a daily-updated copy of primary source DEA registration data. Your applications query it through simple HTTP POST requests and receive results in pipe-delimited text, XML, or JSON, typically in milliseconds.
Which DEA APIs does DEA Lookup.com offer?
The DEA API Data Engine includes four APIs: the Standard API validates a single DEA number and returns the full registration record, the Professional API searches DEA data by name, address, city, state, ZIP, schedule, and other fields with wildcard options, the Validation Certificate API downloads primary source proof of registration PDFs, and the DEA State License API finds DEA registrations by state license number.
What is the difference between the DEA State License API and the State Medical License API?
The DEA State License API searches DEA registration data by state license number, so it tells you which DEA registration a state license is associated with. The State Medical License API verifies the state license itself against the state licensing board in real time. Used together, the first finds the state license number tied to a DEA registration and the second confirms that license with the primary source.
How fast are DEA API Data Engine responses?
Because the data is stored on your own server, DEA number validation typically returns in 10 milliseconds or less. Professional API fast searches generally return in 10 to 100 milliseconds, and wildcard searches across the full table in 500 to 1,000 milliseconds. Validation Certificate downloads are queued and usually take under 10 seconds each.
How often is the DEA data updated?
The DEA API Data Engine updates its DEA registration data daily. Every response can include a data import date showing when the data was last retrieved from the DEA data server, which is useful for audit records.
DEA Lookup.com is not affiliated with the Drug Enforcement Administration.
