ads

Create a listing

Publish a new listing you own. Contact defaults to your account; add photos with photos.upload or pass photo_urls[]. Goes live immediately (Pro).

post/api/v1/ads

Request

  • Base URL: https://bezbaseina.lv
  • URL: https://bezbaseina.lv/api/v1/ads
  • Auth: HTTP bearer

Request body

titlestring required

public headline (LV)

citystring required

city slug, e.g. riga, jurmala, liepaja

deal_type'rent' | 'sale' | 'nightly' required

rent | sale | nightly

price_eurinteger required

monthly/nightly price, or the sale price when deal_type=sale

property_kind'apartment' | 'house' | 'land' | 'commercial'

default apartment

season_mode'annual' | 'sept_may' | 'summer' | 'shortterm'

rent term; default annual (shortterm for nightly)

districtstring

e.g. Torņakalns, Centrs

addressstring
roomsinteger
size_m2integer
floorinteger
total_floorsinteger
building_era'pirmskara' | 'padomju' | 'jaunais projekts'
descriptionstring

LV body text

owner_namestring

contact name shown on the ad; defaults to your account name

owner_phonestring

contact phone shown on the ad

latitudenumber
longitudenumber
building_codestring

VZD building code (land/house SEO)

parcel_codestring

VZD parcel code

Response

Success

Changes

No recorded changes to this operation across all 1 revision of this API.