Existing Casafari API · API v1 · Alerts
Get alerts by feed
https://api.casafari.com/v1/listing-alerts/feeds/{id}Send Authorization: Token $CASAFARI_TOKEN with your existing API token; see where to get it.
The same path under /api, signed in with a bearer token, is in the REST API reference: GET /api/v1/listing-alerts/feeds/{id}.
Description
Returns paginated list of alerts (by feed ID) for currently authenticated user.
Path parameters
idstringrequiredQuery parameters
limitintegeroffsetintegerorder_bystringalert_date -alert_date alert_id -alert_id created_at -created_at updated_at -updated_atalert_date_fromstring (date)YYYY-MM-DD) of the period for alerts of interest.
Overrides alert_date_from value if it was specified in the feed filter.
Invalid values are ignored.alert_date_tostring (date)YYYY-MM-DD) of the period for alerts of interest.
Overrides alert_date_to value if it was specified in the feed filter.
Invalid values are ignored.created_at_fromstring (date-time)YYYY-MM-DDTHH:mm:ss) to filter alerts by their creation in the database (UTC). Useful for incremental sync to avoid fetching already fetched data.
Overrides created_at_from value if it was specified in the feed filter.
Invalid values are ignored.created_at_tostring (date-time)YYYY-MM-DDTHH:mm:ss) to filter alerts by their creation in the database (UTC). Useful for incremental sync to avoid fetching already fetched data.
Overrides created_at_to value if it was specified in the feed filter.
Invalid values are ignored.created_at_with_photos_fromstring (date-time)created_at_with_photos_from value if it was specified in the feed filter.
Invalid values are ignored.created_at_with_photos_tostring (date-time)created_at_with_photos_to value if it was specified in the feed filter.
Invalid values are ignored.alert_subtypestringalert_subtypes field in the feed.filter instead.new price_up price_down reserved delisted soldExample request
Placeholders only: replace the token and the values with your own.
curl "https://api.casafari.com/v1/listing-alerts/feeds/<id>" \
-H "Authorization: Token $CASAFARI_TOKEN"Responses
200
Type: object[].
Show the response shape (91 fields)
countintegernextstring (uri)nullablepreviousstring (uri)nullableresultsobject67 properties
alert_idintegerrequiredlisting_idintegerrequiredrefstringrequiredalert_typestringrequiredsale_price sale_status rent_price rent_status newalert_subtypestringrequirednew price_up price_down reserved delisted soldold_valuestringrequirednew_valuestringrequiredalert_datestring (date)requiredalert_date_and_timestringnullableproperty_urlstringnullablelisting_urlstringnullablelisting_old_urlstringnullablelisting_uidstringrequiredproperty_idintegerrequiredtitlestringrequiredtypestringrequired40 allowed values
apartment studio duplex penthouse dachgeschosswohnung etagenwohnung erdgeschosswohnung country_house house palace townhouse villa country_estate chalet bungalow family_house reihenhaus reihenendhaus reihenmittelhaus einfamilienhaus zweifamilienhaus landwirtschaftliche_betriebe retail office industrial warehouse hotel other_commercial restaurant werkstatt plot urban_plot rural_plot room other garage parking apartment_building office_building mix_use_buildingtype_groupstringrequiredlocationobjectrequired4 properties
location_idintegerrequirednamestringrequiredadministrative_levelstringrequiredzip_codesstring[]locations_structureobject[]required4 properties
location_idintegerrequirednamestringrequiredadministrative_levelstringrequiredzip_codesstring[]addressstringrequiredzip_codestringrequiredcadastral_referencestringrequiredcoordinatesobjectrequired2 properties
latitudenumberrequiredlongitudenumberrequiredconditionstringrequiredused ruin very-good new othercontacts_infoobjectrequired3 properties
namestringrequiredemailstring (email)requiredphonestringrequiredtotal_areaintegerrequiredliving_areaintegerrequiredplot_areaintegerrequiredterrace_areaintegerrequiredbedroomsintegerrequiredroomsintegerrequiredbathroomsintegerrequiredfeaturesobjectrequired7 properties
floorstringrequiredno_floor ground middle toporientationstringrequiredexterior interiorviewstringrequiredviews field instead.water landscape city golf parkviewsstring[]requiredwater landscape city golf parkdirectionstringrequireddirections field instead.north south east westdirectionsstring[]requirednorth south east westcharacteristicsstring[]requiredbalcony elevator no_elevator garage garden parking storage swimming_pool terrace rental_license furniture rented_out life_annuityconstruction_yearintegerrequiredoperationsstring[]requiredsale rentis_bank_propertybooleanrequiredis_auction_propertybooleanrequiredis_new_development_propertybooleanrequiredis_private_propertybooleanrequiredsale_statusstringrequiredactive reserved hold sold nonesale_currencystringrequiredsale_price_baseintegerrequiredsale_priceintegerrequiredsale_currency field).sale_price_per_sqmnumberrequiredsale_currency field).sale_price_per_sqm_basenumberrequiredrent_statusstringrequiredactive reserved hold rented nonerent_currencystringrequiredrent_price_baseintegerrequiredrent_priceintegerrequiredrent_currency field).rent_price_per_sqmnumberrequiredrent_currency field).rent_price_per_sqm_basenumberrequiredrent_periodstringrequiredday week fortnight month year noneagency_legal_idstringrequiredagencystringrequiredagentstringrequiredsource_namestringrequireddescriptionstringrequiredthumbnailsstring[]picturesstring[]created_atstring (date-time)requiredcreated_at_with_photosstring (date-time)requirednull if photo processing has not finished yet.
If the listing has no photos but the system has finished the processing, this field will contain its date and time.updated_atstring (date-time)requiredenergy_certificatestringrequiredenergy_rating field instead.energy_ratingstringrequiredheating_typestringrequiredavailable_fromstring (date)requiredavailable_tostring (date)requiredExample from the API description (long arrays shortened)
{
"count": 79,
"next": "http://api.casafari.com/v1/listing-alerts/feeds/887?alert_date_from=2021-09-01&limit=50&offset=50",
"previous": null,
"results": [
{
"alert_id": 412269711,
"listing_id": 110358519,
"title": "Apartamento T2 em Santa Engracia",
"ref": "ID-124021076-47",
"alert_type": "sale_price",
"alert_subtype": "price_down",
"old_value": "549000",
"new_value": "545000",
"alert_date": "2021-10-24",
"alert_date_and_time": "2021-10-24T05:37:09",
"created_at": "2021-10-24T05:38:53.273581",
"created_at_with_photos": "2021-10-24T05:43:27.622175",
"updated_at": "2021-04-05T17:47:19.191211",
"property_url": "https://www.casafari.com/home-sale/property-51277418",
"listing_url": "https://www.idealista.pt/imovel/31407575/",
"listing_old_url": null,
"listing_uid": "1054046",
"property_id": 51277418,
"type": "apartment",
"type_group": "apartment",
"location": {
"location_id": 28649,
"name": "Santa Engrácia",
"administrative_level": "Localidade",
"zip_codes": []
},
"locations_structure": [
{
"location_id": 499,
"name": "Portugal",
"administrative_level": "País",
"zip_codes": [
"1200-224"
]
}
],
"address": "",
"zip_code": "80804",
"cadastral_reference": "2181605VK4728A0001TA",
"coordinates": {
"latitude": 38.7194,
"longitude": -9.12209
},
"condition": "used",
"contacts_info": {
"name": null,
"email": null,
"phone": "215551538"
},
"total_area": 130,
"living_area": 128,
"plot_area": 0,
"terrace_area": 15,
"bedrooms": 3,
"rooms": 0,
"bathrooms": 2,
"features": {
"floor": "middle",
"orientation": null,
"views": [
"city"
],
"directions": [
"west"
],
"characteristics": [
"balcony"
]
},
"construction_year": 2015,
"operations": [
"sale"
],
"is_bank_property": false,
"is_auction_property": false,
"is_new_development_property": false,
"is_private_property": false,
"sale_status": "active",
"sale_currency": "EUR",
"sale_price": 545000,
"sale_price_base": 545000,
"sale_price_per_sqm": 4192,
"sale_price_per_sqm_base": 4192,
"rent_status": "none",
"rent_currency": "EUR",
"rent_price": 0,
"rent_price_base": 0,
"rent_price_per_sqm": 0,
"rent_price_per_sqm_base": 0,
"rent_period": "none",
"agency_legal_id": "402016653",
"agency": "Helena Almeida Pires",
"agent": "",
"source_name": "Idealista",
"description": "O apartamento é composto de sala de estar e jantar ampla, com janelas de vidro duplo que dão enorme luminosidade, ao ambiente.",
"thumbnails": [
"https://st2.retelligence.co/c/2875/4/7f/5a0fc6ebf8e4e41d062342a29b50647f350.jpg"
],
"pictures": [
"https://media.casasapo.pt/Z1140x855/Wnone/S5/C2729/P20091734/Tphoto/ID56933201-0000-0500-0000-00000d1ffcdc.jpg"
],
"energy_certificate": "B",
"energy_rating": "B",
"heating_type": "Central heating",
"available_from": "2026-07-01",
"available_to": "2027-06-30"
}
]
}400 Bad Request
Type: object.
Show the response shape (1 fields)
errorsobject401 Unauthorized
Type: object.
Show the response shape (1 fields)
detailstring403 Forbidden
Type: object.
Show the response shape (1 fields)
detailstring404 Not Found
Type: object.
Show the response shape (1 fields)
errorsobject