Dynamed Decisions


Browse our guides and interact with our API reference for more information about MEDSAPI DynaMed Decisions. Try MEDSAPI DynaMed Decisions and learn about core concepts.





Get All Tools Code Samples

Use the code samples below as examples to create an application in your desired language.  The following code samples use the /v1/content/tools endpoint to get all tools.  Get started and begin to understand the endpoint by following the examples below in the language of your choice. Substitute a valid token for the placeholder below to run the examples.


Code Samples


# get all tools

curl -X GET "https://apis.ebsco.com/medsapi-dynamed-decisions/v1/content/tools?page=2&pageSize=10"
    -H "Content-Type: application/json"
    -H "Accept: application/json"
    -H "Authorization: Bearer TOKEN"


// get all tools

// Construct the client
OkHttpClient client = new OkHttpClient();

// Create the URL
HttpUrl url = new HttpUrl.Builder()
    .addQueryParameter("page", "2")
    .addQueryParameter("pageSize", "10")

// Build the request
Request request = new Request.Builder()
    .addHeader("Content-Type", "application/json")
    .addHeader("Accept", "application/json")
    .addHeader("Authorization", "Bearer TOKEN")

// Send the request
Response response = client.newCall(request).execute();


// get all tools

const host = "https://apis.ebsco.com";
const path = "/medsapi-dynamed-decisions/v1/content/tools";

// Create the Request
const url = host + path;
const queryParams = {"page": "2", "pageSize": "10"}

const settings = {
    "async": true,
    "crossDomain": true,
    "url": url,
    "method": "GET",
    "headers": {
        "Content-Type": "application/json",
        "Accept": "application/json",
        "Authorization": "Bearer TOKEN"
    "data": queryParams

// Send the Request
$.ajax(settings).done(function (response) {


# get all tools

# Form the URL
urlstr = File.join("https://", "apis.ebsco.com", "/medsapi-dynamed-decisions/v1/content/tools")
url = URI.parse(urlstr)
params = { :page => "2",:pageSize => "10" }

# Add params to URI
uri.query = URI.encode_www_form( params )

# Create the HTTP object
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE

# Create the request
request = Net::HTTP::Get.new(url)
request["Content-Type"] = "application/json"
request["Accept"] = "application/json"
request["Authorization"] = "Bearer TOKEN"

# Send the request
response = http.request(request)


# get all tools

# Form the URL
url = "/medsapi-dynamed-decisions/v1/content/tools"

queryParams = {
    "page": "2"
    "pageSize": "10"}

# Create Connection Instance
conn = http.client.HTTPSConnection("apis.ebsco.com")

# Create the Request Headers
headers = {
        "Content-Type": "application/json",
        "Accept": "application/json",
        "Authorization": "Bearer TOKEN"

# Send Request
conn.request("GET", url, queryParams, headers)