BetterDoctor Doctor and Provider Data

FREE
By palanen
Updated 4 months ago
Medical
3.8/10
Popularity Score
334ms
Latency
-
Success Rate

BetterDoctor Doctor and Provider Data API Documentation

Easy to implement API that delivers quality data on the doctor and practice information you need (name, address, specialty etc.) through a RESTful API.

View API Details
GETDoctor Search by name
GETPractice Search
GETDoctor Search by name

Search for doctors using name.

Authorization:

Create your BetterDoctor API key at https://developer.betterdoctor.com/

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
BetterDoctor API keyQUERY
REQUIREDhttps://developer.betterdoctor.com/
Optional Parameters
NameSTRING
OPTIONALThe doctor's name; searches in both first and last names. Partial (type-ahead) characters/names are accepted.
Code Snippet
unirest.get("https://betterdoctor.p.rapidapi.com/api.betterdoctor.com/2016-03-01/doctors?name=")
.header("X-RapidAPI-Host", "betterdoctor.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://betterdoctor.p.rapidapi.com/api.betterdoctor.com/2016-03-01/doctors?name=
Request Method: GET
Response Headers
Response Body

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.get("https://betterdoctor.p.rapidapi.com/api.betterdoctor.com/2016-03-01/doctors?name=")
.header("X-RapidAPI-Host", "betterdoctor.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication