DEA Professional API Documentation
By DEA Lookup.com, Inc. · Updated October 19, 2026
The Professional API is part of the DEA API Data Engine and requires the Pro option. For an overview of all four DEA APIs, see the DEA API Documentation.
When to use it
- Finding a prescriber's or business's DEA number when you only have a name and location
- Searching by address, city, state, or ZIP
- Building lists, such as all active pharmacies in a state, or registrations expiring in a given month
- Filtering by drug schedule, business activity, or status
To validate a single known DEA number, use the Standard API, which returns the full registration record.
Endpoint
The API runs on your own server, on the port set in the administrator interface:
POST https://[your server]/DeaApiPro
Request parameters
Only username and password are required. Combine any of the search parameters to narrow results.
| # | Parameter | Required | Description | Default |
|---|---|---|---|---|
| 1 | username | Yes | Your API username. | |
| 2 | password | Yes | Your API password. | |
| 3 | expiration_year | No | Expiration year, for example 2028. | |
| 4 | expiration_month | No | Expiration month, for example 4. | |
| 5 | expiration_day | No | Expiration day, for example 30. | |
| 6 | address | No | Address text to search, for example 100 MAIN. | |
| 7 | address_type | No | Address search method. See search methods. | 0 |
| 8 | city | No | City, for example ANYTOWN. | |
| 9 | city_type | No | 0 = match beginning, 1 = match any. | 0 |
| 10 | state | No | Two-letter state code, for example PA. | |
| 11 | zip | No | ZIP code. | |
| 12 | license_status | No | Active or Inactive. | |
| 13 | schedule | No | Drug schedule: 1, 2, 2N, 3, 3N, 4, or 5. | |
| 14 | license_type | No | Business activity code, for example A for pharmacy. See the business activity codes. | |
| 15 | license_subcode | No | Business activity subcode: A to K or 0 to 9. | |
| 16 | name | No | Registrant name: practitioner or business, for example SAMPLE PHARMACY. | |
| 17 | name_type | No | Name search method. See search methods. | 0 |
| 18 | order_by | No | Sort by: 0 DEA number, 1 expiration date, 2 name, 3 address, 4 city, 5 state, 6 ZIP. | 0 |
| 19 | limit | No | Maximum number of records to return. | 500 |
| 20 | OutputType | No | PipeDelimited, XML, or JSON. If left out, the default set in the administrator interface is used. |
Example request
Find active registrations whose name begins with "SAMPLE PHARMACY" in Pennsylvania, sorted by name:
POST https://[your server]/DeaApiPro Content-Type: application/x-www-form-urlencoded username=YOUR_USERNAME&password=YOUR_PASSWORD&name=SAMPLE PHARMACY&name_type=0&state=PA&license_status=Active&order_by=2&limit=100&OutputType=JSON
Search methods
The name_type and address_type parameters choose how text is matched:
| Value | Method | How it matches | Typical speed |
|---|---|---|---|
0 | Match beginning, fast search | Full or partial words, starting from the beginning of the field | 10 to 100 ms |
1 | Match any, fast search | Whole words or phrases anywhere in the field, never partial words | 10 to 100 ms |
2 | Match beginning, regular search | Full or partial words, starting from the beginning of the field | 500 to 1,000 ms |
3 | Match any, regular search | Full or partial words anywhere in the field | 500 to 1,000 ms |
Fast search uses full-text indexing. Regular search scans the whole table, so save it for partial or incomplete words.
Example: searching the text "This apple is delicious"
| Search text | 0: Beginning, fast | 1: Any, fast | 2: Beginning, regular | 3: Any, regular |
|---|---|---|---|---|
This | Yes | Yes | Yes | Yes |
apple | No | Yes | No | Yes |
apple is | No | Yes | No | Yes |
Thi | No | No | Yes | Yes |
appl | No | No | No | Yes |
Response: matches found
Each matching registration is returned as one record.
JSON
{
"response": [
{
"result_indicator": 1,
"dea_number": "AS1234563",
"expiration_date": "20280430",
"company_doctor_name": "SAMPLE PHARMACY INC",
"address": "100 MAIN ST",
"city": "ANYTOWN",
"state": "PA",
"zip": "12345",
"data_import_date": "10/18/2026"
},
{
"result_indicator": 1,
"dea_number": "AS7654329",
"expiration_date": "20270131",
"company_doctor_name": "SAMPLE PHARMACY OF ANYTOWN",
"address": "200 MARKET ST",
"city": "ANYTOWN",
"state": "PA",
"zip": "12345",
"data_import_date": "10/18/2026"
}
]
}
XML
<?xml version="1.0" encoding="UTF-8"?>
<response>
<record>
<result_indicator>1</result_indicator>
<dea_number>AS1234563</dea_number>
<expiration_date>20280430</expiration_date>
<company_doctor_name>SAMPLE PHARMACY INC</company_doctor_name>
<address>100 MAIN ST</address>
<city>ANYTOWN</city>
<state>PA</state>
<zip>12345</zip>
<data_import_date>10/18/2026</data_import_date>
</record>
<record>
<result_indicator>1</result_indicator>
<dea_number>AS7654329</dea_number>
<expiration_date>20270131</expiration_date>
<company_doctor_name>SAMPLE PHARMACY OF ANYTOWN</company_doctor_name>
<address>200 MARKET ST</address>
<city>ANYTOWN</city>
<state>PA</state>
<zip>12345</zip>
<data_import_date>10/18/2026</data_import_date>
</record>
</response>
Pipe-delimited (one line per record)
1|AS1234563|20280430|SAMPLE PHARMACY INC|100 MAIN ST|ANYTOWN|PA|12345|10/18/2026 1|AS7654329|20270131|SAMPLE PHARMACY OF ANYTOWN|200 MARKET ST|ANYTOWN|PA|12345|10/18/2026
Example data is fictional.
Field reference
| # | Field | Description |
|---|---|---|
| 1 | result_indicator | 1 for each matching record. |
| 2 | dea_number | The DEA registration number. |
| 3 | expiration_date | Registration expiration date in yyyyMMdd format. |
| 4 | company_doctor_name | Registrant name: practitioner or business. |
| 5 | address | Address. |
| 6 | city | City. |
| 7 | state | Two-letter state code. |
| 8 | zip | ZIP code. |
| 9 | data_import_date | Date the data was last retrieved from the DEA data server, when turned on in the administrator interface. |
For the full registration record, including drug schedules, business activity, status, and state license numbers, pass the DEA number to the Standard API.
Response: no results
{
"result_indicator": 0,
"message": "No result"
}
Integration tips
- Start with fast search (
0or1) and fall back to regular search only when you have partial words. - Narrow with state, city, or ZIP when searching common names.
- Set
limitto what your interface can display, and useorder_byto sort. - Confirm the match by validating the selected DEA number with the Standard API before relying on it.
How DEA Lookup.com helps
- DEA API Data Engine: daily-updated primary source DEA data inside your own applications, with flexible search by DEA number, name, address, city, and more.
- DEA License Lookup: search DEA registrations by name, address, city, ZIP, or DEA number without writing code.
Related: DEA API Documentation, DEA Standard API Documentation, DEA State License API Documentation, and How to Verify a DEA Number
Frequently asked questions
What does the DEA Professional API do?
The DEA Professional API searches daily-updated primary source DEA registration data by name, address, city, state, ZIP, expiration date, status, drug schedule, business activity, and subcode, with fast full-word search and wildcard search options. It returns a list of matching DEA registrations.
What is the difference between fast search and regular search?
Fast search uses full-text indexing and generally returns results in 10 to 100 milliseconds, but matches whole words or phrases. Regular search scans the full table for partial or incomplete words and generally returns results in 500 to 1,000 milliseconds. Use fast search when you have complete words, and regular search for partial names or addresses.
How many results does the DEA Professional API return?
Up to 500 matching registrations by default. Use the limit parameter to set a different maximum, and the order_by parameter to sort results by DEA number, expiration date, name, address, city, state, or ZIP.
Can I find a DEA number if I only know the prescriber's name and city?
Yes. Search by name with the city and state to narrow the results, then use the DEA number from the matching record with the Standard API to get the full registration details.
Does the Professional API require a separate license?
Yes. The Professional API requires the Pro option of the DEA API Data Engine, which adds advanced database indexing and multi-threaded responses. Contact sales@dealookup.com for details.
DEA Lookup.com is not affiliated with the Drug Enforcement Administration.
