Saltar al contenido principal

Full listing feeds

A full listing feed gives Uniplaces, Spotahome, Housing Anywhere, Inlife and Spacest a landlord's whole catalogue in the marketplace's own JSON format, ready to publish.

Before you start​

ItemValue
PlatformsUniplaces, Spotahome, Housing Anywhere, Inlife and Spacest
Base URLhttps://api.vivin.app/<prefix>, for example /uniplaces-integration
AuthenticationAuthorization: Bearer <partner-token>, the same token as your other routes (Authentication)
Landlord keyEach request names one landlord account in the path (The landlord key)
Use it forCreating and updating listings on your marketplace: photos, address, descriptions, amenities, prices and blocked dates. For calendar and price sync of linked units, the partial feed is enough
FreshnessThe bulk feed is rebuilt about every 10 minutes. The single-listing route is always live

Endpoints​

MethodPathReturns
GET/<prefix>/{landlordKey}/listings/fullEvery listing of one landlord account
GET/<prefix>/{landlordKey}/listings/{externalId}/fullOne listing of that account
PlatformPrefixBulk response
Uniplacesuniplaces-integrationJSON array, snake_case
Spotahomespotahome-integration{ "properties": [ … ] }, following Spotahome's JSON Feed format
Housing Anywherehousinganywhere-integrationJSON array, amounts in cents
Inlifeinlife-integrationJSON array
Spacestroomless-integration{ "listings": [ … ] }, snake_case, following Spacest's field reference

The Uniplaces reference lists the partial GET /listings next to the full listing feed

List a landlord's catalogue​

GET /<prefix>/{landlordKey}/listings/full

Path parameters​

NameTypeRequiredDescription
landlordKeystringYesThe landlord key or the Integration Email (The landlord key)

Example request​

curl https://api.vivin.app/uniplaces-integration/[email protected]/listings/full \
-H "Authorization: Bearer <partner-token>"

Response​

200 OK with every listing that qualifies (Which listings appear), in the platform's shape. A landlord key that matches no account is not an error: you get 200 with [] (for Spotahome, { "properties": [] }; for Spacest, { "listings": [] }).

Errors​

StatusmessageCauseWhat to do
400landlordKey must be a non-empty valueThe key segment is blankPut the landlord key in the path
401Missing integration credentials and othersMissing or wrong partner tokenSee Authentication
503The service is busy. Please try again in a moment.VIVIN is briefly overloadedRetry after the seconds in the Retry-After header

The bulk route never returns 404: a unit that does not qualify is simply not in the array.

Retrieve one catalogue listing​

GET /<prefix>/{landlordKey}/listings/{externalId}/full returns one object in the same shape as an item of the bulk feed. It is not wrapped in properties (Spotahome) or listings (Spacest). For Spotahome, and for a room it is the whole apartment entry that holds the room (Spotahome).

Path parameters​

NameTypeRequiredDescription
landlordKeystringYesAs above. The listing must belong to the matched account
externalIdstringYesYour linked ID for the unit, or the VIVIN unit ID that the feed exports for unlinked units

Example request​

curl https://api.vivin.app/housinganywhere-integration/[email protected]/listings/a1b2c3/full \
-H "Authorization: Bearer <partner-token>"

Errors​

StatusmessageCauseWhat to do
404Listing not found for <platform> with externalId <id>The landlord key matches no account, the ID is neither a linked unit of that account nor its VIVIN unit ID, the property is archived, or the unit is Excluded from feedCheck the key and take the ID from the bulk feed
404Listing not availableThe unit has no usable rentAsk the landlord to set a rent
404Listing not available: region is not supported by InlifeInlife only: the city is not one Inlife accepts (Inlife)Ask the landlord to fix the city
400, 401, 503As in List a landlord's catalogue

The landlord key​

The {landlordKey} path segment picks the VIVIN account whose listings you receive. It accepts either:

  • the account's landlord key, which VIVIN gives you during onboarding (exact match), or
  • the Integration Email the landlord entered on your platform's card under Settings → Integrations → Platform Integrations (letter case is ignored). If several accounts use the same email, the feed covers all of them.

The Housing Anywhere webhook takes the same key (Webhooks and notifications).

Which listings appear​

FeedUnits included
Partial: GET /<prefix>/listingsOnly units linked to your platform in the unit's Channels section
Full: GET /<prefix>/{landlordKey}/listings/fullEvery unit of the account, linked or not

That is why the full feed can hold more listings than the partial one. It still leaves a unit out when:

  • the unit is archived, or its property is archived,
  • the landlord set your platform to Excluded from feed on the unit's Integrations tab, under Integration listings,
  • it has no usable rent: a fixed rent of 0, or a variable rent with no monthly rents or with a month at 0 (your platform's markup never turns a rent of 0 into a price),
  • (Inlife only) its city is not one Inlife accepts,
  • (Spacest only) it has a block with no end date that starts on or before its first free day, so it has no night to offer.

A unit that appears only in the full feed cannot be booked with POST /<prefix>/bookings until it is linked in Channels. The Uniplaces and Housing Anywhere webhooks accept it by its VIVIN unit ID (Property and unit mapping).

Listing IDs​

Each feed has one field that identifies the unit. Store it and use it on the single-listing route and in webhooks.

PlatformID fieldLinked unitUnlinked unit
Uniplacesreference_idYour Uniplaces external IDThe VIVIN unit ID (a UUID)
Spotahomeid (whole units) or bedrooms[].room_id (rooms)Your Spotahome external IDThe VIVIN unit ID
Housing AnywherelistingReferenceYour Housing Anywhere external IDThe VIVIN unit ID
Inlifeid and room.idYour ID split in two (see below)Both hold the VIVIN unit ID
SpacestidYour Spacest external IDThe VIVIN unit ID
  • Spotahome rooms: the apartment entry's id is the VIVIN property ID, and each room is identified by its room_id. Use the room_id on the single-listing route.
  • Spacest: every entry also carries vivin_id, the VIVIN unit ID, whether or not the unit is linked, and landlord_key, the landlord it belongs to (Spacest).
  • Send the same value back in webhooks: offer_api_reference for Uniplaces, listing_external_reference for Housing Anywhere (Webhooks and notifications).
  • Inlife: the stored key is Inlife's propertyId_roomId. The feed splits it: id is the property ID and room.id the room ID, and neither contains _. If the stored key has no _ (a studio saved with its property ID only), id is that key and room.id is the VIVIN unit ID. Do not put the joined value in id. The partial feed and POST /bookings still use the joined propertyId_roomId.

Inlife full-feed schema: id is the underscore-free property ID

What the feed contains​

The feed is built from what the landlord fills in on the Integrations tab of the property and unit editors (copy, location, amenities, rules and partner-specific fields) and from the photos on their Photos tab.

PlatformMain fields
Uniplacesreference_id, property_reference_id, property_type, rent_by, contract_type, location, available_from, listing_pricing, property_elements, property_images (every photo of a whole property; for rooms and beds, the shared areas such as kitchen, living room and building), listing_images (rooms and beds only: the photos of the room itself), property_description, listing_description, property_features, listing_features, property_rules, property_size, floor, blocked_periods, landlord_email, original_listing_url, updated_at
Spotahomeid, type, copy (title and description), suitability, location, pricing, area, availabilities, instant_booking, stay, status, property (images, bathrooms, amenities), bedrooms[] (one per room)
Housing AnywherelistingReference, description, address, pricingType, flatPrice or monthlyPrices, currencyCode, type, kind, costs, blockedPeriods, minimumStayMonths, maximumStayMonths, facilities, images, minAge / maxAge, floor, registrationNumber
Inlifeid, title and description per language, address, coordinates, region, neighborhood, photos, amenity counts and flags, house rules, securityDeposit, extraAdministrativeFee, landlord_email, room (rent, stay limits, photos, unavailability), creationDate, modificationDate, updated
Spacestid, vivin_id, landlord_key, type, status, title, description, external_id, address, room and building (rooms and beds) or apartment (whole units), pricing, contract, availability, tenant_requirements, adminFeeValue, adminFeeMode, adminFeeTiers
  • landlord_email (Uniplaces, Inlife) is the Integration Email from your platform's card, not the landlord's login or a per-unit contact. Uniplaces leaves the field out when the card has none.
  • Placeholder images are removed: stock-image hosts such as picsum.photos, placehold.co or dummyimage.com never appear.
  • Photo URLs are permanent: a URL changes only when the landlord replaces or removes the photo, so you can compare URLs to detect photo changes. A photo that was just added can briefly go out as a signed link that expires after about a week, until its permanent URL is ready.
  • The Wi-Fi password is never included, only the fact that the unit has Wi-Fi.
  • New fields can be added at any time. Ignore fields you do not use.

Uniplaces full-feed schema: location, image lists, descriptions and feature tags

Prices​

  • Rent includes the Markup on the landlord's card for your platform. Deposit and fees do not.
  • Currency: Uniplaces, Housing Anywhere and Spacest state it (currency_code, currencyCode, pricing.currency). It is the Currency (ISO 4217) set under the property's Integrations → Fees & legal, otherwise the account currency.
  • Housing Anywhere amounts are in cents in the full feed: divide by 100. The partial feed uses normal amounts.
  • Part months: Uniplaces gets contract_type, the property's Contract day type: daily (charged by the day), fortnightly (by the half month) or monthly (whole months, also sent for properties paid in installments).
UniplacesSpotahomeHousing AnywhereInlife
Fixed rentlisting_pricing.rentspricing.monthlypricingType: "flat", flatPriceroom.rent, room.fixedRent: true
Variable rentrents = the highest monthmonthly = 12 monthly rents, January to DecemberpricingType: "monthly", 12 monthlyPricesroom.fixedRent: true; room.rent, room.minRent and room.maxRent = the highest month; no per-month prices
Depositlisting_pricing.deposit.valuepricing.depositcosts["security-deposit"]securityDeposit
Admin feelisting_pricing.admin_fee.valuepricing.admin_feecosts["administration-fee"]extraAdministrativeFee
Bills includedlisting_pricing.bills: truebills: [{ "name": "all", "option": "included", "value": "0" }] only when every bill is included with no monthly limit; no bills when bills have a limit or are not includedNo bills cost linebillsIncluded: true
Cleaningcleaning / cleaning_included booleans onlyservicesAndExpenses → periodicCleaningcosts["cleaning-fee"]: payableAt is monthly for Every Month, or move-in for a one-time cleaning fee (One-Time Fee at Booking Confirmation, One-Time Fee at Move-in, or advance when Advance Payments is on)cleaningLadyPrice
Extra tenantNot publishedNot publishedNot publishedroom.extraTenantsPrice (0 when the unit sleeps one)
  • For a variable-rent unit, charge each month from its own rent: Housing Anywhere monthlyPrices, Spotahome monthly (12 values), or rentsPerMonth on the partial feed. Do not apply the Uniplaces headline to every month.
  • Spotahome rooms carry monthly, deposit and admin_fee in bedrooms[].pricing. The top-level pricing then holds only bills and services.
  • The exit fee, the local rent cap and the extra deposit per tenant are not in any feed.
  • A property can set its deposit by stay length (Per stay duration). The feeds above carry one deposit: the property's base number of rents. A booking you send pays the deposit of its own length.

The Housing Anywhere costs object lists only positive amounts the tenant pays, each with value (cents), payableBy, payableAt, required, refundable and isEstimated. Bills included in the rent are left out. When bills are not included and the property has a monthly bills amount, it appears as an estimated other-additional-costs line. membership-fee (at move-in) and parking (monthly) come from the property's Membership fee amount under Integrations → Fees & legal and Parking fee amount under Integrations → Parking & cleaning. For example, 850 rent with an 850 deposit:

{
"listingReference": "a1b2c3",
"currencyCode": "EUR",
"pricingType": "flat",
"flatPrice": 85000,
"costs": {
"security-deposit": {
"value": 85000,
"payableBy": "tenant",
"payableAt": "move-in",
"required": true,
"refundable": true,
"isEstimated": false
}
}
}

Housing Anywhere full-feed schema: flatPrice and the costs object are in cents

Blocked dates​

Each feed lists the nights the unit cannot be booked: bookings and the landlord's blocks.

PlatformFieldEnd date meansBlock with no end date
Uniplacesblocked_periods[] → from, toto = last blocked night (inclusive)Left out
Spotahomeavailabilities.occupancies[] → from, to (in bedrooms[] for rooms)to = last blocked night (inclusive)to: null
Housing AnywhereblockedPeriods[] → startDate, endDateendDate = first free day (exclusive)Left out
Inliferoom.unavailability[] → start, endend = last blocked night (inclusive)end: null
Spacestavailability.occupation_periods[] → from_date, to_dateto_date = last blocked night (inclusive)Left out; available_to ends the day before

A stay from the night of 1 May 2027 to the night of 31 August 2027 appears as:

  • Uniplaces and Spotahome: "from": "2027-05-01", "to": "2027-08-31"
  • Housing Anywhere: "startDate": "2027-05-01", "endDate": "2027-09-01"
  • Inlife: "start": "2027-05-01", "end": "2027-08-31"

In each case the next check-in can be on 1 September.

  • Overlapping blocks (sharing at least one night) are merged into one range.
  • Blocks that ended before today are left out. Housing Anywhere also moves a past startDate forward to today.
  • Spotahome gets one form only: occupancies when the unit has blocked nights, otherwise available_from and available_to (the latest move-out date of the unit's booking window, or null). Each booking or block is its own occupancy, and the free nights between two of them stay free, even when they are fewer than the minimum stay. When the unit becomes available later than the day after its last block (the landlord's notice period), the nights up to that date are sent as a block too.
  • Booking windows: when a unit has an open booking window, the nights before its earliest move-in and after its latest move-out are published as blocked on Uniplaces, Spotahome, Inlife and Spacest. Housing Anywhere (minimumStayMonths, maximumStayMonths), Inlife (room.periodStayMin, room.periodStayMax) and Spotahome (stay, in days) also recalculate the stay limits from the window length. Housing Anywhere blockedPeriods does not get these extra blocks.
  • Calendar Block (days): if the landlord set it on your platform's card, you may see a block of about two years, starting where the unit's furthest-out block ends once that date is further away than the number of days set.

Platform specifics​

Spotahome​

  • Apartments: the rooms of one property are one roomshared entry. Its id is the VIVIN property ID, and each room is a bedrooms[] row with its own room_id, pricing, availabilities, stay, amenities, photos and instant_booking. A whole unit is its own entry: a studio when its Accommodation contains "studio" or it has 0 bedrooms, otherwise an apartment. A whole unit sends no bedrooms[] rows.
  • Photos: property.images holds the property's photos, topped up with the rooms' photos when there are fewer than 5. Each room's bedrooms[].images holds exactly that room's own photos. A whole apartment or studio sends its own photos first, then the property's. A photo is never sent twice in the same list. Spotahome asks for at least 5 images; when fewer than 5 different photos exist, the feed sends the ones there are, so add photos on the Photos tab to reach 5.
  • Text: copy.title.en is the English title from the Integrations tab, otherwise a title built from the bedrooms and the location, such as "5-bedroom shared apartment in Bonfim, Porto". Titles and descriptions in other languages are sent under their own language key (pt, es, …). A room with no English text of its own sends no copy, so Spotahome shows the apartment's.
  • Location: city is the Feed city slug from Integrations → Location when set. Otherwise it is the property's City (or its Region) as a Spotahome city ID: lowercase, no accents, words joined by _, local names in English (Lisboa → lisbon). address holds the street, floor and neighbourhood, and the street number goes in street_number. A country, postal code or coordinates the property does not have are sent empty.
  • Features: apart from furnished (always yes) and the suitability gender (any unless the property is restricted), amenities, suitability, the number of bathrooms and bills are sent only when they are set in VIVIN.
  • Stay: stay.min_days and stay.max_days are the unit's minimum and maximum stay converted to days at 30 days a month, as whole numbers. A unit with no minimum set (or 0) is sent as 30; no maximum is null. When instant booking is on, instant_booking.min_months_stay is the minimum stay in months, at least 1.

Inlife​

Inlife accepts only certain cities. VIVIN reads the property's City, then its Region, from Integrations → Location, ignoring case and accents.

Inlife regionNames that match
LisboaLisbon, Lisboa, Lisbonne
PortoPorto, Oporto
MadridMadrid
BarcelonaBarcelona
RomaRome, Roma
MilanMilan, Milano
SevillaSeville, Sevilla
ValenciaValencia
AveiroAveiro
BragaBraga

A unit with any other city is left out of the bulk feed, and its single-listing route returns 404 Listing not available: region is not supported by Inlife. The Inlife partial feed does not apply this check.

room.availableFrom, room.firstAvailability, creationDate, modificationDate and updated are Unix epoch milliseconds. room.firstAvailability is the earliest date, from today on, that is either availableFrom or the day after a blocked range ends. The blocked-date rows are the exception: start and end are YYYY-MM-DD text.

{
"room": {
"availableFrom": 1819756800000,
"firstAvailability": 1819756800000,
"unavailability": [
{ "start": "2027-05-01", "end": "2027-08-31", "added": "2026-09-20" }
]
}
}

Spacest​

Spacest's feed is served under the roomless-integration prefix, with the same partner token as the other RoomLess routes.

  • IDs: id is your Spacest external ID once the unit is linked, otherwise the VIVIN unit ID. vivin_id is always the VIVIN unit ID, so it stays the same when a unit gets linked. landlord_key is the landlord key of the unit's account (The landlord key); when the account has none, it is the Integration Email you called the feed with.
  • Units: a room or a bed is a room entry with a room object (room_type is private for a room, shared for a bed) and a building object for the apartment. All rooms of one property share building.id, the VIVIN property ID. A whole unit is an apartment entry, or a studio when its Accommodation contains "studio" or it has 0 bedrooms. apartment.num_bedrooms is 1 to 4; 4 means 4 or more.
  • status is always online. A unit that is archived, Excluded from feed, has no valid rent, or is blocked from its first free day with no end date (for example a stay with no move-out date) leaves the feed, and its single-listing route returns 404. Treat a unit that disappears as removed; it comes back with the same id once it can be booked again.
  • Text: title is the unit's title from the Integrations tab, otherwise the property's, otherwise one built from the facts, such as "Private room in a 4-bedroom apartment in Arroios, Lisbon". English is used first, then Portuguese, Spanish or any other language. external_id is the landlord's own unit code, building.external_id the property code.
  • Prices: pricing.monthly_rent is the fixed rent, or the highest month of a variable rent. A variable rent also sends pricing.prices[]: one entry per calendar month for the next 12 months, from the 1st to the last day (inclusive); a month with no rent of its own is left out. currency is the unit's real currency. deposit is null when there is none. When bills are not included, bills lists every bill as false, since VIVIN does not record which bills a rent covers.
  • Admin fee: adminFeeValue, adminFeeMode and adminFeeTiers keep the names and meaning of the partial feed (Admin fee). When adminFeeMode is tiered, charge the tier that matches the stay length and ignore adminFeeValue.
  • Stay: contract.min_months is the minimum stay in whole months (rounded up, at least 1); contract.max_months is null when there is no maximum.
  • Availability: available_from is the unit's first free day, or today. available_to is the latest move-out date of the booking window the feed follows (the first one a stay can still start in), or the day before a block with no end date, whichever is earlier; otherwise null. occupation_periods lists the unit's bookings and blocked dates from today on, overlapping ones merged, both dates inclusive. instantly_bookable follows the property's instant booking setting.
  • Address: a required field VIVIN does not have (street, number, zip, city, country_code) is sent as an empty string, and missing coordinates as null. street falls back to the property's full address when it has no street name.
  • Tenant requirements: gender is female or male for a restricted property, otherwise any. occupation is ["student"] or ["professional"] only for a property restricted to students or workers. min_age, max_age, pets_allowed and smokers_allowed are sent only when they are set.
  • Photos: the image URLs are permanent (see What the feed contains).
  • Values VIVIN does not hold are left out rather than guessed: energy class, house type, number of floors, notice period, contract type, average bills cost and the listing URL.

Spotahome legacy feed​

Spotahome also has an older feed in an earlier { "properties": [ … ] } format. Use the full feed for new work, and keep this one only if your integration already depends on it.

MethodPathReturns
GET/spotahome-integration/listings/feedThe units linked to Spotahome in Channels, every account
GET/spotahome-integration/listings/feed/{key}The same, for one landlord
  • {key} is the company name in the domain of the landlord's Integration Email: for [email protected], the key is sample-homes. It is not the landlord key of the full feed.
  • The key only identifies a landlord on a company domain. A gmail.com Integration Email gives no key, so that landlord is left out of the keyed feed. Another shared domain, such as outlook.com, gives one key (outlook) for every landlord on it.
  • Both routes use the partner token and the standard errors.

Polling​

  • The bulk feeds are rebuilt about every 10 minutes per landlord key, so polling more often returns the same data. The single-listing routes are always live: use them to check one unit right before you publish it.
  • Partner routes have no rate limit.
  • updated_at (Uniplaces) and updated (Inlife) change when the listing record is edited, not when a booking or block is added. Re-read the blocked dates on every pull.
  • Import bookings with POST /<prefix>/bookings or your webhook, whichever feed you poll (Creating bookings).

Troubleshooting​

SymptomLikely cause and fix
The bulk feed is an empty arrayThe landlord key matched no account. Check the key or the Integration Email with the landlord
The full feed has more listings than the partial feedExpected: the full feed includes units not linked to your platform yet
A listing is in the full feed but a booking for it failsIt is not linked in Channels. Book it through your webhook by its VIVIN unit ID, or ask the landlord to link it
Housing Anywhere prices look 100 times too highThe full feed is in cents
An Inlife unit is missingIts city is not in the Inlife list. The single-listing route says so