Data Services Software

DEA Standard API Documentation

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

Short answer: The DEA Lookup.com Standard API validates a single DEA number against daily-updated primary source DEA registration data stored on your own server. Send the DEA number in an HTTP POST request and get back the full registration record, including status, expiration date, drug schedules, business activity, address, and state license numbers, in pipe-delimited text, XML, or JSON.

The Standard API is part of the DEA API Data Engine. For an overview of all four DEA APIs, see the DEA API Documentation.

Endpoint

The API runs on your own server, on the port set in the administrator interface:

POST https://[your server]/DeaApi

Request parameters

#ParameterRequiredDescription
1usernameYesYour API username, set in the administrator interface.
2passwordYesYour API password.
3deanumberYesThe DEA number to validate.
4OutputTypeNoPipeDelimited, XML, or JSON. If left out, the default set in the administrator interface is used.

Example request

POST https://[your server]/DeaApi
Content-Type: application/x-www-form-urlencoded

username=YOUR_USERNAME&password=YOUR_PASSWORD&deanumber=AS1234563&OutputType=JSON

Response: registration found

JSON

{
  "result_indicator": 1,
  "dea_number": "AS1234563",
  "bac": "A",
  "drug_schedule": "2 2N 3 3N 4 5",
  "expiration_date": "20280430",
  "full_name": "SAMPLE PHARMACY INC",
  "additional_name": "MAIN STREET PHARMACY",
  "address": "100 MAIN ST",
  "address_secondary": "SUITE 1",
  "city": "ANYTOWN",
  "state": "PA",
  "zip": "12345",
  "bac_subcode": "0",
  "payment_indicator": "P",
  "status": "Active",
  "pro_desination": "",
  "state_license": "PP000000",
  "state_license_secondary": "CS000000",
  "data_import_date": "10/18/2026"
}

XML

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <result_indicator>1</result_indicator>
  <dea_number>AS1234563</dea_number>
  <bac>A</bac>
  <drug_schedule>2 2N 3 3N 4 5</drug_schedule>
  <expiration_date>20280430</expiration_date>
  <full_name>SAMPLE PHARMACY INC</full_name>
  <additional_name>MAIN STREET PHARMACY</additional_name>
  <address>100 MAIN ST</address>
  <address_secondary>SUITE 1</address_secondary>
  <city>ANYTOWN</city>
  <state>PA</state>
  <zip>12345</zip>
  <bac_subcode>0</bac_subcode>
  <payment_indicator>P</payment_indicator>
  <status>Active</status>
  <pro_desination></pro_desination>
  <state_license>PP000000</state_license>
  <state_license_secondary>CS000000</state_license_secondary>
  <data_import_date>10/18/2026</data_import_date>
</response>

Pipe-delimited

1|AS1234563|A|2 2N 3 3N 4 5|20280430|SAMPLE PHARMACY INC|MAIN STREET PHARMACY|100 MAIN ST|SUITE 1|ANYTOWN|PA|12345|0|P|Active||PP000000|CS000000|10/18/2026

Example data is fictional. Pipe-delimited fields are returned in the order shown in the field reference below.

Field reference

#FieldDescription
1result_indicator1 when the registration is found.
2dea_numberThe DEA registration number.
3bacBusiness activity code. See the table below.
4drug_scheduleAuthorized controlled substance schedules, separated by spaces, for example 2 2N 3 3N 4 5.
5expiration_dateRegistration expiration date in yyyyMMdd format.
6full_nameRegistrant name.
7additional_nameAdditional or doing-business-as name.
8addressAddress line 1.
9address_secondaryAddress line 2.
10cityCity.
11stateTwo-letter state code.
12zipZIP code.
13bac_subcodeBusiness activity subcode. See the table below.
14payment_indicatorP = paid, E = fee exempt.
15statusActive or Inactive.
16pro_desinationProfessional designation, for example MD, DO, DDS.
17state_licenseState license number listed on the DEA registration.
18state_license_secondaryState controlled substance (CS) license number listed on the DEA registration.
19data_import_dateDate the data was last retrieved from the DEA data server, when turned on in the administrator interface.

Business activity codes (BAC)

CodeBusiness activity
APharmacy
BHospital/Clinic
CPractitioner
DTeaching Institution
EManufacturer
FDistributor
GResearcher
HAnalytical Lab
JImporter
KExporter
LReverse Distributor
MMid-level Practitioner
N, P, R, S, T, UNarcotic Treatment Program

Business activity subcodes (pharmacies)

CodeSubcode
0Retail Pharmacy
1Central Fill Pharmacy
3Chain Pharmacy
4Automated Dispensing System
5Online Retail Pharmacy
6Online Central Fill Pharmacy
7Online Chain Pharmacy
8Pharmacy, Military
9Pharmacy, Federal
XMail Order Pharmacy

Response: invalid or inactive DEA number

A correctly formatted DEA number that is not found, or is no longer active, returns result indicator 0:

{
  "result_indicator": 0,
  "message": "Invalid/inactive DEA number"
}

Response: errors

Errors return a result indicator, a detail value, and a message:

{
  "result_indicator": 2,
  "detail": "Error",
  "message": "Invalid DEA number format"
}
ResultMeaning
2No DEA number in the request, or the DEA number is not correctly formatted
3Invalid API credentials

Integration tips

How DEA Lookup.com helps

Related: DEA API Documentation, DEA Professional API Documentation, How to Verify a DEA Number, and How Distributors Verify DEA Registrations and State Licenses Before Shipping

Frequently asked questions

What does the DEA Standard API return?

For a valid DEA number, the Standard API returns the full DEA registration record: DEA number, business activity code, authorized drug schedules, expiration date, registrant name and additional name, address, business activity subcode, payment indicator, status, professional designation, state license and state controlled substance license numbers, and optionally the data import date.

How do I validate a DEA number with the API?

Send an HTTP POST request to the DEA API Data Engine with your API username and password and the DEA number in the deanumber parameter. A result indicator of 1 means the registration was found, 0 means the DEA number is invalid or inactive, and 2 means the DEA number is missing or incorrectly formatted.

What date format does the DEA Standard API use for expiration dates?

Expiration dates are returned in yyyyMMdd format. For example, 20280430 means April 30, 2028.

Does a successful DEA API result mean the prescriber can dispense or order any controlled substance?

No. A successful result confirms the registration exists in DEA data. You should also check that the status is active, the expiration date has not passed, the drug schedules cover the substance involved, and the business activity fits the transaction. Many organizations also verify the state license with the State Medical License API.

Can I choose JSON, XML, or delimited output?

Yes. Set the OutputType parameter to PipeDelimited, XML, or JSON on each request, or set a default output type for all requests in the DEA API Data Engine administrator interface.

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

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