TocToc Search API returns Chilean homes for sale or for rent as JSON, 20 per page by default. Send region_id, commune_id or both (use the autocomplete route to find them). Filter by property type, state, publisher type, agency, price in UF or pesos, bedrooms, bathrooms and useful area. Sort by relevance, price or publication date. Every item has the price in UF and pesos, rooms and area as numbers or min and max ranges, commune and region with lat and lng, up to 40 photos, the url, the publishing agency, offer data, views and publication age in hours.
Filters are never ignored. A result that breaks a requested filter is refused as a whole with a 503 error. An item with an empty value for a requested filter, such as an unknown area, is not returned and is counted in pagination.filtered_out. A page is never labelled as another page. A page past the last one returns an empty list.
Good to know. New projects show a range for rooms and area and a starting price. A filter matches a project when its range overlaps the filter. Failed requests are not billed.
Run this endpoint
Endpoint
Parameters
Start with the required fields, then add optional filters only when your use case needs them.
Runnable path
This endpoint has no required query parameters.
20 optional filters available.
string
Optional
sale (default) or rent.
example
integer
Optional
Region id from the autocomplete route. Send region_id, commune_id or both.
1234567890
integer
Optional
Commune id from the autocomplete route.
1234567890
string
Optional
house, apartment, office, commercial, land, plot, storage or parking.
example
string
Optional
new or used. Sale only.
example
string
Optional
professional (brokers and developers) or private.
example
string
Optional
Exact agency name as returned by the agencies route. A name with no exact match returns a 422 error.
example
string
Optional
broker or developer. Only needed when a broker and a developer share one name.
example
string
Optional
Currency of the price filter: uf (default for sale) or clp (default for rent).
USD
number
Optional
Minimum price in the chosen currency.
10
number
Optional
Maximum price in the chosen currency.
10
integer
Optional
Minimum bedrooms. 0 is a studio.
10
integer
Optional
Maximum bedrooms.
10
integer
Optional
Minimum bathrooms.
10
integer
Optional
Maximum bathrooms.
10
number
Optional
Minimum useful area in square meters.
10
number
Optional
Maximum useful area in square meters.
10
string
Optional
relevance (default), price_asc, price_desc, newest or oldest.
relevance
integer
Optional
One-based page number, 1 to 500 (default 1).
1
integer
Optional
Listings per page, 1 to 50 (default 20).
10
Response Schema
Example response fields are illustrative; inspect the JSON before integrating.
Example response fields
Scan these fields before integrating.
data
meta
success
{
"data": {
"items": [
{
"id": 1982996,
"url": "https://www.toctoc.com/venta/departamento/metropolitana/santiago/r_4061d7a340b5f34bf688ec6c1eb1475a8ef0f417",
"badge": null,
"offer": null,
"price": {
"uf": 3125,
"clp": 128799281,
"listed_in": "UF"
},
"title": "Edificio Rosas 1444",
"views": 0,
"agency": {
"id": 59,
"logo": "https://d1cfu8v5n1wsm.cloudfront.net/toctoc/logos/empresa/59/2026082042328934803.jpg",
"name": "Euroinmobiliaria",
"type": "developer"
},
"images": [
"https://d1cfu8v5n1wsm.cloudfront.net/toctoc/fotos/20220330/1982996/2022033020268707763.jpg",
"https://d1cfu8v5n1wsm.cloudfront.net/toctoc/fotos/20220330/1982996/2022033023475177916.jpg",
"https://d1cfu8v5n1wsm.cloudfront.net/toctoc/fotos/20220330/1982996/2022033023481427853.jpg"
],
"area_m2": {
"max": 49.33,
"min": 29
},
"hash_id": "4061d7a340b5f34bf688ec6c1eb1475a8ef0f417",
"bedrooms": {
"max": 2,
"min": 1
},
"location": {
"region": "Metropolitana",
"commune": "Santiago",
"commune_id": 339,
"coordinates": {
"lat": -33.435794,
"lng": -70.6577694
}
},
"bathrooms": {
"max": 2,
"min": 1
},
"condition": "new",
"operation": "Venta Nuevo",
"main_image": "https://d1cfu8v5n1wsm.cloudfront.net/toctoc/fotos/20220330/1982996/2022033020268707763.jpg",
"description": "Departamentos de 1 y 2 dormitorios con todas las bondades y beneficios de un edificio multifamily, con terminaciones de mayor calidad y durabilidad, amplios y c\u00f3modos espacios comunes y sistema de seguridad de alto nivel. - Piso porcelanato",
"is_featured": false,
"listing_type": "sale",
"property_type": "Departamento",
"published_hours_ago": 40101
}
],
"pagination": {
"page": 1,
"total": 6986,
"per_page": 20,
"total_pages": 350,
"filtered_out": 0,
"has_next_page": true
},
"applied_filters": {
"sort": "relevance",
"operation": "sale",
"region_id": 13,
"commune_id": 339,
"property_type": "apartment"
}
},
"meta": {
"billable": true,
"endpoint_family": "search"
},
"success": true
}
Errors
Handle these documented responses before retrying or showing customer-facing failures.
Validation Error
A parameter is missing or invalid. This response is not billed.
{
"errors": {
"region_id": [
"Send region_id or commune_id. Use the autocomplete route to find them."
]
},
"message": "The request validation failed"
}Upstream Unavailable
TocToc could not be reached or returned data that does not match the request. This response is not billed and can be retried.
{
"meta": {
"billable": false,
"retryable": true,
"endpoint_family": "search"
},
"error": {
"code": "UPSTREAM_UNAVAILABLE",
"message": "TocToc could not be reached. Please retry shortly."
},
"success": false
}Generate Code with AI
Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.
Try It Live
Test this endpoint in our interactive playground with real data.