Web services for leapfrog UK

Number of properties available in regions

Search based on the whole of France, returning a list of regions + number of properties available in each region:
Web service url http://leapfrog.pericles.fr/service.php
Request parameters "no_query" =3
Response parameters number of results
List of results "nb" : number of properties in Region
  "code_reg" : Region id
  "nom_reg" : Region name



Number of properties available in departments

Search based on a specific region, returning a list of departements + number of properties available in each departement:
Web service url http://leapfrog.pericles.fr/service.php
Request parameters "no_query" =4
  "code_reg" : Region id
Response parameters number of results
List of results "nb" : number of properties in departments
  "code_dept" : Department id
  "nom_dept" : Department name

CODE_REG : Ex : 21


Number of properties available in towns

Search based on a specific department, returning a list of towns + number of properties available in each town:
Web service url http://leapfrog.pericles.fr/service.php
Request parameters "no_query" =5
  "code_dept" : Departement id
Response parameters number of results
List of results "nb" : number of properties in towns
  "insee" : town id
  "ville_bien" : Town name
  "popu" : Town population

CODE_DEPT : Ex : 06


Search based on properties id list

Search based on properties id list, returning a list properties :
Web service url http://leapfrog.pericles.fr/service.php
Request parameters "no_query" =7
  "no_dossier_list" : a list of properties id (no_dossier) separated with a comma. The number of properties id is limited by the size of the query string.
Response parameters number of results
List of results  
  "prix_vente" : price in euro of the prop.
  "no_dossier" : property id
  "nb_pces" : number of rooms
  "insee" : town id of the property
  "code_adh1" : agency id
  "raison_sociale" : agency name
  "adresse" : agency adress
  "suite_adresse" : agency adress
  "cp" : agency postal code
  "ville" : agency town
  "telephone" : agency phone number
  "fax" : agency fax number
  "mail" : agency email
  "ville_bien" : property town
  "cp_bien" : property postal code
  "localisation" : property localisation
  "categorie" : property category
  "type_bien" : type of property (1 = Appart, 2 = House, 3 = Land)
  "surf_hab" : habitable area in m²
  "surf_terr" : land area in m²
  "texte" : text
  "date_modif" : date of creation
  "popu" : population of the property town
  "photo" : picture flag (1: picture exist, 0:no picture)
  "thumb1" : url of the thumbnail of the first picture

NO_DOSSIER_LIST : List of properties id separated with ,
Ex : VBSC1290,VBSC1494,VY110123,V9890387,VBSC0009,VY110042,VAUD1024,VY110129,V9890393,VBSC1404,VBIC0183,VBIC0135


Search based on region or department or town id

Search based on region or department or town id, returning a list of properties. The 200 firsts results ordered by price are returned
Web service url http://leapfrog.pericles.fr/service.php
Request parameters "no_query" =2
  "first_res" : first result number to return (required)
  "number_res" : number of result to return (required)
  "no_agc" : agency id
  "pmin" : min price
  "pmax" : max price
  "t1 or t2 or t3" : t1=1 for appart, t2=1 for house, t3=1 for land
  "p1 or p2 or p3 or p4 or p5" : p1=1 for 1 room , ... , p4=1 for 4 rooms, p5=1 for five and more rooms
  "chambres" : min number of bedrooms
  "hab" : min surface habitable area
  "terr" : min surface land
  "sej" : min surface living room
  "code_reg" : region id
  "code_dept" : dept id
  "insee" : town id
  "dist" : enlarge the search to towns in a radius of "dist" km. "dist" must be <= 50 or left blank if this criteria is not used.
  "date" : number of day beetwen now and creation date
  "photo" : photo=1 with picture only
Response parameters Number of results
  first result
  number of result requested
List of results see : "Search based on properties id list"

FIRST RES : Ex : 1
NUMBER RES : Ex : 10
NO AGC : Ex : A59
PMIN : Ex : 50000
PMAX : Ex : 100000
AppartementMaisonTerrain
1 pièce2 pièces3 pièces4 pièces5+ pièces
CHAMBRES MIN : Ex : 2
SURF.HAB : Ex : 100
SURF.TERR : Ex : 100
SURF.SEJ : Ex : 40
CODE_REG : Ex : 21
CODE_DEPT : Ex : 13
INSEE : Ex : 13022  DIST : (Ex : 30)
DATE : Ex : 8
PHOTO


Search based on department, town or postal code

Search based on department, town or postal code returning a list of properties The 200 firsts results ordered by price are returned
Web service url http://leapfrog.pericles.fr/service.php
Request parameters "no_query" =1
  "first_res" : first result number to return (required)
  "number_res" : number of result to return (required)
  "no_agc" : agency id
  "pmin" : min price
  "pmax" : max price
  "t1 or t2 or t3" : t1=1 for appart, t2=1 for house, t3=1 for land
  "p1 or p2 or p3 or p4 or p5" : p1=1 for 1 room , ... , p4=1 for 4 rooms, p5=1 for five and more rooms
  "chambres" : min number of bedrooms
  "hab" : min surface habitable area
  "terr" : min surface land
  "sej" : min surface living room
  "sect1 or sect2 or sect3 or sect4" : allows to search properties in 4 areas that are dept or postal code or town
  "date" : number of day beetwen now and creation date
  "photo" : photo=1 with picture only
Response parameters Number of results
  first result
  number of result requested
List of results see : "Search based on properties id list"

FIRST RES :
NUMBER RES :
NO AGC :
PMIN :
PMAX :
AppartementMaisonTerrain
1 pièce2 pièces3 pièces4 pièces5+ pièces
CHAMBRES MIN :
SURF.HAB :
SURF.TERR :
SURF.SEJ :
SECT : Ex1 : annecy , Ex2 : 13260 , Ex3 : 83
DATE :
PHOTO


Search based on property id

Search based on property id, returning a property
Web service url http://leapfrog.pericles.fr/service.php
Request parameters "no_query" =6
  "no_dossier" property id
List of results  
  "prix_vente" property price FLOAT
  "no_dossier" property id STRING(8)
  "nb_pces" number of rooms INT
  "insee" property town id STRING(5)
  "code_adh1" agency id STRING(3)
  "raison_sociale" agency name STRING
  "adresse" agency address STRING
  "suite_adresse" agency address STRING
  "cp" agency postal code STRING
  "ville" agency town STRING
  "telephone" agency phone number STRING
  "fax" agency fax num STRING
  "mail" agency mail STRING
  "ville_bien" property town STRING
  "cp_bien" property postal code STRING(5)
  "localisation" property localisation STRING
  "categorie" category STRING
  "type_bien" 1=appart 2=house 3=land INT
  "nb_chb" number of rooms INT
  "surf_hab" habitable area FLOAT
  "surf_terr" land area FLOAT
  "surf_sej" living space area FLOAT
  "surf_carrez" carrez area FLOAT
  "exp_sejour" living room orientation STRING
  "etage" floor INT
  "nb_etages" number of floor INT
  "code_etage" floor code STRING
  "ascenseur" lift INT
  "balcon" balcony INT
  "terrasse" terrace INT
  "annee_cons" years of construction STRING
  "park_int" number of interior parking INT
  "park_ext" number of exterior parking INT
  "garage" number of garage INT
  "cave" number of cellar INT
  "sous_sol" under ground INT
  "wc" number of WC INT
  "salle_bain" number of bathroom INT
  "salle_eau" number of water room INT
  "cuisine" kitchen INT 0="", 1="Sans", 2="Independante", 3="equipée", 4="amenagée", 5="americaine", 6="kitchenette"
  "chauff_typ" heating type INT 0="", 1="collectif", 2="individuelle", 3="mixte", 4="sans"
  "chauff_nat" heating setup INT 0="", 1="bois", 2="charbon", 3="electricité", 4="fuel", 5="gaz", 6="solaire"
  "charges" monthly charges FLOAT
  "travaux" work, repair FLOAT
  "taxe_fonc" taxe fonciere FLOAT
  "cos" cos FLOAT land only
  "shon" shon FLOAT land only
  "facade" INT land only
  "eau" water INT land only
  "gaz" gas INT land only
  "elect" electicity INT land only
  "t_a_e" sewer INT land only
  "lotiss" allotment INT land only
  "texte" description land only
  "date_dossier" creation property date STRING
  "popu" population of the property town INT
  "photo" photo flag INT
  "thumb1" thumbnail url n°1 STRING
  "photo1" picture url n°1 STRING
  "thumb2" thumbnail url n° STRING
  "photo2" picture url n° STRING
  "thumb3" thumbnail url n° STRING
  "photo3" picture url n° STRING
  "thumb4" thumbnail url n° STRING
  "photo4" picture url n° STRING

NO DOSSIER :



Search based on agency name

Search based on agency name, returning a list of agencies
Web service url http://leapfrog.pericles.fr/service.php
Request parameters "no_query" =8
List of results "search_agc" string > 3 characters

SEARCH_AGC :


Contact : Olivier Bedoch - obedoch@pericles.fr