Discover/urbania.pe API
live

urbania.pe APIurbania.pe

Search Peru real estate listings, get location suggestions, and retrieve full property details including price, features, and images via the Urbania API.

Endpoints
3
Updated
14d ago
Try it
Max number of suggestions to return.
The location name to search for (e.g., 'Lima', 'Miraflores', 'San Isidro').
api.parse.bot/scraper/674ae4c8-a300-4438-80a7-ef1b86db7513/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/674ae4c8-a300-4438-80a7-ef1b86db7513/get_location_suggestions?limit=10&query=Lima' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 3 totalclick to expand

Search for location suggestions by name to find the correct location_id for use in search_listings. Returns an array of matching locations with their IDs and labels.

Input
ParamTypeDescription
limitintegerMax number of suggestions to return.
queryrequiredstringThe location name to search for (e.g., 'Lima', 'Miraflores', 'San Isidro').
Response
{
  "type": "object",
  "fields": {
    "data": "array of location suggestion objects, each with id, name, label, labelSuggest, and tokens",
    "status": "string ('success')"
  },
  "sample": {
    "data": [
      {
        "id": "V1-B-4368",
        "name": "Lima",
        "label": "provincia",
        "tokens": [
          "lima"
        ],
        "labelSuggest": "Lima"
      },
      {
        "id": "V1-D-51119497",
        "name": "Miraflores",
        "label": "barrio",
        "tokens": [
          "lima",
          "miraflores"
        ],
        "labelSuggest": "Miraflores, Lima, Lima"
      }
    ],
    "status": "success"
  }
}

About the urbania.pe API

The Urbania API provides access to Peru's Urbania.pe real estate platform through 3 endpoints covering location lookup, listing search, and full property detail retrieval. Use search_listings to filter properties by price range, area, currency, and sort order, then call get_listing_detail with a listing ID to fetch complete data including amenities, advertiser info, images, and publication date.

Endpoints Overview

The API exposes three endpoints. get_location_suggestions accepts a query string (e.g., 'Miraflores' or 'San Isidro') and returns an array of location objects, each carrying an id, name, label, labelSuggest, and tokens field. The returned id is what you pass as a location filter in search_listings. An optional limit parameter caps the number of results.

Searching Listings

search_listings is a POST endpoint that accepts a range of filters: price_min and price_max (paired with currency_id1 for Soles, 2 for USD), area_min and area_max in square meters, a free-text query, and a sort value of relevance, price_asc, price_desc, or newest. Results are paginated; the response data object includes total (formatted string), page, total_pages, and an items array of listing summaries with IDs you can pass downstream.

Listing Detail

get_listing_detail takes a single listing_id string and returns a detailed object covering id, title, url, property_type, address, location, features, description, advertiser, and images. This is the endpoint to use when you need the full picture on a specific property: room counts, surface area breakdowns, and contact information for the advertiser.

Coverage Notes

All listings are sourced from Urbania.pe, which focuses on the Peruvian market. Currency filtering supports Soles and USD. Pagination is available through the page parameter on search_listings, allowing iteration across large result sets.

Common use cases
  • Build a property price tracker that monitors Soles vs. USD listing prices over time using search_listings with currency_id filters.
  • Populate a neighborhood comparison tool by querying get_location_suggestions for Lima districts and aggregating listing counts and median prices.
  • Feed a real estate alert service that pages through search_listings results sorted by newest to catch new listings as they appear.
  • Generate property detail pages for a Peru-focused real estate aggregator using get_listing_detail for full descriptions, features, and images.
  • Analyze supply of properties in specific size bands by filtering area_min and area_max across multiple Lima locations.
  • Display advertiser contact information and listing URLs in a CRM by pulling advertiser and url fields from get_listing_detail.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does Urbania.pe have an official developer API?+
Urbania.pe does not publish a public developer API or API documentation for third-party use.
What location data does `get_location_suggestions` return, and how is it used with `search_listings`?+
get_location_suggestions returns an array of objects each containing id, name, label, labelSuggest, and tokens for each matching place name. The id field from these results is the value you supply as a location filter when calling search_listings, linking the two endpoints together.
Does `search_listings` support filtering by property type (e.g., apartment vs. house)?+
The current search_listings inputs cover price range, area, currency, keyword query, sort order, and page. A dedicated property type filter parameter is not currently exposed. You can fork the API on Parse and revise it to add a property type filter endpoint.
Does `get_listing_detail` return historical price data or price change history for a property?+
No. get_listing_detail returns the current listing price and features at the time of the request — fields like title, description, features, advertiser, and images. Historical pricing is not part of the response. You can fork the API on Parse and revise it to add a price history endpoint if Urbania exposes that data.
How does pagination work in `search_listings`?+
The response data object includes page (current page integer), total_pages (total number of pages), and total (a formatted string of total results). Pass incrementing page values in successive requests to iterate through all results. There is no cursor-based pagination — only numeric page offsets.
Page content last updated . Spec covers 3 endpoints from urbania.pe.
Related APIs in Real EstateSee all →
idealista.pt API
Search and filter property listings across Portugal by location, price, and size, then access detailed information about each property including its characteristics and pricing history. Monitor how property prices change over time to help you make informed decisions about buying or selling real estate.
cookcountyil.gov API
Search Cook County property tax records, look up court cases, find code violations, and get department contact information all in one place. Quickly access public records and government contacts without navigating multiple websites.
amberstudent.com API
Search student accommodation listings across popular cities and access comprehensive property information including room types, pricing trends, and tenant reviews. Get detailed insights into student housing options to compare amenities, prices, and community feedback all in one place.
immobiliare.it API
Search Italian property listings for sale or rent, browse real estate agencies, and explore price trends across Italian cities — all via immobiliare.it.
homes.com API
Search for real estate agents and properties available for sale or rent, while accessing detailed agent profiles with their 1-year transaction history, active listings, and performance statistics. Get comprehensive property details and agent information all in one place to help you find the right agent or property that matches your needs.
beijing.anjuke.com API
Search Beijing real estate listings for second-hand homes and rentals, view detailed property information and price trends, and discover agents and community-specific listings. Get access to the Beijing house price index to track market movements and make informed decisions about property purchases or rentals.
58.com Housing API
Access real-time housing market data from 58.com (58同城), China's largest classifieds platform. Search house price trends across 31+ major Chinese cities at city, district, and neighborhood levels, and browse hot new property developments with prices, floor plans, and location details.
zapimoveis.com.br API
Search and filter real estate listings across Brazil on ZAP Imóveis — the country's largest property portal. Retrieve listings for sale or rent with detailed attributes including price, location, size, bedrooms, bathrooms, parking, and amenities. Supports location autocomplete, property type discovery, and full listing detail retrieval.