Search Medications
curl --request GET \
--url https://api.dev.eka.care/eka-mcp/medications/v1/search \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.dev.eka.care/eka-mcp/medications/v1/search"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.dev.eka.care/eka-mcp/medications/v1/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.get("https://api.dev.eka.care/eka-mcp/medications/v1/search")
.header("Authorization", "Bearer <token>")
.asString();using RestSharp;
var options = new RestClientOptions("https://api.dev.eka.care/eka-mcp/medications/v1/search");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
require 'uri'
require 'net/http'
url = URI("https://api.dev.eka.care/eka-mcp/medications/v1/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body[
{
"name": "<string>",
"generic_name": "<string>",
"manufacturer_name": "<string>",
"product_type": "<string>"
}
]{
"error": "<string>"
}{
"error": "<string>"
}Medical Knowledge-bases
Search Medications
This endpoint returns suggested/similar drugs from the Eka medical database for the given parameters - drug name, generics, form or volume. Suggestions are ranked based on similarity and also popularity (custom eka metric) of the medicine
GET
/
eka-mcp
/
medications
/
v1
/
search
Search Medications
curl --request GET \
--url https://api.dev.eka.care/eka-mcp/medications/v1/search \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.dev.eka.care/eka-mcp/medications/v1/search"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.dev.eka.care/eka-mcp/medications/v1/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.get("https://api.dev.eka.care/eka-mcp/medications/v1/search")
.header("Authorization", "Bearer <token>")
.asString();using RestSharp;
var options = new RestClientOptions("https://api.dev.eka.care/eka-mcp/medications/v1/search");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
require 'uri'
require 'net/http'
url = URI("https://api.dev.eka.care/eka-mcp/medications/v1/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body[
{
"name": "<string>",
"generic_name": "<string>",
"manufacturer_name": "<string>",
"product_type": "<string>"
}
]{
"error": "<string>"
}{
"error": "<string>"
}Query Parameters
The generic name of the medicine like 'Glimeperide', 'Metformin'. In case of compound generics, pass the name only with comma separated like Glimeperide,Metformin The generic name of the medicine like 'Glimeperide', 'Metformin'. In case of compound generics, pass the name only with comma separated like Glimeperide, Metformin
Was this page helpful?

