Download OpenAPI specification:Download
API Libraries › Entity API
EDH REST APIs for retrieving Entity data.
Note - this specification is subject to changes based on evolution of the APIs.
1.4.7 (17 Mar 2025)
licences
licences
licences
licences
licences
1.4.6 (11 Dec 2024)
basic-profile
addresses
financials
charges
charges
shareholders
and shareholders-list
subsidiaries-list
appointments
basic-profile
financials
charges
1.4.5 (16 Aug 2024)
shareholders
section1.4.4 (3 Oct 2023)
corppass
section:1.4.3 (1 Dec 2022)
appointments
section1.4.2 (3 March 2022)
nationality
field for corppass-user under corppass
section1.4.1 (11 September 2020)
active
field for shareholders
section1.4.0 (11 May 2020)
builders
and contractors
section1.3.0 (20 April 2020)
shareholders-list
and subsidiaries-list
section1.2.0 (10 October 2019)
corppass
section1.1.3 (17 September 2019)
gazette-list
is removed from Declarations1.1.2 (22 August 2019)
liquidator-company-type
have been subsumed into category
liquidator-type
have been subsumed into position
1.1.1 (4 August 2019)
addresses
for appointed-person and shareholder1.1.0 (8 July 2019)
entity-name
to 100 characters to support SG-DRM formatentity-long-name
to reflect entity name more than 100 characters (capped at 256 characters)1.0.3 (26 June 2019)
/(CONTEXT)
from /edh
to /gov
1.0.2 (6 June 2019)
realm
parameter from request signing as it is not a required field1.0.1 (31 May 2019)
entity-status
and position
codes fields to include relationship with entity-type
entity-status
and position
codes1.0.0 (26 Apr 2019)
entity
; Note: Major changes in entity schema. Please see Understanding the Data Structure for details.0.1.0 (22 Feb 2019)
The RESTful API adopts Semantic Versioning 2.0.0 for releases, and every new release of the API increments the version numbers in the following format:
{MAJOR}.{MINOR}.{PATCH}
{MAJOR}
number introduces incompatible API changes with previous {MAJOR}
number also resets {MINOR}
to 0
,{MINOR}
number introduces new functionalities or information that are backward compatible also resets {PATCH}
to 0
, and{PATCH}
number introduces bug fixes and remains backward compatible.Pre-release or draft versions, when provided, are denoted by appended hypen -
with a series of separate identifiers {LABEL}-{VERSION}
following the {PATCH}
number. Such releases are unstable and may not provide the intended compatibility with the specification in draft status.
Despite backward compatibility in {MINOR}
or {PATCH}
releases, API consumers are best to evaluate and determine their implementation does not disrupt use-case requirements.
The RESTful API provides both testing and live environments accessible over the Internet via HTTPS.
Consumers are to ensure firewall clearance on their edge network nodes for connecting to the APIs.
The convention used by API endpoints' URL are in the following format:
https://{ENV_DOMAIN_NAME}/{CONTEXT}/{VERSION}/{RESOURCE}
{ENV_DOMAIN_NAME}
indicates EDH's API domain names - respectively:
sandbox.api.edh.gov.sg
, ortest.api.edh.gov.sg
, orapi.edh.gov.sg
, following/{CONTEXT}
, indicates the context of the API call = /gov
/{VERSION}
indicates the endpoint's release {MAJOR}
version number
path - for this release = /v1
/{RESOURCE}
indicates the API resource path name.
Any additional query string parameters are appended as needed.
The sandbox environment is used for your testing when developing your prototype. The Entity API will return test data previously shared by our officer via email. For test data matters, please contact us.
sandbox.api.edh.gov.sg
The test enviroment is used for testing your application with the full security measures required in production. The Entity API will return test data previously shared by our officer via email. For test data matters, please contact us.
test.api.edh.gov.sg
The production enviroment is the actual live environment with full security measures and live data.
api.edh.gov.sg
The following are the scheduled downtimes for the various environments:
EDH's API gateway supports accessing of APIs via the following interfaces:
HTTP version 1.1 connection over TLS (Transport Layer Security) version 1.1 or 1.2 standards, and ciphersuites:
Below is the list of recommended cipher suites that you may use:
IMPORTANT: ensure your server supports TLS 1.1 or 1.2 and supports a cipher suite in the list above.
Accessing the RESTful API using prior versions of TLS or unsupported ciphersuites will result in connectivity errors. EDH's API gateway does not support 2-way TLS client nor mutual authentication.
API HTTP interface features:
Content-Type
header application/json
, alsoContent-Length
header is omitted by having Transfer-Encoding
header chunked
emitted for streaming data, andAccept-Encoding: gzip
and indicated in Content-Encoding
header gzip
.Access to all server-to-server APIs will be authenticated by EDH's API gateway. Prior to consumption of API, respective consumers are required to have:
Authentication methods provided by EDH's API gateway on internet:
NOTE: Test and Production Environments only
All server-to-server API requests are to be digitally signed, by including the following parameters and values in the Authorization
header:
PKI_SIGN app_id="{app_id}",
nonce="{random_nonce}",
signature_method="RS256",
signature="{base64_url_percent_encoded_signature}",
timestamp="{unix_epoch_in_milliseconds}"
Note: Above sample is separated by lines for ease-of-reading, and new-line denotations are to be omitted in the actual request.
{app_id}
is the APP ID credential supplied upon onboarding,
{random_nonce}
is an unique randomly generated text used for replay prevention,
{signature_algorithm}
is the signature algorithm of the authenticating gateway.
RS256
{base64_url_percent_encoded_signature}
is the binary of the generated signature encoded in Base64 URL-safe format,
{unix_epoch_in_milliseconds}
is the UNIX epoch time in milliseconds
Below is an example of an Authorization header for the sample application. Make sure you list the parameters in the sequence shown below.
Authorization: PKI_SIGN
app_id="STG2-MYINFO-SELF-TEST",
nonce="150590021034800",
signature_method="RS256",
signature="EEm+HEcNQajb5FkVd82zjojk+daYZXxSGPCOR2GHZeoyjZY1PK+aFMzHfWu7eJZYMa5WaEwWxdOdq5hjNbl8kHD7bMaOks7FgEPdjE++TNomfv7SMktDnIvZmPYAxhjb/C9POU2KT6tSlZT/Si/qMgD1cryaPwSeMoM59UZa1GzYmqlkveba7rma58uGwb3wZFH0n57UnouR6LYXDOOLkqi8uMZBuvRUvSJRXETAj2N0hT+4QJiN96Ct6IEQh/woZh0o74K5Ol9PpDSM08qC7Lj6N/k694J+hbBQVVviGn7/6mDkfbwdMDuoKs4t7NpqmAnwT+xaQSIZcexfrAVQYA==",
timestamp="1505900210349"
NodeJS
// generates the security headers for calling API gateway
function generateAuthorizationHeader(url, params, method, strContentType, authType, appId, keyCertContent, passphrase) {
if (authType == "L2") {
return generateRS256Header(url, params, method, strContentType, appId, keyCertContent, passphrase);
} else {
return "";
}
};
// Signing Your Requests
function generateRS256Header(url, params, method, strContentType, appId, keyCertContent, keyCertPassphrase) {
var nonceValue = nonce();
var timestamp = (new Date).getTime();
// A) Construct the Authorisation Token Parameters
var defaultAuthHeaders = {
"app_id": appId, // App ID assigned to your application
"nonce": nonceValue, // secure random number
"signature_method": "RS256",
"timestamp": timestamp // Unix epoch time
};
// B) Forming the Base String
// Base String is a representation of the entire request (ensures message integrity)
// i) Normalize request parameters
var baseParams = sortJSON(_.merge(defaultAuthHeaders, params));
var baseParamsStr = qs.stringify(baseParams);
baseParamsStr = qs.unescape(baseParamsStr); // url safe
// ii) concatenate request elements (HTTP method + url + base string parameters)
var baseString = method.toUpperCase() + "&" + url + "&" + baseParamsStr;
// C) Signing Base String to get Digital Signature
var signWith = {
key: fs.readFileSync(keyCertContent, 'utf8')
}; // Provides private key
// Load pem file containing the x509 cert & private key & sign the base string with it to produce the Digital Signature
var signature = crypto.createSign('RSA-SHA256')
.update(baseString)
.sign(signWith, 'base64');
// D) Assembling the Authorization Header
var strAuthHeader = "PKI_SIGN app_id=\"" + appId + // Defaults to 1st part of incoming request hostname
"\",nonce=\"" + nonceValue +
"\",signature_method=\"RS256\"" +
",signature=\"" + signature +
"\",timestamp=\"" + timestamp +
"\"";
return strAuthHeader;
};
NOTE: Entity APIs in Test and Production environments only
The response payload for the Entity API (for test and production environments) is first signed, then encrypted:
Encryption protects the data at rest while a signed payload means, if necessary, you will be able to pass this signed payload to a 3rd party where they can verify the payload's integrity with our public certificate.
In order to read the payload, you have to perform the following steps in order:
After doing the above steps, your application will be able to extract the payload in JSON format.
NodeJS
// Sample Code for decrypting JWE
// Decrypt JWE using private key
function decryptJWE(header, encryptedKey, iv, cipherText, tag, privateKey) {
return new Promise((resolve, reject) => {
var keystore = jose.JWK.createKeyStore();
var data = {
"type": "compact",
"ciphertext": cipherText,
"protected": header,
"encrypted_key": encryptedKey,
"tag": tag,
"iv": iv,
"header": JSON.parse(jose.util.base64url.decode(header).toString())
};
keystore.add(fs.readFileSync(privateKey, 'utf8'), "pem")
.then(function(jweKey) {
// {result} is a jose.JWK.Key
jose.JWE.createDecrypt(jweKey)
.decrypt(data)
.then(function(result) {
resolve(JSON.parse(result.payload.toString()));
})
.catch(function(error) {
reject(error);
});
});
})
.catch (error => {
throw "Error with decrypting JWE";
})
}
The decrypted payload is signed according to JWS (JSON Web Signature) format, similar to the access token.
RS256
.NodeJS
// Sample Code for Verifying & Decoding JWS or JWT
function verifyJWS(jws, publicCert) {
// verify payload
// ignore notbefore check because it gives errors sometimes if the call is too fast.
try {
var decoded = jwt.verify(jws, fs.readFileSync(publicCert, 'utf8'), {
algorithms: ['RS256'],
ignoreNotBefore: true
});
return decoded;
}
catch(error) {
throw("Error with verifying and decoding JWS");
}
}
EDH Entity data follows a specific structure that you need to understand to traverse the data effectively. This section will explain the structure in detail.
The diagram below illustrates how the data is represented logically:
Data Items are attributes that can be requested in the API. Each top-level data item can either be a data item object or an array of data item objects. Each data item object will consist of the following properties:
source
(see below)unavailable
(in certain situations - see below) The source
property indicates the source of data. Possible values are:
In each data item, there can be multiple data properties or arrays of data properties.
Each data property will contain either:
value
property, orcode
and desc
properties, orNote:
value
property can be strings, numbers, or dates.code
and desc
pairs will contain the code and its matching description.value
is mutually exclusive from (code
+ desc
); i.e. if there is a value
, there will not be any code
or desc
.code
, there will always be a desc
- no value
will be present.Exceptions: For these cases, the values will be directly in the property and not in a value
, code
or desc
subproperty:
source
and unavailable
type
in address formatsSometimes, a requested data item or data property is not applicable to the entity. Examples include:
BN
) will never have a shareholders
data item.BN
) will never have a declarations
data item.LC
) will never have commencment-date
data property.For a full list, refer to the descriptions in each of the data properties of the entity data model.
When a requested data item is not applicable to the entity:
source
property will be 3In such cases, please ignore the data item completely.
Check out the different Entity schemas for each type by selecting the different entitype
discriminator in the specifications. E.g. if you choose "BN" (Business) entity type, you will see that shareholders
schema is an empty array.
entitytype
discriminator which helps to specify the data properties applicable to each entity type.The RESTful API(s) uses HTTP specification standard status codes to indicate the success or failure of each request. Except gateway errors, the response content will be in the following JSON format:
{
"code": "integer (int32)",
"message": "string"
}
Refer to the individual API definitions for the error codes you might encounter for each API.
Please refer to the links below for the following supporting materials where relevant:
For queries, please submit a request at partnersupport.corppass.gov.sg
This API returns entity data from EDH.
Note: Null value indicates that an attribute is unavailable.
uen required | string <= 40 characters Example: T15LP0010D Required URL path parameter of the entity's unique entity number (UEN). |
txnNo | string Transaction ID from requesting digital services for cross referencing. |
attributes required | Array of strings Example: attributes=basic-profile, previous-names, previous-uens, financials, shareholders Comma separated list of attributes requested. Possible attributes are:
|
client_id required | string Example: client_id=STG-180099999K-TEST01 Unique ID for your application. |
Authorization required | string Add authorization token constructed containing the RSA digital signature of the base string. Refer to Security > Request Signing on how this token should be generated. Note: Not required when calling Sandbox API. |
// function to prepare request for Entity API function createEntityRequest(uen) { var url = _entityApiUrl + "/" + uen + "/"; var cacheCtl = "no-cache"; var method = "GET"; var request = null; // assemble params for Entity API var strParams = "client_id=" + _clientId + "&attributes=" + _attributes; var params = querystring.parse(strParams); // assemble headers for Entity API var strHeaders = "Cache-Control=" + cacheCtl; var headers = querystring.parse(strHeaders); var authHeaders; // Sign request and add Authorization Headers authHeaders = generateAuthorizationHeader( url, params, method, "", // no content type needed for GET _authLevel, _clientId, _privateKeyContent ); if (!_.isEmpty(authHeaders)) { _.set(headers, "Authorization", authHeaders); } // invoke token API var request = restClient.get(url); // Set headers if (!_.isUndefined(headers) && !_.isEmpty(headers)) request.set(headers); // Set Params if (!_.isUndefined(params) && !_.isEmpty(params)) request.query(params); return request; }
{- "grants": [
- {
- "functional-area": {
- "code": "CTE",
- "desc": "Customer Experience"
}, - "sub-functional-area": {
- "code": "EBP",
- "desc": "Enhancing Business Processes for Productivity"
}, - "agency": {
- "code": "ESG",
- "desc": "ENTERPRISE SINGAPORE"
}, - "submitted-on-date": {
- "value": "2018-01-31"
}, - "last-updated-date": {
- "value": "2018-06-30"
}, - "approved-amount": {
- "value": 10000
}, - "source": 1,
- "type": {
- "code": "CDG",
- "desc": "Capability Development Grant"
}, - "sector": {
- "code": "IT",
- "desc": "IT"
}, - "application-id": {
- "value": "1654TYCS"
}, - "development-category": {
- "code": "CDG",
- "desc": "Capability Development Grant"
}, - "status": {
- "code": "10",
- "desc": "approved"
}
}
], - "financials": [ ],
- "addresses": [
- {
- "country": {
- "code": "SG",
- "desc": "Singapore"
}, - "unit": {
- "value": "01"
}, - "purpose": {
- "value": "registered"
}, - "street": {
- "value": "Pasir Panjang Road"
}, - "addresstype": "SG",
- "block": {
- "value": "10"
}, - "postal": {
- "value": "117438"
}, - "source": 1,
- "address-change-date": {
- "value": "2018-01-31"
}, - "floor": {
- "value": "10"
}, - "building": {
- "value": "Mapletree Business City"
}
}, - {
- "country": {
- "code": "SG",
- "desc": "Singapore"
}, - "unit": {
- "value": "01"
}, - "purpose": {
- "value": "correspondence"
}, - "street": {
- "value": "Pasir Panjang Road"
}, - "addresstype": "SG",
- "block": {
- "value": "10"
}, - "postal": {
- "value": "117438"
}, - "source": 1,
- "address-change-date": {
- "value": "2018-01-31"
}, - "floor": {
- "value": "10"
}, - "building": {
- "value": "Mapletree Business City"
}
}, - {
- "country": {
- "code": "SG",
- "desc": "Singapore"
}, - "unit": {
- "value": "01"
}, - "purpose": {
- "value": "operating"
}, - "street": {
- "value": "Pasir Panjang Road"
}, - "addresstype": "SG",
- "block": {
- "value": "10"
}, - "postal": {
- "value": "117438"
}, - "source": 1,
- "address-change-date": {
- "value": "2018-01-31"
}, - "floor": {
- "value": "10"
}, - "building": {
- "value": "Mapletree Business City"
}
}, - {
- "country": {
- "code": "SG",
- "desc": "Singapore"
}, - "unit": {
- "value": "02"
}, - "purpose": {
- "value": "operating"
}, - "street": {
- "value": "Pasir Panjang Road"
}, - "addresstype": "SG",
- "block": {
- "value": "10"
}, - "postal": {
- "value": "117438"
}, - "source": 1,
- "address-change-date": {
- "value": "2018-01-31"
}, - "floor": {
- "value": "10"
}, - "building": {
- "value": "Mapletree Business City"
}
}
], - "appointments": [
- {
- "appointed-entity": {
- "name": {
- "value": "DEF Company"
}, - "type": {
- "code": "LC",
- "desc": "Local Company"
}, - "uen": {
- "value": "201800002B"
}
}, - "withdrawal-date": {
- "value": "2018-12-31"
}, - "reinstate-indicator": {
- "value": "N"
}, - "estate-indicator": {
- "value": "N"
}, - "appointed-date": {
- "value": "2018-01-31"
}, - "position": {
- "code": "BN-1",
- "desc": "OWNER"
}, - "source": 1,
- "category": {
- "code": "2",
- "desc": "Local Company"
}, - "disqualification-reason-subsection": {
- "code": "1-D1",
- "desc": "SECTION 148(1) CA"
}, - "withdrawal-reason": {
- "code": "01",
- "desc": "DISQUALIFICATION UNDER SECTION 149 - COURT ORDER"
}, - "death-indicator": {
- "value": "N"
}, - "disqualification-reason": {
- "code": "BANKRUPTCY",
- "desc": "DISQUALIFICATION DUE TO BANKRUPTCY"
}
}, - {
- "estate-indicator": {
- "value": "N"
}, - "appointed-date": {
- "value": "2018-01-31"
}, - "position": {
- "code": "BN-1",
- "desc": "OWNER"
}, - "source": 1,
- "category": {
- "code": "1",
- "desc": "Individual"
}, - "appointed-person": {
- "name": {
- "value": "Tim Tom"
}, - "addresses": [
- {
- "country": {
- "code": "SG",
- "desc": "Singapore"
}, - "unit": {
- "value": "01"
}, - "purpose": {
- "value": "person"
}, - "street": {
- "value": "Pasir Panjang Road"
}, - "addresstype": "SG",
- "block": {
- "value": "10"
}, - "postal": {
- "value": "117438"
}, - "source": 1,
- "address-change-date": {
- "value": "2018-01-31"
}, - "floor": {
- "value": "10"
}, - "building": {
- "value": "Mapletree Business City"
}
}
], - "nationality": {
- "code": "SG",
- "desc": "SINGAPORE CITIZEN"
}, - "id-no": {
- "value": "S9876543A"
}, - "id-type": {
- "code": "1",
- "desc": "NRIC (CITIZEN)"
}
}
}
], - "builders": [
- {
- "license-expiry-date": {
- "value": "2020-12-31"
}, - "source": 1,
- "license-code": {
- "value": "GB1"
}, - "bls-application": {
- "value": "A"
}, - "company-additional-information": {
- "value": "new company additional information"
}, - "license-description": {
- "value": "General Builder Class 1"
}
}
], - "basic-profile": {
- "activity-eff-date": {
- "value": "2018-01-01"
}, - "entity-type": {
- "code": "BN",
- "desc": "Business"
}, - "entity-status": {
- "value": "LIVE",
- "code": "BN-0",
- "desc": "Live"
}, - "constitution": {
- "value": "Sole-Proprietor",
- "code": "S"
}, - "entity-long-name": {
- "value": "ABC Business"
}, - "entity-status-eff-date": {
- "value": "2018-01-31"
}, - "primary-activity": {
- "code": "10613",
- "desc": "Provision of milling services"
}, - "registration-date": {
- "value": "2018-01-31"
}, - "renewal": {
- "number-of-years": {
- "value": "5"
}, - "renewal-date": {
- "value": "2018-06-01"
}, - "renewal-mode": {
- "code": "1",
- "desc": "Renewal via GIRO"
}, - "transaction-number": {
- "value": "B180000001"
}
}, - "filing-agent": {
- "fa-id-number": {
- "value": "FA20182546"
}, - "deregistration-date": {
- "value": "2018-12-31"
}, - "status-effective-date": {
- "value": "2018-01-31"
}, - "registration-date": {
- "value": "2018-01-31"
}, - "expiry-date": {
- "value": "2018-12-31"
}, - "status": {
- "code": "1",
- "desc": "REGISTERED"
}
}, - "source": 1,
- "secondary-activity": {
- "code": "16293",
- "desc": "Manufacture of wooden containers"
}, - "created-date": {
- "value": "2018-01-31"
}, - "entity-name": {
- "value": "ABC Business"
}, - "expiry-date": {
- "value": "2023-01-31"
}, - "constitution-date": {
- "value": "2018-01-31"
}, - "person-particulars-change-date": {
- "value": "2018-01-31"
}, - "primary-activity-add-desc": {
- "value": "Financial consulting services"
}, - "commencement-date": {
- "value": "2018-01-31"
}, - "uen-status": {
- "code": "R",
- "desc": "Registered"
}, - "issuance-agency": {
- "code": "ACRA",
- "desc": "ACCOUNTING AND CORPORATE REGULATORY AUTHORITY"
}, - "secondary-activity-add-desc": {
- "value": "Financial consulting services"
}, - "uen": {
- "value": "12345678A"
}, - "name-eff-date": {
- "value": "2018-01-31"
}
}, - "shareholders": [ ],
- "capitals": [ ],
- "history": {
- "court-leaves": [
- {
- "order-date": {
- "value": "2018-01-31"
}, - "end-date": {
- "value": "2018-12-31"
}, - "record-sequence-number": {
- "value": "CL18000001"
}, - "defaulter": {
- "name": {
- "value": "Tim Tom"
}, - "nationality": {
- "code": "SG",
- "desc": "SINGAPORE CITIZEN"
}, - "id-no": {
- "value": "S9876543A"
}, - "id-type": {
- "code": "1",
- "desc": "NRIC (CITIZEN)"
}
}, - "section": {
- "code": "S148(1)",
- "desc": "Section 148(1) CA"
}, - "start-date": {
- "value": "2018-04-15"
}, - "delete-indicator": {
- "value": "N"
}, - "order-number": {
- "value": "2018B0001"
}, - "transaction-number": {
- "value": "C180000001"
}, - "permit-type": {
- "code": "COURTORDER",
- "desc": "Disqualification due to court order"
}
}, - {
- "order-date": {
- "value": "2017-01-31"
}, - "end-date": {
- "value": "2017-12-31"
}, - "record-sequence-number": {
- "value": "CL17000001"
}, - "defaulter": {
- "name": {
- "value": "Tim Tom"
}, - "nationality": {
- "code": "SG",
- "desc": "SINGAPORE CITIZEN"
}, - "id-no": {
- "value": "S9876543A"
}, - "id-type": {
- "code": "1",
- "desc": "NRIC (CITIZEN)"
}
}, - "section": {
- "code": "S148(1)",
- "desc": "Section 148(1) CA"
}, - "start-date": {
- "value": "2017-04-15"
}, - "delete-indicator": {
- "value": "N"
}, - "order-number": {
- "value": "2017B0001"
}, - "transaction-number": {
- "value": "C170000001"
}, - "permit-type": {
- "code": "COURTORDER",
- "desc": "Disqualification due to court order"
}
}
], - "previous-names": [
- {
- "history-name": {
- "value": "XYZ Company"
}, - "history-name-effective-date": {
- "value": "2018-04-17"
}
}, - {
- "history-name": {
- "value": "UVW Company"
}, - "history-name-effective-date": {
- "value": "2017-04-17"
}
}
], - "source": 1
}, - "declarations": {
- "source": 3
}, - "contractors": [
- {
- "tendering-limit": {
- "value": 1000000
}, - "crs-application-type": {
- "value": "A"
}, - "financial-grade": {
- "value": "Single Grade"
}, - "license-expiry-date": {
- "value": "2020-12-31"
}, - "source": 1,
- "workhead-description": {
- "value": "Minor Construction Works"
}, - "workhead-code": {
- "value": "CR01"
}
}
], - "charges": [ ],
- "corppass": [
- {
- "corppass-user": {
- "name": {
- "value": "Tim Tom"
}, - "id-no": {
- "value": "S9876543A"
}, - "id-type": {
- "code": "T01",
- "desc": "NRIC"
}
}, - "cpid": {
- "value": "CP0001"
}, - "account-type": {
- "code": "A01",
- "desc": "Admin"
}, - "mobile": {
- "value": "98765432"
}, - "updated-date": {
- "value": "2018-06-30"
}, - "source": 1,
- "created-date": {
- "value": "2018-01-31"
}, - "email": {
- "value": "timtom@abc.com"
}, - "status": {
- "value": "ACTIVE"
}
}, - {
- "corppass-user": {
- "name": {
- "value": "Tim Tom"
}, - "id-no": {
- "value": "F9990954N"
}, - "id-type": {
- "code": "T02",
- "desc": "FIN"
}
}, - "cpid": {
- "value": "CP0005"
}, - "account-type": {
- "code": "A01",
- "desc": "Admin"
}, - "mobile": {
- "value": "98765432"
}, - "updated-date": {
- "value": "2018-06-30"
}, - "source": 1,
- "created-date": {
- "value": "2018-01-31"
}, - "email": {
- "value": "timtom@abc.com"
}, - "status": {
- "value": "ACTIVE"
}
}
], - "entitytype": "BN",
- "licences": [
- {
- "number": {
- "value": "18SG000001CM"
}, - "issue-date": {
- "value": "2018-01-31"
}, - "address": {
- "country": {
- "code": "SG",
- "desc": "Singapore"
}, - "unit": {
- "value": "01"
}, - "purpose": {
- "value": "operating"
}, - "street": {
- "value": "Pasir Panjang Road"
}, - "addresstype": "SG",
- "block": {
- "value": "10"
}, - "postal": {
- "value": "117438"
}, - "source": 1,
- "address-change-date": {
- "value": "2018-01-31"
}, - "floor": {
- "value": "10"
}, - "building": {
- "value": "Mapletree Business City"
}
}, - "licensee": {
- "name": {
- "value": "Tim Tom"
}, - "nationality": {
- "code": "SG",
- "desc": "SINGAPORE CITIZEN"
}, - "id-no": {
- "value": "S9876543A"
}, - "id-type": {
- "code": "1",
- "desc": "NRIC (CITIZEN)"
}
}, - "expiry-date": {
- "value": "2020-12-31"
}, - "name": {
- "value": "CITES PERMIT"
}, - "id": {
- "value": 30
}, - "source": 1,
- "issuance-agency": {
- "code": "ESG",
- "desc": "ENTERPRISE SINGAPORE"
}, - "renewal-indicator": {
- "value": "N"
}, - "status": {
- "code": "ACT",
- "desc": "Active"
}
}
]
}
This API returns entity data from EDH.
Note: Null value indicates that an attribute is unavailable.
uen required | string <= 40 characters Example: T15LP0010D Required URL path parameter of the entity's unique entity number (UEN). |
attributes required | Array of strings Example: attributes=basic-profile, previous-names, previous-uens, financials, shareholders Comma separated list of attributes requested. Possible attributes are:
|
{- "grants": [
- {
- "functional-area": {
- "code": "CTE",
- "desc": "Customer Experience"
}, - "sub-functional-area": {
- "code": "EBP",
- "desc": "Enhancing Business Processes for Productivity"
}, - "agency": {
- "code": "ESG",
- "desc": "ENTERPRISE SINGAPORE"
}, - "submitted-on-date": {
- "value": "2018-01-31"
}, - "last-updated-date": {
- "value": "2018-06-30"
}, - "approved-amount": {
- "value": 10000
}, - "source": 1,
- "type": {
- "code": "CDG",
- "desc": "Capability Development Grant"
}, - "sector": {
- "code": "IT",
- "desc": "IT"
}, - "application-id": {
- "value": "1654TYCS"
}, - "development-category": {
- "code": "CDG",
- "desc": "Capability Development Grant"
}, - "status": {
- "code": "10",
- "desc": "approved"
}
}
], - "financials": [ ],
- "addresses": [
- {
- "country": {
- "code": "SG",
- "desc": "Singapore"
}, - "unit": {
- "value": "01"
}, - "purpose": {
- "value": "registered"
}, - "street": {
- "value": "Pasir Panjang Road"
}, - "addresstype": "SG",
- "block": {
- "value": "10"
}, - "postal": {
- "value": "117438"
}, - "source": 1,
- "address-change-date": {
- "value": "2018-01-31"
}, - "floor": {
- "value": "10"
}, - "building": {
- "value": "Mapletree Business City"
}
}, - {
- "country": {
- "code": "SG",
- "desc": "Singapore"
}, - "unit": {
- "value": "01"
}, - "purpose": {
- "value": "correspondence"
}, - "street": {
- "value": "Pasir Panjang Road"
}, - "addresstype": "SG",
- "block": {
- "value": "10"
}, - "postal": {
- "value": "117438"
}, - "source": 1,
- "address-change-date": {
- "value": "2018-01-31"
}, - "floor": {
- "value": "10"
}, - "building": {
- "value": "Mapletree Business City"
}
}, - {
- "country": {
- "code": "SG",
- "desc": "Singapore"
}, - "unit": {
- "value": "01"
}, - "purpose": {
- "value": "operating"
}, - "street": {
- "value": "Pasir Panjang Road"
}, - "addresstype": "SG",
- "block": {
- "value": "10"
}, - "postal": {
- "value": "117438"
}, - "source": 1,
- "address-change-date": {
- "value": "2018-01-31"
}, - "floor": {
- "value": "10"
}, - "building": {
- "value": "Mapletree Business City"
}
}, - {
- "country": {
- "code": "SG",
- "desc": "Singapore"
}, - "unit": {
- "value": "02"
}, - "purpose": {
- "value": "operating"
}, - "street": {
- "value": "Pasir Panjang Road"
}, - "addresstype": "SG",
- "block": {
- "value": "10"
}, - "postal": {
- "value": "117438"
}, - "source": 1,
- "address-change-date": {
- "value": "2018-01-31"
}, - "floor": {
- "value": "10"
}, - "building": {
- "value": "Mapletree Business City"
}
}
], - "appointments": [
- {
- "appointed-entity": {
- "name": {
- "value": "DEF Company"
}, - "type": {
- "code": "LC",
- "desc": "Local Company"
}, - "uen": {
- "value": "201800002B"
}
}, - "withdrawal-date": {
- "value": "2018-12-31"
}, - "reinstate-indicator": {
- "value": "N"
}, - "estate-indicator": {
- "value": "N"
}, - "appointed-date": {
- "value": "2018-01-31"
}, - "position": {
- "code": "BN-1",
- "desc": "OWNER"
}, - "source": 1,
- "category": {
- "code": "2",
- "desc": "Local Company"
}, - "disqualification-reason-subsection": {
- "code": "1-D1",
- "desc": "SECTION 148(1) CA"
}, - "withdrawal-reason": {
- "code": "01",
- "desc": "DISQUALIFICATION UNDER SECTION 149 - COURT ORDER"
}, - "death-indicator": {
- "value": "N"
}, - "disqualification-reason": {
- "code": "BANKRUPTCY",
- "desc": "DISQUALIFICATION DUE TO BANKRUPTCY"
}
}, - {
- "estate-indicator": {
- "value": "N"
}, - "appointed-date": {
- "value": "2018-01-31"
}, - "position": {
- "code": "BN-1",
- "desc": "OWNER"
}, - "source": 1,
- "category": {
- "code": "1",
- "desc": "Individual"
}, - "appointed-person": {
- "name": {
- "value": "Tim Tom"
}, - "addresses": [
- {
- "country": {
- "code": "SG",
- "desc": "Singapore"
}, - "unit": {
- "value": "01"
}, - "purpose": {
- "value": "person"
}, - "street": {
- "value": "Pasir Panjang Road"
}, - "addresstype": "SG",
- "block": {
- "value": "10"
}, - "postal": {
- "value": "117438"
}, - "source": 1,
- "address-change-date": {
- "value": "2018-01-31"
}, - "floor": {
- "value": "10"
}, - "building": {
- "value": "Mapletree Business City"
}
}
], - "nationality": {
- "code": "SG",
- "desc": "SINGAPORE CITIZEN"
}, - "id-no": {
- "value": "S9876543A"
}, - "id-type": {
- "code": "1",
- "desc": "NRIC (CITIZEN)"
}
}
}
], - "builders": [
- {
- "license-expiry-date": {
- "value": "2020-12-31"
}, - "source": 1,
- "license-code": {
- "value": "GB1"
}, - "bls-application": {
- "value": "A"
}, - "company-additional-information": {
- "value": "new company additional information"
}, - "license-description": {
- "value": "General Builder Class 1"
}
}
], - "basic-profile": {
- "activity-eff-date": {
- "value": "2018-01-01"
}, - "entity-type": {
- "code": "BN",
- "desc": "Business"
}, - "entity-status": {
- "value": "LIVE",
- "code": "BN-0",
- "desc": "Live"
}, - "constitution": {
- "value": "Sole-Proprietor",
- "code": "S"
}, - "entity-long-name": {
- "value": "ABC Business"
}, - "entity-status-eff-date": {
- "value": "2018-01-31"
}, - "primary-activity": {
- "code": "10613",
- "desc": "Provision of milling services"
}, - "registration-date": {
- "value": "2018-01-31"
}, - "renewal": {
- "number-of-years": {
- "value": "5"
}, - "renewal-date": {
- "value": "2018-06-01"
}, - "renewal-mode": {
- "code": "1",
- "desc": "Renewal via GIRO"
}, - "transaction-number": {
- "value": "B180000001"
}
}, - "filing-agent": {
- "fa-id-number": {
- "value": "FA20182546"
}, - "deregistration-date": {
- "value": "2018-12-31"
}, - "status-effective-date": {
- "value": "2018-01-31"
}, - "registration-date": {
- "value": "2018-01-31"
}, - "expiry-date": {
- "value": "2018-12-31"
}, - "status": {
- "code": "1",
- "desc": "REGISTERED"
}
}, - "source": 1,
- "secondary-activity": {
- "code": "16293",
- "desc": "Manufacture of wooden containers"
}, - "created-date": {
- "value": "2018-01-31"
}, - "entity-name": {
- "value": "ABC Business"
}, - "expiry-date": {
- "value": "2023-01-31"
}, - "constitution-date": {
- "value": "2018-01-31"
}, - "person-particulars-change-date": {
- "value": "2018-01-31"
}, - "primary-activity-add-desc": {
- "value": "Financial consulting services"
}, - "commencement-date": {
- "value": "2018-01-31"
}, - "uen-status": {
- "code": "R",
- "desc": "Registered"
}, - "issuance-agency": {
- "code": "ACRA",
- "desc": "ACCOUNTING AND CORPORATE REGULATORY AUTHORITY"
}, - "secondary-activity-add-desc": {
- "value": "Financial consulting services"
}, - "uen": {
- "value": "12345678A"
}, - "name-eff-date": {
- "value": "2018-01-31"
}
}, - "shareholders": [ ],
- "capitals": [ ],
- "history": {
- "court-leaves": [
- {
- "order-date": {
- "value": "2018-01-31"
}, - "end-date": {
- "value": "2018-12-31"
}, - "record-sequence-number": {
- "value": "CL18000001"
}, - "defaulter": {
- "name": {
- "value": "Tim Tom"
}, - "nationality": {
- "code": "SG",
- "desc": "SINGAPORE CITIZEN"
}, - "id-no": {
- "value": "S9876543A"
}, - "id-type": {
- "code": "1",
- "desc": "NRIC (CITIZEN)"
}
}, - "section": {
- "code": "S148(1)",
- "desc": "Section 148(1) CA"
}, - "start-date": {
- "value": "2018-04-15"
}, - "delete-indicator": {
- "value": "N"
}, - "order-number": {
- "value": "2018B0001"
}, - "transaction-number": {
- "value": "C180000001"
}, - "permit-type": {
- "code": "COURTORDER",
- "desc": "Disqualification due to court order"
}
}, - {
- "order-date": {
- "value": "2017-01-31"
}, - "end-date": {
- "value": "2017-12-31"
}, - "record-sequence-number": {
- "value": "CL17000001"
}, - "defaulter": {
- "name": {
- "value": "Tim Tom"
}, - "nationality": {
- "code": "SG",
- "desc": "SINGAPORE CITIZEN"
}, - "id-no": {
- "value": "S9876543A"
}, - "id-type": {
- "code": "1",
- "desc": "NRIC (CITIZEN)"
}
}, - "section": {
- "code": "S148(1)",
- "desc": "Section 148(1) CA"
}, - "start-date": {
- "value": "2017-04-15"
}, - "delete-indicator": {
- "value": "N"
}, - "order-number": {
- "value": "2017B0001"
}, - "transaction-number": {
- "value": "C170000001"
}, - "permit-type": {
- "code": "COURTORDER",
- "desc": "Disqualification due to court order"
}
}
], - "previous-names": [
- {
- "history-name": {
- "value": "XYZ Company"
}, - "history-name-effective-date": {
- "value": "2018-04-17"
}
}, - {
- "history-name": {
- "value": "UVW Company"
}, - "history-name-effective-date": {
- "value": "2017-04-17"
}
}
], - "source": 1
}, - "declarations": {
- "source": 3
}, - "contractors": [
- {
- "tendering-limit": {
- "value": 1000000
}, - "crs-application-type": {
- "value": "A"
}, - "financial-grade": {
- "value": "Single Grade"
}, - "license-expiry-date": {
- "value": "2020-12-31"
}, - "source": 1,
- "workhead-description": {
- "value": "Minor Construction Works"
}, - "workhead-code": {
- "value": "CR01"
}
}
], - "charges": [ ],
- "corppass": [
- {
- "corppass-user": {
- "name": {
- "value": "Tim Tom"
}, - "id-no": {
- "value": "S9876543A"
}, - "id-type": {
- "code": "T01",
- "desc": "NRIC"
}
}, - "cpid": {
- "value": "CP0001"
}, - "account-type": {
- "code": "A01",
- "desc": "Admin"
}, - "mobile": {
- "value": "98765432"
}, - "updated-date": {
- "value": "2018-06-30"
}, - "source": 1,
- "created-date": {
- "value": "2018-01-31"
}, - "email": {
- "value": "timtom@abc.com"
}, - "status": {
- "value": "ACTIVE"
}
}, - {
- "corppass-user": {
- "name": {
- "value": "Tim Tom"
}, - "id-no": {
- "value": "F9990954N"
}, - "id-type": {
- "code": "T02",
- "desc": "FIN"
}
}, - "cpid": {
- "value": "CP0005"
}, - "account-type": {
- "code": "A01",
- "desc": "Admin"
}, - "mobile": {
- "value": "98765432"
}, - "updated-date": {
- "value": "2018-06-30"
}, - "source": 1,
- "created-date": {
- "value": "2018-01-31"
}, - "email": {
- "value": "timtom@abc.com"
}, - "status": {
- "value": "ACTIVE"
}
}
], - "entitytype": "BN",
- "licences": [
- {
- "number": {
- "value": "18SG000001CM"
}, - "issue-date": {
- "value": "2018-01-31"
}, - "address": {
- "country": {
- "code": "SG",
- "desc": "Singapore"
}, - "unit": {
- "value": "01"
}, - "purpose": {
- "value": "operating"
}, - "street": {
- "value": "Pasir Panjang Road"
}, - "addresstype": "SG",
- "block": {
- "value": "10"
}, - "postal": {
- "value": "117438"
}, - "source": 1,
- "address-change-date": {
- "value": "2018-01-31"
}, - "floor": {
- "value": "10"
}, - "building": {
- "value": "Mapletree Business City"
}
}, - "licensee": {
- "name": {
- "value": "Tim Tom"
}, - "nationality": {
- "code": "SG",
- "desc": "SINGAPORE CITIZEN"
}, - "id-no": {
- "value": "S9876543A"
}, - "id-type": {
- "code": "1",
- "desc": "NRIC (CITIZEN)"
}
}, - "expiry-date": {
- "value": "2020-12-31"
}, - "name": {
- "value": "CITES PERMIT"
}, - "id": {
- "value": 30
}, - "source": 1,
- "issuance-agency": {
- "code": "ESG",
- "desc": "ENTERPRISE SINGAPORE"
}, - "renewal-indicator": {
- "value": "N"
}, - "status": {
- "code": "ACT",
- "desc": "Active"
}
}
]
}