Data Services Software

DEA Professional API Documentation

By DEA Lookup.com, Inc. · Updated October 19, 2026

Short answer: The DEA Lookup.com Professional API searches daily-updated primary source DEA registration data on your own server by name, address, city, state, ZIP, expiration date, status, drug schedule, and business activity. Fast indexed searches return in 10 to 100 milliseconds, and wildcard searches for partial words in 500 to 1,000 milliseconds. Results come back as a list of matching DEA registrations in pipe-delimited text, XML, or JSON.

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

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.

#ParameterRequiredDescriptionDefault
1usernameYesYour API username.
2passwordYesYour API password.
3expiration_yearNoExpiration year, for example 2028.
4expiration_monthNoExpiration month, for example 4.
5expiration_dayNoExpiration day, for example 30.
6addressNoAddress text to search, for example 100 MAIN.
7address_typeNoAddress search method. See search methods.0
8cityNoCity, for example ANYTOWN.
9city_typeNo0 = match beginning, 1 = match any.0
10stateNoTwo-letter state code, for example PA.
11zipNoZIP code.
12license_statusNoActive or Inactive.
13scheduleNoDrug schedule: 1, 2, 2N, 3, 3N, 4, or 5.
14license_typeNoBusiness activity code, for example A for pharmacy. See the business activity codes.
15license_subcodeNoBusiness activity subcode: A to K or 0 to 9.
16nameNoRegistrant name: practitioner or business, for example SAMPLE PHARMACY.
17name_typeNoName search method. See search methods.0
18order_byNoSort by: 0 DEA number, 1 expiration date, 2 name, 3 address, 4 city, 5 state, 6 ZIP.0
19limitNoMaximum number of records to return.500
20OutputTypeNoPipeDelimited, 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:

ValueMethodHow it matchesTypical speed
0Match beginning, fast searchFull or partial words, starting from the beginning of the field10 to 100 ms
1Match any, fast searchWhole words or phrases anywhere in the field, never partial words10 to 100 ms
2Match beginning, regular searchFull or partial words, starting from the beginning of the field500 to 1,000 ms
3Match any, regular searchFull or partial words anywhere in the field500 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 text0: Beginning, fast1: Any, fast2: Beginning, regular3: Any, regular
ThisYesYesYesYes
appleNoYesNoYes
apple isNoYesNoYes
ThiNoNoYesYes
applNoNoNoYes

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

#FieldDescription
1result_indicator1 for each matching record.
2dea_numberThe DEA registration number.
3expiration_dateRegistration expiration date in yyyyMMdd format.
4company_doctor_nameRegistrant name: practitioner or business.
5addressAddress.
6cityCity.
7stateTwo-letter state code.
8zipZIP code.
9data_import_dateDate 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

How DEA Lookup.com helps

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.

Search primary source DEA data inside your own systems. Subscribe today or email sales@dealookup.com to schedule a demo.

DEA Lookup.com is not affiliated with the Drug Enforcement Administration.