Get project details
const url = 'https://agent-dev.azizdubai.com/projects/1';const options = {method: 'GET', headers: {'X-API-Key': '<X-API-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://agent-dev.azizdubai.com/projects/1 \ --header 'X-API-Key: <X-API-Key>'Returns the location, cost, payment plan, media, units, nearby amenities and developer-selected features/amenities of a project in a single response.
The amenities block is filtered by AMENITIEST_RADIUS: when the
variable is set, only facilities closer than that distance are
returned.
A draft (is_draft) or deleted project returns 404, in the same way
as a non-existent ID.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Project ID.
Responses
Section titled “Responses”The project.
object
The shape depends on the operation.
object
Property type
Always false — drafts are never returned.
Service charge per ft².
object
1 — down payment, 2 — during construction, 3 — on completion.
object
Links to tours and presentations, as strings rather than files.
A unit within the project response.
object
0 — studio.
In the key’s prices.
Area in m².
Eight categories of nearby facilities (points of interest around the
project). Not to be confused with the preferences block, which
contains the features and amenities of the project itself.
object
object
Distance from the project to the facility, in metres; calculated at import time.
A nearby facility from its category’s master table. Only the fields
below are common to all categories; the remaining 30–50 fields mirror
the columns of the category’s source dataset and differ between
categories — for example, curriculum and khda_rating for schools,
specialty_type and emergency_24_7 for clinics, and retail_format
and a set of scoring fields for retail. Coordinate field names also
differ: latitude/longitude for airports and ports,
asset_latitude/asset_longitude for all other categories.
object
Stable identifier of the facility in the source dataset.
object
Distance from the project to the facility, in metres; calculated at import time.
A nearby facility from its category’s master table. Only the fields
below are common to all categories; the remaining 30–50 fields mirror
the columns of the category’s source dataset and differ between
categories — for example, curriculum and khda_rating for schools,
specialty_type and emergency_24_7 for clinics, and retail_format
and a set of scoring fields for retail. Coordinate field names also
differ: latitude/longitude for airports and ports,
asset_latitude/asset_longitude for all other categories.
object
Stable identifier of the facility in the source dataset.
object
Distance from the project to the facility, in metres; calculated at import time.
A nearby facility from its category’s master table. Only the fields
below are common to all categories; the remaining 30–50 fields mirror
the columns of the category’s source dataset and differ between
categories — for example, curriculum and khda_rating for schools,
specialty_type and emergency_24_7 for clinics, and retail_format
and a set of scoring fields for retail. Coordinate field names also
differ: latitude/longitude for airports and ports,
asset_latitude/asset_longitude for all other categories.
object
Stable identifier of the facility in the source dataset.
object
Distance from the project to the facility, in metres; calculated at import time.
A nearby facility from its category’s master table. Only the fields
below are common to all categories; the remaining 30–50 fields mirror
the columns of the category’s source dataset and differ between
categories — for example, curriculum and khda_rating for schools,
specialty_type and emergency_24_7 for clinics, and retail_format
and a set of scoring fields for retail. Coordinate field names also
differ: latitude/longitude for airports and ports,
asset_latitude/asset_longitude for all other categories.
object
Stable identifier of the facility in the source dataset.
object
Distance from the project to the facility, in metres; calculated at import time.
A nearby facility from its category’s master table. Only the fields
below are common to all categories; the remaining 30–50 fields mirror
the columns of the category’s source dataset and differ between
categories — for example, curriculum and khda_rating for schools,
specialty_type and emergency_24_7 for clinics, and retail_format
and a set of scoring fields for retail. Coordinate field names also
differ: latitude/longitude for airports and ports,
asset_latitude/asset_longitude for all other categories.
object
Stable identifier of the facility in the source dataset.
object
Distance from the project to the facility, in metres; calculated at import time.
A nearby facility from its category’s master table. Only the fields
below are common to all categories; the remaining 30–50 fields mirror
the columns of the category’s source dataset and differ between
categories — for example, curriculum and khda_rating for schools,
specialty_type and emergency_24_7 for clinics, and retail_format
and a set of scoring fields for retail. Coordinate field names also
differ: latitude/longitude for airports and ports,
asset_latitude/asset_longitude for all other categories.
object
Stable identifier of the facility in the source dataset.
object
Distance from the project to the facility, in metres; calculated at import time.
A nearby facility from its category’s master table. Only the fields
below are common to all categories; the remaining 30–50 fields mirror
the columns of the category’s source dataset and differ between
categories — for example, curriculum and khda_rating for schools,
specialty_type and emergency_24_7 for clinics, and retail_format
and a set of scoring fields for retail. Coordinate field names also
differ: latitude/longitude for airports and ports,
asset_latitude/asset_longitude for all other categories.
object
Stable identifier of the facility in the source dataset.
object
Distance from the project to the facility, in metres; calculated at import time.
A nearby facility from its category’s master table. Only the fields
below are common to all categories; the remaining 30–50 fields mirror
the columns of the category’s source dataset and differ between
categories — for example, curriculum and khda_rating for schools,
specialty_type and emergency_24_7 for clinics, and retail_format
and a set of scoring fields for retail. Coordinate field names also
differ: latitude/longitude for airports and ports,
asset_latitude/asset_longitude for all other categories.
object
Stable identifier of the facility in the source dataset.
object
object
1 — feature, 2 — amenity.
object
1 — feature, 2 — amenity.
Example
{ "status": "success", "data": { "development_status": 0, "cost": { "currency": "AED", "commission_type": 1 }, "payment_plans": [ { "type": 1 } ], "units": [ { "status": 1, "furnishing": 1 } ], "preferences": { "features": [ { "name": "Infinity Pool", "type": 1 } ], "amenities": [ { "name": "Infinity Pool", "type": 1 } ] } }}A parameter or the request body failed validation.
object
Human-readable message.
Examples
{ "status": "error", "message": "id must be a positive integer"}The key is missing (missing api key) or invalid (invalid api key).
The latter covers unknown, revoked and deleted keys. Every operation
requires a key, so any request without one receives this response.
object
Human-readable message.
Examples
{ "status": "error", "message": "invalid api key"}The key is valid, but it is restricted to a list of domains and the
request’s Origin (or Referer) does not match any of them; or the
key’s agency has no approved licence.
object
Human-readable message.
Examples
{ "status": "error", "message": "origin is not allowed for this api key"}{ "status": "error", "message": "agency license is required: upload a company license and wait for its approval"}No record exists with the given ID — or it belongs to a developer the key’s agency has no approved contract with.
object
Human-readable message.
Examples
{ "status": "error", "message": "unit not found"}An unexpected error. The cause is logged; a generic message is returned.
object
Human-readable message.
Examples
{ "status": "error", "message": "internal server error"}