{"openapi":"3.0.0","info":{"title":"SeLoger France Property Listings Data","version":"1.0.0","description":"French apartments, houses, land and commercial real estate for sale and rent from SeLoger.com, one row per entity."},"servers":[{"url":"https://ah-seloger-com.opendata.best/s/seloger-com"}],"paths":{"/v1/search":{"post":{"operationId":"search","summary":"Search SeLoger France property listings","description":"Search French properties by city, transaction channel and property type on SeLoger.","tags":["search"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"startUrls":{"type":"array","items":{"type":"string"},"description":"Search, listing, or agency URLs. SeLoger search, listing, or professional profile URLs. Use this or location; supplied URLs take priority over location-based search settings.","example":[{"url":"https://www.seloger.com/immobilier/locations/immo-nantes-44/bien-maison/"}]},"location":{"type":"string","description":"Location. French city or area to search when startUrls is empty, such as nantes, lyon, or ile-de-france/paris-75000.","example":"nantes"},"channel":{"type":"string","enum":["BUY","RENT"],"description":"Sale or rental. Choose BUY for sale listings or RENT for rental listings. Applies when searching by location.","default":"RENT","example":"RENT"},"propertyType":{"type":"string","enum":["appartement","maison","terrain","immeuble","parking","local-commercial","bureaux","loft","boutique","batiment","chalet","ferme","chateau","hotel-particulier","all"],"description":"Property type. Choose a main-site SeLoger category for a location search. Use all to omit the category filter; this setting does not select a sister-brand website.","default":"maison","example":"maison"},"maxPages":{"type":"integer","minimum":1,"maximum":50,"description":"Maximum search pages. Maximum number of search pages to collect, from 1 to 50. The row limit may stop collection before this page limit is reached.","default":1},"scrapeDetails":{"type":"boolean","description":"Include listing details. Add available descriptions, DPE information, features, and other detail fields to search-result rows. This enriches the existing row rather than adding a separate billed row.","default":true},"onlySeloger":{"type":"boolean","description":"Only SeLoger listings. Skip search cards whose listing URLs point outside seloger.com. Set false to allow sister-brand URLs, where extraction may be incomplete.","default":true},"maxResults":{"type":"integer","minimum":1,"maximum":20,"description":"Max rows per input (each listed URL, ID or keyword; a single target counts as one input). All row types share this allowance. Each plan caps the rows of one request (BASIC 10, PRO 70, ULTRA 200, MEGA 500); larger values are lowered to your plan's cap. You pay per delivered row (Rows).","default":10,"example":3},"requestId":{"type":"string","pattern":"^[A-Za-z0-9._:-]{1,80}$","description":"Optional. Your id for this request: repeating it while the job runs returns the same job."}}},"example":{"location":"nantes","channel":"RENT","propertyType":"maison","scrapeDetails":false,"maxResults":3}}}},"responses":{"200":{"description":"Done within the request: the rows.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RowsPage"}}}},"404":{"description":"No results matched the query (nothing was billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid or missing parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"At capacity, too many running jobs, or rolling 24-hour row limit reached; retry after Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"The source could not be collected this time (not billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"504":{"description":"Synchronous timeout reached before completion; task cancelled (nothing was billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/health":{"get":{"operationId":"health","summary":"API health check","description":"Lightweight readiness check for this API. Never starts a collection and always bills 0 rows.","tags":["health"],"responses":{"200":{"description":"API is operational (0 rows).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthStatus"}}}},"503":{"description":"API is temporarily unavailable (not billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthStatus"}}}}}}}},"components":{"schemas":{"Row":{"type":"object","properties":{"id":{"type":"string","description":"Listing or agency identifier. Alternate listing identifiers may appear in cps and legacyId."},"cps":{"nullable":true,"type":"string","description":"Secondary SeLoger listing identifier, which may differ from id."},"legacyId":{"nullable":true,"description":"Legacy listing identifier when supplied by SeLoger."},"url":{"type":"string"},"source":{"type":"string"},"sourceLayer":{"nullable":true,"type":"string","description":"Page type: srp for a search result, ldp for a listing detail, srp+ldp for an enriched search row, or agency for a professional profile."},"sourceSearchUrl":{"nullable":true,"type":"string","description":"Search page URL that supplied this listing; absent for direct profile or listing inputs."},"brand":{"nullable":true,"type":"string","description":"Brand shown on the listing, such as seloger, bellesdemeures, or selogerneuf."},"portal":{"nullable":true,"type":"string","description":"Property portal attributed to the listing; falls back to its brand when unavailable."},"status":{"nullable":true,"type":"string","description":"Listing status as supplied by SeLoger, such as online."},"channel":{"nullable":true,"type":"string","description":"BUY for sale listings or RENT for rental listings."},"searchPropertyType":{"nullable":true,"type":"string","description":"Property category requested in the search."},"propertyType":{"nullable":true,"type":"string","description":"Property category supplied by the listing, such as appartement or maison."},"title":{},"headline":{"nullable":true,"type":"string","description":"Listing headline; may be the same as title."},"description":{"nullable":true,"type":"string"},"priceAmount":{},"priceFormatted":{},"pricePerSqm":{"nullable":true,"type":"number"},"priceLayout":{"nullable":true,"type":"string","description":"Price display format supplied by the listing detail page."},"chargesLabel":{"nullable":true,"type":"string","description":"Text indicating whether charges are included in the displayed price."},"deposit":{"description":"Rental deposit when shown on the listing detail page."},"priceAdditional":{"nullable":true,"type":"array","description":"Additional price or fee entries shown on the listing detail page.","items":{}},"rooms":{},"bedrooms":{"nullable":true,"type":"number"},"surface":{},"energyClass":{},"energy":{"nullable":true,"type":"object","description":"Available energy-performance information, including DPE details."},"address":{"nullable":true,"type":"object","description":"Available address components. Contact address objects use street, unit, locality, region, postalCode, country, and full; fields may be empty."},"city":{},"zipCode":{},"district":{"nullable":true,"type":"string"},"geometry":{"nullable":true,"type":"object","description":"Location as a GeoJSON Point with coordinates ordered longitude, latitude."},"features":{"nullable":true,"type":"object","description":"Available property features from the listing detail page."},"coOwnership":{"description":"Available co-ownership information from the listing detail page."},"provider":{"nullable":true,"type":"object","description":"Available agency summary, such as its name, logo, rating, and contact information. Also see org, phones, and web."},"contact":{"nullable":true,"type":"object","description":"Flags indicating whether the listing shows a contact form or phone information."},"images":{"nullable":true,"type":"array","description":"Available image URLs with duplicates removed.","items":{}},"imageCount":{"nullable":true,"type":"integer"},"tags":{"description":"Labels supplied with the listing."},"keyFacts":{"description":"Property facts shown on the search-result card."},"seo":{"description":"Search metadata supplied by the listing detail page."},"creationDate":{"nullable":true,"type":"string","description":"Advert creation timestamp when provided; not necessarily its publication date."},"updateDate":{"nullable":true,"type":"string","description":"Listing update timestamp when provided."},"rawData":{"nullable":true,"type":"object","description":"Additional source listing data; this object can be large."},"enriched":{"nullable":true,"type":"object","description":"Additional listing information matched to the search result when available."},"detailError":{"nullable":true,"type":"string","description":"Reason detail enrichment failed. The search-result row can still be delivered."},"externalBrandHost":{"nullable":true,"type":"string","description":"External website hostname when an enriched listing URL points outside seloger.com."},"engine":{"nullable":true,"type":"string","description":"Collection method metadata; not needed to interpret the property fields."},"phones":{"type":"array","description":"Available phone numbers as objects containing value and type.","items":{}},"emails":{"type":"array","description":"Published agency emails as objects containing value and type. Listing rows return an empty array.","items":{}},"geo":{"nullable":true,"type":"object","description":"Available coordinates as an object containing lat and lng, unlike the GeoJSON geometry field."},"person":{"description":"Individual contact information is not supplied; this field is null."},"org":{"nullable":true,"type":"object","description":"Available organization name and identifier, as name and id."},"web":{"nullable":true,"type":"object","description":"Available website URL and social links, as website and socials."},"leadSource":{"nullable":true,"type":"string","description":"Origin of contact information: search, detail, or entity for an agency profile."},"leadReveal":{"nullable":true,"type":"string","description":"Contact visibility indicator; visible means the information was publicly shown."},"leadAbsences":{"nullable":true,"type":"object","description":"Why each empty contact field is empty: not_verified (not checked on this row) or gated (listing emails, behind the contact form). A field that has a value has no entry. not_verified is not evidence that the agency has no such contact."},"schemaVersion":{"nullable":true,"type":"string","description":"Output row format version."},"scrapedAt":{"type":"string"}},"additionalProperties":true,"description":"One collected entity. Field availability depends on rowType and the source. Fields always present (a|b = at least one of them): rowType=agency: id, title, url; every row: id, title, priceAmount, url; rowType=srp: id, title, priceAmount, url; rowType=ldp: id, title, priceAmount, url."},"Error":{"type":"object","required":["error"],"properties":{"error":{"$ref":"#/components/schemas/ErrorDetail"}}},"ErrorDetail":{"type":"object","required":["code","message","retryable"],"properties":{"code":{"type":"string","example":"invalid_input"},"message":{"type":"string"},"retryable":{"type":"boolean"}}},"JobStatus":{"type":"object","properties":{"jobId":{"type":"string"},"status":{"type":"string","enum":["queued","running","succeeded","partial","failed","cancelled"]},"done":{"type":"boolean"},"rowsAvailable":{"type":"integer"},"rowsDelivered":{"type":"integer","description":"Rows already delivered (and billed) to you for this job."},"rowsLimit":{"type":"integer","description":"Most rows this job can deliver."},"estimatedFinishSec":{"type":"integer","description":"While running: estimated seconds until done."},"statusUrl":{"type":"string"},"resultsUrl":{"type":"string"},"expiresAt":{"type":"string","format":"date-time"},"retentionHours":{"type":"integer"},"error":{"$ref":"#/components/schemas/ErrorDetail"}}},"RowsPage":{"allOf":[{"$ref":"#/components/schemas/JobStatus"},{"type":"object","properties":{"offset":{"type":"integer"},"nextOffset":{"type":"integer"},"hasMore":{"type":"boolean"},"rowCount":{"type":"integer"},"rowsBilled":{"type":"integer","description":"Rows delivered by this response."},"rows":{"type":"array","items":{"$ref":"#/components/schemas/Row"}},"meta":{"type":"object","additionalProperties":true}}}]},"HealthStatus":{"type":"object","required":["ok","site","status","endpoints","rowsBilled"],"properties":{"ok":{"type":"boolean"},"site":{"type":"string"},"status":{"type":"string","enum":["operational","unavailable"]},"endpoints":{"type":"array","items":{"type":"string"}},"rowsBilled":{"type":"integer"}}}}}}