← Home Get Specialities

Get Specialities

GEThttps://api.bayut.com/v1/specialities

This endpoint lists all available user specialities.

🔐 Bearer Token: Provide your bearer token in the Authorization header when making requests to protected resources.
Query Parameters
NameTypeRequiredDescriptionExample
titlestringOptionalThe title filter, specialiti(es) with matching title would be returned.
per_pagestringOptionalThe number of results per page.
Response Schema
NameTypeRequiredDescriptionExample
dataobjectOptionalThe resource representing a speciality within the system.
idintegerOptionalThe unique identifier for the speciality.1
linksobjectOptionalThe links to pages.
firststringOptionalThe link to first page.
laststringOptionalThe link to last page.
prevstringOptionalThe link to previous page.
nextstringOptionalThe link to next page.
metaobjectOptionalMeta about pagination data.
current_pageintegerOptionalThe page you are currently on.
fromintegerOptionalThe first page of the paginated results.
pathstringOptionalThe path of the current page.
tointegerOptionalThe last page of the paginated results.
totalintegerOptionalThe total number of results.
Responses
200
401⚠️
403⚠️
Code Examples
curl --location 'https://api.bayut.com/v1/specialities?title=undefined&per_page=undefined' \
--header 'Authorization: Bearer <token>'
{
    "data": [
        {
            "id": 1,
            "title": {
                "en": "Residential Sales",
                "ar": "بيع العقارات السكنية"
            }
        },
        {
            "id": 2,
            "title": {
                "en": "Residential Leasing",
                "ar": "تأجير العقارات السكنية"
            }
        },
        {
            "id": 3,
            "title": {
                "en": "Commercial Sales",
                "ar": "بيع العقارات التجارية"
            }
        },
        {
            "id": 4,
            "title": {
                "en": "Commercial Leasing",
                "ar": "تأجير العقارات التجارية"
            }
        },
        {
            "id": 5,
            "title": {
                "en": "Off-Plan Sales",
                "ar": "البيع على الخارطة"
            }
        }
    ]
}