Introduction
API documentation for PEDS Tests
This documentation aims to provide all the information you need to work with our API.
Authenticating requests
Authenticate requests to this API's endpoints by sending an Authorization
header with the value "Bearer {BEARER_TOKEN}"
.
All authenticated endpoints are marked with a requires authentication
badge in the documentation below.
You can retrieve your token by visiting your dashboard and clicking Generate a new Key.
PEDS-DMAL Test
API docs for PEDS-DMAL Test
GET api/v1/peds-dmal-test.
requires authentication
Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://pedstestonline.com/api/v1/peds-dmal-test',
[
'headers' => [
'Authorization' => 'Bearer {BEARER_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'subject_DOB' => '2021-05-12',
'test_date' => '2023-04-18',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://pedstestonline.com/api/v1/peds-dmal-test"
);
const headers = {
"Authorization": "Bearer {BEARER_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"subject_DOB": "2021-05-12",
"test_date": "2023-04-18"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request GET \
--get "https://pedstestonline.com/api/v1/peds-dmal-test" \
--header "Authorization: Bearer {BEARER_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"subject_DOB\": \"2021-05-12\",
\"test_date\": \"2023-04-18\"
}"
Example response (200):
{
"data": {
"domain_name": "Fine Motor",
"test_type": "fm",
"birth_date": "2021-05-12",
"test_age": "1 year 11 months 6 days",
"rounded_off_age": "1 year 11 months 0 day",
"test_date": "2023-04-18",
"uuid": "943b8348-e203-451f-8dcf-a5cce2b1fa10",
"questions": [
{
"key": 2,
"question": "When your child is holding a toy in each hand, does he or she look from one side to the other?"
},
{
"key": 3,
"question": "Can your child poke at things with just his or her first finger?"
},
{
"key": 4,
"question": "Can your child make a squeeze toy squeak - or try to?"
},
{
"key": 5,
"question": "Can your child unwrap food or a toy that has been loosely wrapped?"
},
{
"key": 6,
"question": "Can your child stack blocks?"
},
{
"key": 7,
"question": "Does your child try to scribble with crayons or markers?"
},
{
"key": 8,
"question": "Can your child scribble with a crayon or marker without going off the page much?"
},
{
"key": 9,
"question": "Can your child draw a picture of a person with any of these parts: head, legs, arms, eyes, body, nose, ears, hands?"
}
],
"responses": [
{
"key": 2,
"response": {
"No": "1_0",
"A little": "2_0",
"Yes": "3_1"
}
},
{
"key": 3,
"response": {
"No": "1_0",
"A little": "2_0",
"Yes": "3_1"
}
},
{
"key": 4,
"response": {
"No": "1_0",
"A little": "2_1",
"Yes": "3_1"
}
},
{
"key": 5,
"response": {
"No": "1_0",
"Sometimes": "2_0",
"Most of the time": "3_1"
}
},
{
"key": 6,
"response": {
"No/Don't have blocks": "1_0",
"1-2 blocks": "2_0",
"3 or more blocks": "3_1"
}
},
{
"key": 7,
"response": {
"No/Never tried": "1_0",
"Sometimes": "2_1",
"Yes": "3_1"
}
},
{
"key": 8,
"response": {
"No": "1_0",
"Sometimes": "2_0",
"Yes": "3_1"
}
},
{
"key": 9,
"response": {
"No": "1_0",
"1 or more parts": "2_1",
"2 or more parts": "3_1",
"4 or more parts": "4_1"
}
}
]
}
}
Received response:
Request failed with error:
POST api/v1/peds-dmal-test.
requires authentication
Example request:
$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://pedstestonline.com/api/v1/peds-dmal-test',
[
'headers' => [
'Authorization' => 'Bearer {BEARER_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'uuid' => '943b8348-e203-451f-8dcf-a5cce2b1fa10',
'subject_DOB' => '2021-05-12',
'fm_2' => '2_0',
'fm_3' => '1_0',
'fm_4' => '1_0',
'fm_5' => '1_0',
'fm_6' => '3_1',
'fm_7' => '2_1',
'fm_8' => '3_1',
'fm_9' => '2_1',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://pedstestonline.com/api/v1/peds-dmal-test"
);
const headers = {
"Authorization": "Bearer {BEARER_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"uuid": "943b8348-e203-451f-8dcf-a5cce2b1fa10",
"subject_DOB": "2021-05-12",
"fm_2": "2_0",
"fm_3": "1_0",
"fm_4": "1_0",
"fm_5": "1_0",
"fm_6": "3_1",
"fm_7": "2_1",
"fm_8": "3_1",
"fm_9": "2_1"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"https://pedstestonline.com/api/v1/peds-dmal-test" \
--header "Authorization: Bearer {BEARER_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"uuid\": \"943b8348-e203-451f-8dcf-a5cce2b1fa10\",
\"subject_DOB\": \"2021-05-12\",
\"fm_2\": \"2_0\",
\"fm_3\": \"1_0\",
\"fm_4\": \"1_0\",
\"fm_5\": \"1_0\",
\"fm_6\": \"3_1\",
\"fm_7\": \"2_1\",
\"fm_8\": \"3_1\",
\"fm_9\": \"2_1\"
}"
Example response (200):
{
"data": {
"message": "Please answer a few more questions to complete the test.",
"domain_name": "Fine Motor",
"test_type": "fm",
"test_date": "2023-04-18",
"uuid": "943b8348-e203-451f-8dcf-a5cce2b1fa10",
"questions": {
"basal": [
{
"key": 0,
"question": "Does your child look at his or her hands?"
},
{
"key": 1,
"question": "Are your child's hands open most of the time, not in a fist?"
}
],
"ceiling": []
},
"responses": {
"basal": [
{
"key": 0,
"response": {
"No": "1_0",
"A little": "2_1",
"Yes": "3_1"
}
},
{
"key": 1,
"response": {
"No": "1_0",
"A little": "2_0",
"Yes": "3_1"
}
}
],
"ceiling": []
}
}
}
Received response:
Request failed with error:
PEDS-DM Test
API docs for PEDS-DM Test
GET api/v1/peds-dm-test
requires authentication
Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://pedstestonline.com/api/v1/peds-dm-test',
[
'headers' => [
'Authorization' => 'Bearer {BEARER_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'subject_DOB' => '2021-03-20',
'test_date' => '2023-04-18',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://pedstestonline.com/api/v1/peds-dm-test"
);
const headers = {
"Authorization": "Bearer {BEARER_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"subject_DOB": "2021-03-20",
"test_date": "2023-04-18"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request GET \
--get "https://pedstestonline.com/api/v1/peds-dm-test" \
--header "Authorization: Bearer {BEARER_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"subject_DOB\": \"2021-03-20\",
\"test_date\": \"2023-04-18\"
}"
Example response (200):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 58
{
"data": {
"test_form": "J",
"questions": [
"Does your child try to scribble with crayons or markers?",
"How many of these body parts can your child point to if you say, <b><i>\"Where are your eyes?\"...\"Where is your nose?\"...\"feet?\"...\"hair?\"...\"mouth?\"...\"ears?\"</b></i>",
"If you ask your child <i><b>\"What's this?\"</b></i> and showed things like a spoon, cup, doll, truck, box, crayon, cookie, chair, or light, how many names for these or other things does he or she say?",
"How does your child get up a set of stairs?",
"Does your child try to help when it is time to put things away?",
"Does your child use two things together such as taking a doll for a ride in a toy car, having a truck carry things, or having a doll take a pet for a walk?"
],
"responses": {
"fm": {
"No/Never tried": "0_1",
"Sometimes": "0_2",
"Yes": "1_3"
},
"rl": {
"None": "0_1",
"1-2": "0_2",
"3 or more": "1_3"
},
"el": {
"None": "0_1",
"1-2": "0_2",
"3-4": "0_3",
"5 or more": "1_4"
},
"gm": {
"Walks up on own": "1_1",
"Holds rail or needs <b>one</b> hand held": "1_2",
"Crawls or needs two hands held": "0_3",
"Not around stairs": "0_4"
},
"sh": {
"No": "0_1",
"Sometimes": "1_2",
"Most of the time": "1_3"
},
"se": {
"No": "0_1",
"Uses one toy at a time": "0_2",
"Yes, uses two toys together": "1_3"
}
},
"count": 6
}
}
Received response:
Request failed with error:
POST api/v1/peds-test-dm
requires authentication
Info about the patient_id parameter:
Example request:
$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://pedstestonline.com/api/v1/peds-dm-test',
[
'headers' => [
'Authorization' => 'Bearer {BEARER_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'fm_select' => '0_2',
'rl_select' => '1_3',
'el_select' => '0_2',
'gm_select' => '1_2',
'sh_select' => '1_2',
'se_select' => '1_3',
'patient_id' => 1007,
'subject_DOB' => '2021-03-20',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://pedstestonline.com/api/v1/peds-dm-test"
);
const headers = {
"Authorization": "Bearer {BEARER_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"fm_select": "0_2",
"rl_select": "1_3",
"el_select": "0_2",
"gm_select": "1_2",
"sh_select": "1_2",
"se_select": "1_3",
"patient_id": 1007,
"subject_DOB": "2021-03-20"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"https://pedstestonline.com/api/v1/peds-dm-test" \
--header "Authorization: Bearer {BEARER_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"fm_select\": \"0_2\",
\"rl_select\": \"1_3\",
\"el_select\": \"0_2\",
\"gm_select\": \"1_2\",
\"sh_select\": \"1_2\",
\"se_select\": \"1_3\",
\"patient_id\": 1007,
\"subject_DOB\": \"2021-03-20\"
}"
Example response (200):
{
"data": {
"milestones_met": "Self Help, Receptive Language, Gross Motor, Social Emotional",
"milestones_unmet": "Fine Motor, Expressive Language",
"patient_id": 1007
}
}
Received response:
Request failed with error:
PEDS-R Test
API docs for PEDS-R Test
GET api/v1/peds-test
requires authentication
Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://pedstestonline.com/api/v1/peds-test',
[
'headers' => [
'Authorization' => 'Bearer {BEARER_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://pedstestonline.com/api/v1/peds-test"
);
const headers = {
"Authorization": "Bearer {BEARER_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
curl --request GET \
--get "https://pedstestonline.com/api/v1/peds-test" \
--header "Authorization: Bearer {BEARER_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
Example response (200):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 59
{
"data": {
"questions": [
"Please list any concerns about your child's learning, development, and behavior.",
"Do you have any concerns about how your child talks and makes speech sounds?",
"Do you have any concerns about how your child understands what you say?",
"Do you have any concerns about how your child uses his or her hands and fingers to do things?",
"Do you have any concerns about how your child uses his or her arms and legs?",
"Do you have any concerns about how your child behaves?",
"Do you have any concerns about how your child gets along with others?",
"Do you have any concerns about how your child is learning to do things for himself/herself?",
"Do you have any concerns about how your child is learning preschool or school skills?",
"Do you have any concerns about how your child is behind others or can’t do what other kids can?",
"Do you have any concerns about your child’s health or about how he or she sees, hears, eats, or sleeps?",
"Please list any other concerns."
],
"count": 12
}
}
Received response:
Request failed with error:
POST api/v1/peds-test
requires authentication
Example request:
$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://pedstestonline.com/api/v1/peds-test',
[
'headers' => [
'Authorization' => 'Bearer {BEARER_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'test_date' => '2022-08-20',
'subject_DOB' => '2021-03-20',
'subject_prem' => true,
'prem_weeks' => 5,
'patient_id' => 1007,
'q0_text' => 'none',
'q11_text' => 'none',
'q1_select' => 'n',
'q1_text' => 'Some example text for q1_text',
'q2_select' => 'n',
'q2_text' => 'Some example text for q2_text',
'q3_select' => 'n',
'q3_text' => 'Some example text for q3_text',
'q4_select' => 'n',
'q4_text' => 'Some example text for q4_text',
'q5_select' => 'n',
'q5_text' => 'Some example text for q5_text',
'q6_select' => 'n',
'q6_text' => 'Some example text for q6_text',
'q7_select' => 'n',
'q7_text' => 'Some example text for q7_text',
'q8_select' => 'n',
'q8_text' => 'Some example text for q8_text',
'q9_select' => 'n',
'q9_text' => 'Some example text for q9_text',
'q10_select' => 'n',
'q10_text' => 'Some example text for q10_text',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://pedstestonline.com/api/v1/peds-test"
);
const headers = {
"Authorization": "Bearer {BEARER_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"test_date": "2022-08-20",
"subject_DOB": "2021-03-20",
"subject_prem": true,
"prem_weeks": 5,
"patient_id": 1007,
"q0_text": "none",
"q11_text": "none",
"q1_select": "n",
"q1_text": "Some example text for q1_text",
"q2_select": "n",
"q2_text": "Some example text for q2_text",
"q3_select": "n",
"q3_text": "Some example text for q3_text",
"q4_select": "n",
"q4_text": "Some example text for q4_text",
"q5_select": "n",
"q5_text": "Some example text for q5_text",
"q6_select": "n",
"q6_text": "Some example text for q6_text",
"q7_select": "n",
"q7_text": "Some example text for q7_text",
"q8_select": "n",
"q8_text": "Some example text for q8_text",
"q9_select": "n",
"q9_text": "Some example text for q9_text",
"q10_select": "n",
"q10_text": "Some example text for q10_text"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"https://pedstestonline.com/api/v1/peds-test" \
--header "Authorization: Bearer {BEARER_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"test_date\": \"2022-08-20\",
\"subject_DOB\": \"2021-03-20\",
\"subject_prem\": true,
\"prem_weeks\": 5,
\"patient_id\": 1007,
\"q0_text\": \"none\",
\"q11_text\": \"none\",
\"q1_select\": \"n\",
\"q1_text\": \"Some example text for q1_text\",
\"q2_select\": \"n\",
\"q2_text\": \"Some example text for q2_text\",
\"q3_select\": \"n\",
\"q3_text\": \"Some example text for q3_text\",
\"q4_select\": \"n\",
\"q4_text\": \"Some example text for q4_text\",
\"q5_select\": \"n\",
\"q5_text\": \"Some example text for q5_text\",
\"q6_select\": \"n\",
\"q6_text\": \"Some example text for q6_text\",
\"q7_select\": \"n\",
\"q7_text\": \"Some example text for q7_text\",
\"q8_select\": \"n\",
\"q8_text\": \"Some example text for q8_text\",
\"q9_select\": \"n\",
\"q9_text\": \"Some example text for q9_text\",
\"q10_select\": \"n\",
\"q10_text\": \"Some example text for q10_text\"
}"
Example response (200):
{
"data": {
"date_of_birth": "2017-10-22",
"test_date": "2022-12-17",
"test_age": "5 years 1 months 26 days",
"path": "A",
"result": "<b>PEDS</b> - Path A: (High Risk for Mental Health, Emotional, Behavioral and Developmental Delays/ Disorders )",
"peds_recommends": "Refer for special education evaluation of eligibility<br/>Refer for evaluation of mental health, well-being and behavior<br/>Provide guidance on specific concerns<br/>Contact in 6 - 8 weeks to assess effectiveness and follow-through with referrals<br/>If ineligible refer for private therapies or Head Start programs",
"developmental_concerns": "Expressive Language, Receptive Language, Gross Motor, School, Health, Global Cognitive",
"meb_concerns": "Self help",
"patient_id": 1028,
" Procedure code":
"Procedure code: 96110 for PEDS-R®, PEDS-DM® or M-CHAT-R. "
" Procedure code: 96112 (wRVU 2.56) for developmental testing (DMAL). "
" Procedure code: 96113 (wRVU 1.16) represents each additional 30 minute increment required to complete the service (DMAL). ",
"Possible ICD-10 Codes ":
"F98.9 Unspecified behavioral and emotional disorders with onset usually
occurring in childhood and adolescence "
"F82 Specific developmental disorder of motor function "
"F80.89 Other developmental disorders of speech or language "
"F90.9 Attention Deficit Hyperactivity Disorder, unspecified type "
"F79 Unspecified intellectual disabilities "
"F81.9 Developmental disorder of scholastic skills, unspecified "
}
}
Received response:
Request failed with error: