NIDA Screening Tool APIs: Overview for Developers
NIDA Screening Tool APIs: Overview for Developers

Application Programming Interfaces (APIs) for Developers

An application programming interface, or API, is a set of functions and procedures allowing access to the features or data of an application or other service. An API allows developers the ability to use existing proprietary data or content, usually to build or produce new applications or tools. An API has specific rules and requirements that allow users to legitimately access the content or data.

The National Institute on Drug Abuse (NIDA) maintains four screening tools, each with its own API:

API Documentation

Documentation for each of the NIDA Screening Tool APIs can be found at the NIDA API Gateway.

API Key Registration

To begin using the NIDA Screening Tool APIs, please register to request an API key. A confirmation that includes your unique API key will be sent to your email address. Please save the email for future reference.

Terms of Use

  • The API can be used on demand, or the content can be queried and pulled into a separate database managed by an organization with an account ID.
  • To leverage the API the developer must register and use a valid API key.
  • NIDA content can be presented anywhere on your Web site.
  • Do not manipulate or alter the calculation of the screening tool results.
  • If the screening tool is embedded alongside other content, please ensure that the content provides related value, is consistent with the NIDA content, and does not harm the integrity of the NIDA content.
  • Your application may only send a maximum of 10 requests per second unless you have received prior authorization from NIDA's web team. 

Frequently Asked Questions

  1. Is my account or IP blacklisted/banned?
    Please email our support team to find out if your account is blacklisted and how to get removed.
  2. How often is the NIDA Drug Screening Tool content updated?
    The NIDA content is updated on an as-needed basis.
  3. How do I request more functionality in the API?
    Please email your suggestions to our support team, and we will try to respond to them as quickly as possible.
  4. What if I have questions or find a mistake?
    Please email our support team.