Get an alert feed
https://platform.casafari.com/v1/alerts/feeds/{feed_id}Envieu Authorization: Bearer $CASAFARI_API_KEY: una clau d'API de la plataforma (cf_sk_...) des de la consola, o un testimoni d'accés OAuth; X-API-Key també inclou la clau. Vegeu les claus d'API de la plataforma. Free: 0 tokens.
The platform's OpenAPI file leaves the shape open; what is shown comes from the same definitions the platform publishes elsewhere: response 200: the description of the same backend.
Via MCP: cap; aquest producte és només REST.
Description
Free (no consumeix tokens).
Paràmetres de ruta
feed_idcadenaobligatoriExemple de sol·licitud
Només espais reservats: substitueix el token i els valors pels teus.
curl "https://platform.casafari.com/v1/alerts/feeds/<feed_id>" \
-H "Authorization: Bearer $CASAFARI_API_KEY"Respostes
200 Success.
Tipus: object.
Show the response shape (47 fields)
feed_idintegerobligatorifeed_namecadenaobligatorifiltersobjecteobligatori28 properties
location_idsinteger[]pot ser nultypesstring[]pot ser nul42 valors permesos
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 building other_commercial restaurant werkstatt urban_plot rural_plot room parking garage other apartment_building office_building mix_use_building apartment_development house_developmentbusiness_typecadenaobligatorisale rentstatuses(string | string)[]pot ser nulalert_subtypesstring[]pot ser nulnew price_increased price_decreased reserved delisted soldcustom_locationsobject[][]pot ser nul2 propietats
latitudenumberobligatorilongitudenumberobligatoriprivatebooleàpot ser nulprice_rangeobjectepot ser nul2 propietats
minintegerpot ser nulmaxintegerpot ser nulprice_psqm_rangeobjectepot ser nul2 propietats
minintegerpot ser nulmaxintegerpot ser nulbathrooms_rangeobjectepot ser nul2 propietats
minintegerpot ser nulmaxintegerpot ser nulbedrooms_rangeobjectepot ser nul2 propietats
minintegerpot ser nulmaxintegerpot ser nultotal_area_rangeobjectepot ser nul2 propietats
minintegerpot ser nulmaxintegerpot ser nulnew_developmentbooleàpot ser nulbankbooleàpot ser nulauctionbooleàpot ser nulconstruction_year_rangeobjectepot ser nul2 propietats
minintegerpot ser nulmaxintegerpot ser nulplot_area_rangeobjectepot ser nul2 propietats
minintegerpot ser nulmaxintegerpot ser nulfloorsstring[]pot ser nulno_floor ground middle topconditionsstring[]pot ser nulnew used ruin very-good otherorientationcadenapot ser nulexterior interiorviewsstring[]pot ser nulwater landscape city golf parkdirectionsstring[]pot ser nulnorth south east westcharacteristicsstring[]pot ser nulbalcony elevator no_elevator garage garden parking storage swimming_pool terrace rental_license furniture rented_out life_annuityhas_phonebooleàpot ser nulhas_emailbooleàpot ser nulhas_agency_namebooleàpot ser nulref_numbersstring[]pot ser nullisting_idsinteger[]pot ser nulExemple amb valors de mostra (els ids i les xifres són il·lustratius)
{
"feed_id": 17,
"feed_name": "Lisbon flats under 450K",
"filters": {
"business_type": "sale",
"location_ids": [
12345
],
"types": [
"apartment"
],
"alert_subtypes": [
"new",
"price_decreased"
],
"price_range": {
"min": 200000,
"max": 450000
},
"bedrooms_range": {
"min": 2
}
}
}Errors
Tots els errors es presenten com un cos application/problem+json (RFC 9457) amb type (una pàgina que els explica), title, status, detail (què fer al respecte), instance, code i request_id (el que s'ha de facilitar per obtenir assistència). Un 402 conté una upgrade_url, i un 429, una capçalera Retry-After. Els codis que pot portar cada estat:
- 400
invalid_request,key_in_query(https://platform.casafari.com/errors/invalid-request, https://platform.casafari.com/errors/key-in-query) - 401
unauthorized,invalid_credential,credential_revoked,token_expired(https://platform.casafari.com/errors/unauthorized, https://platform.casafari.com/errors/invalid-credential, https://platform.casafari.com/errors/credential-revoked, https://platform.casafari.com/errors/token-expired) - 403
insufficient_scope,not_entitled,account_suspended(https://platform.casafari.com/errors/insufficient-scope, https://platform.casafari.com/errors/not-entitled, https://platform.casafari.com/errors/account-suspended) - 404
not_found(https://platform.casafari.com/errors/not-found) - 405
method_not_allowed(https://platform.casafari.com/errors/method-not-allowed) - 429
rate_limited,request_limit_reached(https://platform.casafari.com/errors/rate-limited, https://platform.casafari.com/errors/request-limit-reached) - 500
internal_error(https://platform.casafari.com/errors/internal-error) - 502
upstream_error(https://platform.casafari.com/errors/upstream-error) - 503
unavailable(https://platform.casafari.com/errors/unavailable) - 504
upstream_timeout(https://platform.casafari.com/errors/upstream-timeout)