Search Doctors
curl --request POST \
--url https://api.eka.care/abdm/uhi/v1/physical-consultation/search/doctors \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"district_code": "295",
"district_name": "Bengaluru Urban",
"doctor_name": "Ganesh",
"end_time": "2025-08-05T23:59:59Z",
"facility_name": "Apollo Hospital",
"hpr_id": "<string>",
"latitude": "12.9716",
"longitude": "77.5946",
"pincode": "560001",
"radius_km": "10",
"speciality": "CARDIOLOGY",
"start_time": "2025-08-05T00:00:00Z",
"state_code": "29",
"state_name": "Karnataka"
}
'import requests
url = "https://api.eka.care/abdm/uhi/v1/physical-consultation/search/doctors"
payload = {
"district_code": "295",
"district_name": "Bengaluru Urban",
"doctor_name": "Ganesh",
"end_time": "2025-08-05T23:59:59Z",
"facility_name": "Apollo Hospital",
"hpr_id": "<string>",
"latitude": "12.9716",
"longitude": "77.5946",
"pincode": "560001",
"radius_km": "10",
"speciality": "CARDIOLOGY",
"start_time": "2025-08-05T00:00:00Z",
"state_code": "29",
"state_name": "Karnataka"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
district_code: '295',
district_name: 'Bengaluru Urban',
doctor_name: 'Ganesh',
end_time: '2025-08-05T23:59:59Z',
facility_name: 'Apollo Hospital',
hpr_id: '<string>',
latitude: '12.9716',
longitude: '77.5946',
pincode: '560001',
radius_km: '10',
speciality: 'CARDIOLOGY',
start_time: '2025-08-05T00:00:00Z',
state_code: '29',
state_name: 'Karnataka'
})
};
fetch('https://api.eka.care/abdm/uhi/v1/physical-consultation/search/doctors', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.post("https://api.eka.care/abdm/uhi/v1/physical-consultation/search/doctors")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"district_code\": \"295\",\n \"district_name\": \"Bengaluru Urban\",\n \"doctor_name\": \"Ganesh\",\n \"end_time\": \"2025-08-05T23:59:59Z\",\n \"facility_name\": \"Apollo Hospital\",\n \"hpr_id\": \"<string>\",\n \"latitude\": \"12.9716\",\n \"longitude\": \"77.5946\",\n \"pincode\": \"560001\",\n \"radius_km\": \"10\",\n \"speciality\": \"CARDIOLOGY\",\n \"start_time\": \"2025-08-05T00:00:00Z\",\n \"state_code\": \"29\",\n \"state_name\": \"Karnataka\"\n}")
.asString();using RestSharp;
var options = new RestClientOptions("https://api.eka.care/abdm/uhi/v1/physical-consultation/search/doctors");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
request.AddJsonBody("{\n \"district_code\": \"295\",\n \"district_name\": \"Bengaluru Urban\",\n \"doctor_name\": \"Ganesh\",\n \"end_time\": \"2025-08-05T23:59:59Z\",\n \"facility_name\": \"Apollo Hospital\",\n \"hpr_id\": \"<string>\",\n \"latitude\": \"12.9716\",\n \"longitude\": \"77.5946\",\n \"pincode\": \"560001\",\n \"radius_km\": \"10\",\n \"speciality\": \"CARDIOLOGY\",\n \"start_time\": \"2025-08-05T00:00:00Z\",\n \"state_code\": \"29\",\n \"state_name\": \"Karnataka\"\n}", false);
var response = await client.PostAsync(request);
Console.WriteLine("{0}", response.Content);
require 'uri'
require 'net/http'
url = URI("https://api.eka.care/abdm/uhi/v1/physical-consultation/search/doctors")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"district_code\": \"295\",\n \"district_name\": \"Bengaluru Urban\",\n \"doctor_name\": \"Ganesh\",\n \"end_time\": \"2025-08-05T23:59:59Z\",\n \"facility_name\": \"Apollo Hospital\",\n \"hpr_id\": \"<string>\",\n \"latitude\": \"12.9716\",\n \"longitude\": \"77.5946\",\n \"pincode\": \"560001\",\n \"radius_km\": \"10\",\n \"speciality\": \"CARDIOLOGY\",\n \"start_time\": \"2025-08-05T00:00:00Z\",\n \"state_code\": \"29\",\n \"state_name\": \"Karnataka\"\n}"
response = http.request(request)
puts response.read_body{
"order_id": "<string>",
"provider_id": "<string>",
"txn_id": "<string>"
}{
"code": 123,
"error": "<string>",
"source_error": {
"code": "<string>",
"message": "<string>"
}
}{
"code": 123,
"error": "<string>",
"source_error": {
"code": "<string>",
"message": "<string>"
}
}Physical Consultation
Search Doctors
This api is used to search for doctors.
POST
/
abdm
/
uhi
/
v1
/
physical-consultation
/
search
/
doctors
Search Doctors
curl --request POST \
--url https://api.eka.care/abdm/uhi/v1/physical-consultation/search/doctors \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"district_code": "295",
"district_name": "Bengaluru Urban",
"doctor_name": "Ganesh",
"end_time": "2025-08-05T23:59:59Z",
"facility_name": "Apollo Hospital",
"hpr_id": "<string>",
"latitude": "12.9716",
"longitude": "77.5946",
"pincode": "560001",
"radius_km": "10",
"speciality": "CARDIOLOGY",
"start_time": "2025-08-05T00:00:00Z",
"state_code": "29",
"state_name": "Karnataka"
}
'import requests
url = "https://api.eka.care/abdm/uhi/v1/physical-consultation/search/doctors"
payload = {
"district_code": "295",
"district_name": "Bengaluru Urban",
"doctor_name": "Ganesh",
"end_time": "2025-08-05T23:59:59Z",
"facility_name": "Apollo Hospital",
"hpr_id": "<string>",
"latitude": "12.9716",
"longitude": "77.5946",
"pincode": "560001",
"radius_km": "10",
"speciality": "CARDIOLOGY",
"start_time": "2025-08-05T00:00:00Z",
"state_code": "29",
"state_name": "Karnataka"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
district_code: '295',
district_name: 'Bengaluru Urban',
doctor_name: 'Ganesh',
end_time: '2025-08-05T23:59:59Z',
facility_name: 'Apollo Hospital',
hpr_id: '<string>',
latitude: '12.9716',
longitude: '77.5946',
pincode: '560001',
radius_km: '10',
speciality: 'CARDIOLOGY',
start_time: '2025-08-05T00:00:00Z',
state_code: '29',
state_name: 'Karnataka'
})
};
fetch('https://api.eka.care/abdm/uhi/v1/physical-consultation/search/doctors', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.post("https://api.eka.care/abdm/uhi/v1/physical-consultation/search/doctors")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"district_code\": \"295\",\n \"district_name\": \"Bengaluru Urban\",\n \"doctor_name\": \"Ganesh\",\n \"end_time\": \"2025-08-05T23:59:59Z\",\n \"facility_name\": \"Apollo Hospital\",\n \"hpr_id\": \"<string>\",\n \"latitude\": \"12.9716\",\n \"longitude\": \"77.5946\",\n \"pincode\": \"560001\",\n \"radius_km\": \"10\",\n \"speciality\": \"CARDIOLOGY\",\n \"start_time\": \"2025-08-05T00:00:00Z\",\n \"state_code\": \"29\",\n \"state_name\": \"Karnataka\"\n}")
.asString();using RestSharp;
var options = new RestClientOptions("https://api.eka.care/abdm/uhi/v1/physical-consultation/search/doctors");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
request.AddJsonBody("{\n \"district_code\": \"295\",\n \"district_name\": \"Bengaluru Urban\",\n \"doctor_name\": \"Ganesh\",\n \"end_time\": \"2025-08-05T23:59:59Z\",\n \"facility_name\": \"Apollo Hospital\",\n \"hpr_id\": \"<string>\",\n \"latitude\": \"12.9716\",\n \"longitude\": \"77.5946\",\n \"pincode\": \"560001\",\n \"radius_km\": \"10\",\n \"speciality\": \"CARDIOLOGY\",\n \"start_time\": \"2025-08-05T00:00:00Z\",\n \"state_code\": \"29\",\n \"state_name\": \"Karnataka\"\n}", false);
var response = await client.PostAsync(request);
Console.WriteLine("{0}", response.Content);
require 'uri'
require 'net/http'
url = URI("https://api.eka.care/abdm/uhi/v1/physical-consultation/search/doctors")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"district_code\": \"295\",\n \"district_name\": \"Bengaluru Urban\",\n \"doctor_name\": \"Ganesh\",\n \"end_time\": \"2025-08-05T23:59:59Z\",\n \"facility_name\": \"Apollo Hospital\",\n \"hpr_id\": \"<string>\",\n \"latitude\": \"12.9716\",\n \"longitude\": \"77.5946\",\n \"pincode\": \"560001\",\n \"radius_km\": \"10\",\n \"speciality\": \"CARDIOLOGY\",\n \"start_time\": \"2025-08-05T00:00:00Z\",\n \"state_code\": \"29\",\n \"state_name\": \"Karnataka\"\n}"
response = http.request(request)
puts response.read_body{
"order_id": "<string>",
"provider_id": "<string>",
"txn_id": "<string>"
}{
"code": 123,
"error": "<string>",
"source_error": {
"code": "<string>",
"message": "<string>"
}
}{
"code": 123,
"error": "<string>",
"source_error": {
"code": "<string>",
"message": "<string>"
}
}Was this page helpful?

