SERP API
NoBroker
The same /v1/search endpoint with engine=nobroker returns the homes owners list on NoBroker as JSON: for rent or for sale in six Indian cities, rent and deposit in INR, 26 a page.
Send the API key in the X-API-Key header, or as the api_key query parameter (Authentication). NoBroker searches can also run as async tasks with pingback_url.
Parameters
| Field | Type | Description |
|---|---|---|
engine | string | required Set it to nobroker.Values:nobroker |
q | string | required The city: Bangalore, Mumbai, Pune, Chennai, Hyderabad or Delhi (Bengaluru and New Delhi work too). Any other city answers 400 invalid_query. location works too.Example: Bangalore |
type | string | optional Homes for rent, or for sale. status works too. Any other value answers 400 invalid_type.Values:for_rentfor_saleDefault: for_rent |
page | integer | optional The page of listings, from 1 to 100. Each page has up to 26; search_information.total_pages says how many there are.Default: 1 |
num_pages | integer | optional How many pages to fetch in this call, from 1 to 10, starting at page. Each page fetched costs one credit; page + num_pages - 1 can be at most 100.Default: 1 |
response_type | string | optional json: the listings. html: NoBroker's raw answer for the fetched pages as text in html, without listings. both: the listings and html.Values:jsonhtmlbothDefault: json |
pingback_url | string | optional Queue the search and get the answer later; see Async tasks. |
Rent and deposit
For rentals
price is the monthly rent and deposit the deposit, both in Indian rupees (currency INR). One call fetches 1 to 10 pages of 26 listings.What comes back
| Field | Type | Description |
|---|---|---|
search_metadata | object | About this request. |
id | string | A unique id for the search. |
status | string | Success when NoBroker answered. |
created_at | string | When the search ran, in ISO 8601 (UTC). |
pages | integer | Pages fetched in this call. |
credits_charged | integer | Credits this request cost: one per page fetched. |
task_id | string | Only for async tasks: the task the result belongs to. |
search_parameters | object | What the search used: engine, q (Bengaluru and New Delhi as NoBroker's bangalore and delhi), type, page, num_pages (when above 1) and response_type. |
search_information | object | About the listings. |
total_results | integer | How many homes match the city and type. |
page, per_page, total_pages | integer | This page, listings a page (26) and how many pages there are. |
pages_fetched | integer | Pages this call fetched. |
results_on_page | integer | How many listings this answer has (all fetched pages). |
listings | array | The homes, each with position (1, 2, 3... counted across pages, so page 2 starts at 27) and the fields below. |
property_id, url, title | string | The listing's id, its page on nobroker.in and its title. |
city, locality, country | string | The city (in lower case), the locality (like Koramangala) and IN. |
latitude, longitude | number | The home on the map; often the city's centre on NoBroker, not the home. |
price, deposit, currency | number / string | The monthly rent (or the sale price), the deposit, both in Indian rupees, and INR. |
bedrooms, bathrooms, balconies | integer / null | BHK (0 for a 1 RK), bathrooms and balconies. |
living_area, living_area_unit | number / string | The home's size and its unit (sqft). |
property_type, listing_type, furnishing | string | The kind of home (Apartment, Independent House...), rent or sale, and Full, Semi or Unfurnished. |
floor, total_floors, facing, parking | integer / string | The floor, the floors in the building, the facing and the parking (Bike and Car...). |
property_age | integer / null | The building's age in years. |
building_name, builder_name | string | The building or society, and its builder when NoBroker names one. |
image_url, photo_count | string / integer | The main photo and how many photos there are. |
listing_date, updated_date | string | When the home was listed and last updated, in ISO 8601. |
owner_name | string | The name the owner lists under. |
description | string / null | The listing's text when the owner wrote one. |
source | string | Always nobroker. |
html | string | response_type html or both: NoBroker's raw answer for the fetched pages, as text. |
Homes for sale in Hyderabad, two pages
Request
curl -G "https://api.scraperdata.com/v1/search" \
-H "X-API-Key: YOUR_API_KEY" \
--data-urlencode "engine=nobroker" \
--data-urlencode "q=Hyderabad" \
--data-urlencode "type=for_sale" \
--data-urlencode "num_pages=2"Errors
Errors never cost credits. Every error code is on the Errors page; these are the NoBroker ones:
| Field | Type | Description |
|---|---|---|
missing_query, invalid_query | 400 | No q, one longer than 120 characters, or a city NoBroker does not cover. |
invalid_type | 400 | type (or status) is not for_rent or for_sale. |
invalid_page | 400 | page is not a whole number from 1 to 100. |
invalid_num_pages | 400 | num_pages is not 1 to 10, or page + num_pages - 1 goes past page 100. |
invalid_filter | 400 | bedrooms, min_price or max_price was sent: NoBroker searches do not take them. |
invalid_response_type | 400 | response_type is not json, html or both. |
no_results | 404 | No homes for this city and type, or the page is past the last one. |
upstream_error, upstream_unavailable, upstream_timeout | 502 / 503 / 504 | NoBroker could not be reached in time. Retry in a few seconds. |
400 Bad Request
{
"error": {
"code": "invalid_query",
"message": "NoBroker covers six cities: Bangalore, Mumbai, Pune, Chennai, Hyderabad and Delhi."
},
"charged": false
}Credits
Each page fetched costs one credit (26 listings a page, up to 10 pages a call). Failed searches, cities NoBroker does not cover and pages past the last one are free.