The Node.JS based API server that provides data of nCov-19 of South Korea from the spread sources.
After version
9140a4a8249e75e15add00454742aae28375c3c8
, the docs will be provided in English.
The entrypoint of this API is following format: api-v{version}.maskd.seia.io
version | entrypoint |
---|---|
v0 | api-v0.maskd.seia.io |
This API adopted following rate-limiting policy: 8r/s up to 32 burst requests per IP address
- To send data, you should use
x-www-form-urlencoded
type of body.
- The data of the mask stock status have 5~10 mins of delay.
Get the list of available selection clinics.
scope
: The key name of values such asidentify
,city
, ... (default:clinicName
)keyword
: The string need to be used to search items. If you don't send this parameter, the all items will be printed. (default:none
)
[
{
"id": 3,
"identify": 3,
"samplingAvailable": 1,
"province": "서울",
"city": "강남구",
"clinicName": "연세대학교의과대학강남세브란스병원",
"address": "서울특별시 강남구 언주로 211, 강남세브란스병원 (도곡동)",
"representativeContact": "02-2019-3114"
}
]
id
: The identification tag for internal use.identify
: The national identification code.
Get the list of available safely separated clinics.
scope
: The key name of values such asidentify
,city
, ... (default:clinicName
)keyword
: The string need to be used to search items. If you don't send this parameter, the all items will be printed. (default:none
)
[
{
"id": 1,
"identify": 1,
"province": "서울",
"city": "강남구",
"clinicName": "연세대학교강남세브란스병원",
"address": "서울특별시 강남구 언주로211",
"requestType": "외래진료 및 입원",
"representativeContact": "02-2019-2114",
"availableAt": "2020-02-28T00:00:00.000Z"
}
]
id
: The identification tag for internal use.identify
: The national identification code.availableAt
: Datetime in KST.
This API is currently unavailable due to the resource problem.
Get the list of available stores that sell masks.
limit
: The number of items you want to get at the time. (default:250
, max:1000
)page
: The number that express then
th part of the result if the size of the result is bigger thanlimit
parameter. (default:1
)scope
: The key name of values such asidentify
,address
, ... (default:clinicName
)keyword
: The string need to be used to search items. This value should be 2 words at least. (default:none
)
[
{
"id": 8,
"identify": 11889446,
"address": "서울특별시 강남구 압구정로 108 1층 7호 (신사동)",
"latitude": "37.5228904",
"longitude": "127.0206138",
"name": "가로수길약국",
"type": 1,
"stockReplenishedAt": null,
"stockStatus": "unavailable",
"stockUpdatedAt": null,
"updatedAt": "2020-03-15T14:19:38.000Z"
}
]
id
: The identification tag for internal use.identify
: The national identification code.- type
1
: pharmacy2
: post office3
: NH
- stockStatus (the number of the masks available)
plenty
: 100+,some
: 30+,few
: 2+,empty
: 1 or lower,break
: stopped selling
stockUpdatedAt
: (KST) The last time that checked the status of the mask stock in each store.updatedAt
: (UTC) The last time updated the data from official source.