Scraper API
Flatfoxflatfox.listingAvailable
Flatfox listing
The listing: rent with and without utilities or the selling price, rooms, areas, floor, features, move-in date, address, coordinates, description, photos and the agency.
Give it a listing's number on flatfox.ch, or the address of its page.
1 unit a run, for runs that return data. Runs that fail cost nothing. How units work
- Counted
- 1 unit a run
- Inputs
- 1, 1 required
- Record
- 47 fields
- A run takes
- up to 5 minutes
- Records kept
- 7 days
- Measured
- its success, on the status page
POST/v1/scrapers/flatfox.listing/runs
sent, and answered
a record of the run47 fields
ok1 unit a run
A record this scraper returned for this input. The first 9 of its 47 fields are set down here; the whole record is below.

What it is used for
- Read a listing in full
- Give a listing's number and get its description, every price line, the areas, the floor, the features, the agency and the pictures.
- Check a listing is still there
- Read the listings you saved again and look at
reservedandavailablebefore you call the agency. - Keep the documents of a listing
- Collect the floor plans and documents a listing links in
documents, with the agency'sreference, for your own file.
What you send
A listing's number on flatfox.ch, or the address of its page. It is the one input.
listingstring Required- The listing's number on flatfox.ch, e.g.
32751, or the address of its page (https://flatfox.ch/en/flat/4464-maisprach/32751/).
A request, ready to send
It starts a run with the input shown at the top of this page, waits up to 60 seconds for it, and reads its records. Put your key in the variable it reads.
# Start a run and wait up to 60 seconds for it to finish
curl -X POST "https://api.enrichednow.com/v1/scrapers/flatfox.listing/runs?wait=60" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"listing":"32751"}}'
# Read its records, with the id the first call answered
curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY"from enrichednow import EnrichedNow
client = EnrichedNow() # reads ENRICHEDNOW_API_KEY
# Start a run, wait for it to end, and get its records
result = client.scrape("flatfox.listing", {"listing": "32751"})
print(result.run.id, result.run.status, result.run.record_count)
# Read its records: pages are fetched as you go
for record in result.records:
print(record)Install it with pip install enrichednow, then save as run.py and run python3 run.py
import EnrichedNow from "enrichednow";
const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
const { run, records } = await client.scrape("flatfox.listing", { listing: "32751" });
console.log(run.id, run.status, run.record_count);
// Read its records: pages are fetched as you go
for await (const record of records) console.log(record);Install it with npm install enrichednow, then save as run.mjs and run node run.mjs
package main
import (
"context"
"fmt"
"log"
"time"
enrichednow "github.com/enrichednow/enrichednow-go"
)
func main() {
client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
if err != nil {
log.Fatal(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
defer cancel()
// Start a run, wait for it to end, and get its records
run, records, err := client.Scrape(ctx, "flatfox.listing", map[string]any{"listing": "32751"})
if err != nil {
log.Fatal(err)
}
fmt.Println(run.ID, run.Status, run.RecordCount)
// Read its records: pages are fetched as you go
for records.Next() {
fmt.Println(string(records.Current()))
}
if err := records.Err(); err != nil {
log.Fatal(err)
}
}Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go
import com.enrichednow.EnrichedNowClient;
import com.enrichednow.ScrapeResult;
import java.util.Map;
public class Run {
public static void main(String[] args) {
EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
ScrapeResult result = client.scrape("flatfox.listing", Map.of("listing", "32751"));
System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());
// Read its records: pages are fetched as you go
for (Map<String, Object> record : result.records()) {
System.out.println(record);
}
}
}Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java
enrichednow run flatfox.listing --input-json '{"listing":"32751"}'Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh
What comes back
The listing: rent with and without utilities or the selling price, rooms, areas, floor, features, move-in date, address, coordinates, description, photos and the agency. A record has 47 fields. One we could not read is null, never an empty string or a zero.
{
"position": null,
"listing_id": 32751,
"url": "https://flatfox.ch/en/flat/4464-maisprach/32751/",
"offer_type": "rent",
"category": "house",
"object_type": "single_house",
"title": "Erstbezug: Frisch renoviertes, denkmalgeschütztes Bauernhaus mit privatem Innenhof und Garten",
"short_title": "6 rooms single house",
"description": "Dieses hochwertig renovierte 6-Zimmer-Bauernhaus auf Eigentumswohnungsstandard überzeugt mit einem eigenen Garten, einem privaten Innenhof, einer Garage, sowie einem separaten Keller/Hobbyraum. Mit einer Nettowohnfläche von über 200 m² … [truncated]",
"price": 3125,
"price_unit": "monthly",
"price_type": "total",
"rent_net": 3125,
"rent_charges": null,
"rent_gross": null,
"currency": "CHF",
"rooms": 6,
"living_area_m2": 200,
"property_area_m2": 380,
"usable_area_m2": null,
"floor": null,
"year_built": null,
"year_renovated": null,
"features": [
"view",
"balconygarden",
"parkingspace"
],
"furnished": false,
"temporary": false,
"reserved": false,
"available": "by_agreement",
"available_from": null,
"street": null,
"postal_code": "4464",
"city": "Maisprach",
"address": "4464 Maisprach",
"country": "CH",
"latitude": 47.520511611155,
"longitude": 7.840252334861,
"agency": null,
"agency_address": null,
"images": [
"https://flatfox.ch/media/ff/2026/11/3zdeqnd7qsuispgapvz9j3yssfl1uav76id3pnautbikefhnpu.jpg",
"https://flatfox.ch/media/ff/2026/11/fav84saqt8s2w50kfig3f7er01i31ik1npwx9smmtpdygpuwos.jpg",
"https://flatfox.ch/media/ff/2026/11/1sqsu8o3su6bvt6iohngfto0wswpizivu7ew7vpcs3koposrsn.jpg"
],
"documents": [],
"video_url": null,
"tour_url": null,
"website_url": null,
"reference": null,
"published_at": "2018-03-10T17:18:45.994082+01:00",
"created_at": "2018-03-10T17:18:45.866162+01:00",
"fetched_at": "2026-11-19T18:07:40.161380Z"
}The scraper returned this record for the input above, reading a saved copy of the page, not the live site.
Values shortened for this page: description: 1,359 characters, the first 235 shown; features: 12 items, the first 3 shown; images: 11 items, the first 3 shown.
The fields of a record
positioninteger or null- The listing's place in the search's answer, from 1 (newest first). Null for
flatfox.listing. listing_idinteger- Flatfox's number of the listing, the last part of its address.
urlstring- The listing's page on flatfox.ch.
offer_typestringrentorsale.categorystring or null- The kind of object, in Flatfox's words in lower case:
apartment,house,shared(a room in a shared flat),park(a parking space),industry(commercial premises),secondary(a hobby or storage room). object_typestring or null- The narrower kind, in Flatfox's words in lower case:
apartment,duplex,single_house,shared_flat,garage_slot,office, … titlestring or null- The advertiser's headline.
short_titlestring or null- Flatfox's own short line for the object, e.g.
3 rooms apartment. descriptionstring or null- The advertiser's description, as written (most are in German, French or Italian).
pricenumber or null- The price the listing shows, in Swiss francs: a rent, or the selling price of a listing for sale.
price_unitstring or null- What a rent is for:
monthly, oryearlym2(per square metre a year, on commercial premises). Null for a selling price. price_typestring or nulltotalwhen the price is for the whole object,m2when it is per square metre. Null where Flatfox does not say.rent_netnumber or null- The monthly rent without utilities, in francs.
rent_chargesnumber or null- The monthly utilities and charges, in francs.
rent_grossnumber or null- The monthly rent with utilities, in francs.
currencystringCHF.roomsnumber or null- The number of rooms as Switzerland counts them (a living room counts, a kitchen does not): 2.5, 3, 4.5.
living_area_m2number or null- The living area in square metres.
property_area_m2number or null- The area of the plot in square metres.
usable_area_m2number or null- The usable area in square metres (commercial premises).
floorinteger or null- The floor: 0 is the ground floor.
year_builtinteger or null- The year the building was built.
year_renovatedinteger or null- The year of the last renovation.
featureslist of strings- What the listing ticks, in Flatfox's own codes:
balconygarden,lift,petsallowed,dishwasher,parkingspace, … furnishedboolean or null- True when the object is let furnished.
temporaryboolean or null- True when the let is for a limited time.
reservedboolean or null- True when Flatfox marks the listing as reserved.
availablestring or null- When the object can be moved into:
immediately,by_agreement, ordate(thenavailable_fromsays which). available_fromdate or null- The move-in date, where the listing names one.
streetstring or null- The street and house number, where the advertiser shows them.
postal_codestring or null- The four-digit Swiss postcode.
citystring or null- The town.
addressstring or null- The address as the listing shows it on one line.
countrystring or null- The two-letter country code:
CH. latitudenumber or null- The latitude of the listing's pin, in decimal degrees.
longitudenumber or null- The longitude of that pin.
agencystring or null- The name of the agency or property manager advertising the object. Null for a listing placed by a private person.
agency_addressstring or null- The agency's own address, on one line.
imageslist of strings- The listing's photos, the cover first.
documentslist of strings- The documents attached to the listing (a floor plan, a brochure).
video_urlstring or null- The listing's video, where it has one.
tour_urlstring or null- The listing's virtual tour, where it has one.
website_urlstring or null- The object's own website, where the listing names one.
referencestring or null- The advertiser's own reference for the object.
published_atdatetime or null- When the listing was published, with Flatfox's own time zone offset.
created_atdatetime or null- When the listing was first created.
fetched_atdatetime- When the answer was read, in UTC.
Units and limits
- Counted per request
- Billed per request: a run that returns data costs 1 unit, however many records it returns.
- A miss costs nothing
- A run that fails, that meets something not supported yet, or that you cancel costs nothing. You pay for runs that return data.
- What bounds a run
- A run may take up to 5 minutes. Its records are read in pages of up to 1,000 and are kept for 7 days.
What it does not do
- One run reads one listing.
- A listing that has been taken down ends as failed with the reason not_found, and costs nothing.
Questions
What does Flatfox listing return?
The listing: rent with and without utilities or the selling price, rooms, areas, floor, features, move-in date, address, coordinates, description, photos and the agency. A record has 47 fields, among them position, listing_id, url, offer_type, category and object_type. A value that could not be read is null, never an empty string or a zero.
What do I send?
A listing's number on flatfox.ch, or the address of its page. The input listing is required.
How is it counted?
Billed per request: a run that returns data costs 1 unit, however many records it returns. A run that fails, that meets something not supported yet, or that you cancel costs nothing. The first 1,000 units each month are free.
What does it not do?
One run reads one listing. A listing that has been taken down ends as failed with the reason not_found, and costs nothing.
How long are the records kept, and in what format do they come?
Records are kept for 7 days after the run ended, and read in pages of up to 1,000. They come as JSON, as NDJSON with one record a line, or as CSV with a column for each field.
Can an AI assistant call it?
Yes. Through the EnrichedNow MCP server an assistant calls the tool run_scraper with the scraper_id flatfox.listing and the same input. It costs what the same API call costs.
Flatfox
Homes and premises to rent or to buy in Switzerland, as flatfox.ch lists them for any visitor.
Flatfox search
flatfox.searchAn area of Switzerland by its four edges, and filters: to rent or for sale, kind of object, price and rooms. The newest listings inside it: price, rooms, living area, address, coordinates, move-in date, description, photos and the agency.
- Industry
- Real estate
- Where
- Switzerland
Run it on an input of your own.
Create an account, make a key, and send the request above with your own input. The first 1,000 units each month are free.