← Home
Get Consumption Log
Get Consumption Log
Get credit consumption logs with multiple filters applied.
🔐 Bearer Token: Provide your bearer token in the Authorization header when making requests to protected resources.
Query Parameters
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
| portal | string | Optional | Filter by portal (optional): bayut or dubizzle | bayut |
| date_from | string | Optional | Start date (optional, format: YYYY-MM-DD) | 2026-01-01 |
| date_to | string | Optional | End date (optional, format: YYYY-MM-DD) | 2026-01-31 |
| per_page | string | Optional | Number of items per page (optional, max 50) | 20 |
| page | string | Optional | No of the page | 1 |
| property_id | string | Optional | search consumption by property | 8972466 |
| Accept | string | Optional | application/json | |
| Authorization | string | Optional | Bearer {{access_token}} |
Response Schema
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
| data | array[object] | Optional | ||
| amount | integer | Optional | ||
| action | string | Optional | ||
| created_at | string | Optional | ||
| property | object | Optional | ||
| user | object | Optional | ||
| agency | object | Optional | ||
| product | object | Optional | ||
| links | object | Optional | ||
| first | string | Optional | ||
| last | string | Optional | ||
| prev | string | Optional | ||
| next | string | Optional | ||
| meta | object | Optional | ||
| current_page | integer | Optional | ||
| from | integer | Optional | ||
| path | string | Optional | ||
| to | integer | Optional | ||
| total | integer | Optional |
Responses
200✅
Code Examples
curl --location 'https://api.bayut.com/v1/consumptions?portal=bayut&date_from=2026-01-01&date_to=2026-01-31&per_page=20&page=1&property_id=8972466' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>'{
"data": [
{
"amount": 1,
"action": "property published",
"created_at": "2026-02-11T16:39:52+04:00",
"portal": "bayut",
"property": {
"id": 14082338,
"reference": "102917-DlTvBX"
},
"user": {
"id": 2672071,
"name": "e2e admin"
},
"agency": {
"id": 102917,
"name": "Lake city real estate"
}
}
],
"links": {
"first": "http://127.0.0.1:8000/v1/consumptions?page=1",
"last": null,
"prev": null,
"next": "http://127.0.0.1:8000/v1/consumptions?page=2"
},
"meta": {
"current_page": 1,
"from": 1,
"path": "http://127.0.0.1:8000/v1/consumptions",
"per_page": "1",
"to": 20,
"total": 48
}
}