https://api.mlsdataiq.com/v2/ endpoints with api_key as a query parameter.GET /v2/get_property_data?city=Philadelphia&state_code=PA&api_key=YOUR_API_KEY_HERE
All endpoints require an API key as a query parameter. Example:
?api_key=YOUR_API_KEY_HERE
Click on any endpoint below to view comprehensive documentation:
Returns all property data from the database. This endpoint requires only an API key and supports pagination.
| Name | Type | Description | Required |
|---|---|---|---|
| api_key | string | Your API key | Yes |
| Name | Type | Description | Required |
|---|---|---|---|
| page | integer | Page number for paginationpage=2 | No (default: 1) |
| per_page | integer | Results per page (max: 200)per_page=20 | No (default: 10) |
GET /v2/get_all_data?api_key=YOUR_API_KEY_HERE
GET /v2/get_all_data?api_key=YOUR_API_KEY_HERE&page=1&per_page=50
{
"page": 1,
"per_page": 10,
"total": 1500000,
"data": [
{
"property_id": 12345,
"listing_id": 67890,
"status": "for_sale",
"list_price": 350000,
"address": "123 Main St",
"city": "Philadelphia",
"state_code": "PA",
"postal_code": "19103",
"state": "Pennsylvania",
"property_type": "single_family",
"beds": 3,
"baths": 2,
"sqft": 1500
}
],
"next_page": true,
"execution_time": 0.1234
}
This endpoint may return the following errors:
{
"error": "Invalid or missing API key"
}
HTTP Status: 401 - Unauthorized
{
"error": "per_page parameter cannot exceed 200",
"max_per_page": 200,
"provided_per_page": 500
}
HTTP Status: 400 - Bad Request
Returns full property details. You can filter by any combination of the parameters above.
| Name | Type | Description & Example Values | Required |
|---|---|---|---|
| property_id | string | Filter by property IDproperty_id=3003585881 | No |
| postal_code | string | Filter by postal codepostal_code=16001 | No |
| state_code | string | Filter by state code (case-insensitive)state_code=PA, state_code=CA | No |
| city | string | Filter by city (case-insensitive)city=Philadelphia, city=Los Angeles | No |
| status | string | Property status:for_sale, ready_to_build, for_rent, sold, off_market, other, new_community | No |
| property_type | string | Property type:single_family, mobile, land, townhomes, condos, multi_family | No |
| price_min | integer | Minimum list price (>=)price_min=250000 | No |
| price_max | integer | Maximum list price (<=)price_max=750000 | No |
| sqft_min | integer | Minimum square feet (>=)sqft_min=800 | No |
| sqft_max | integer | Maximum square feet (<=)sqft_max=2000 | No |
| min_price_per_sqft | integer | Minimum price per sqft (>=)min_price_per_sqft=200 | No |
| max_price_per_sqft | integer | Maximum price per sqft (<=)max_price_per_sqft=500 | No |
| beds | list of integers | Exact match(s), comma-separatedbeds=0,1,2 | No |
| baths | list of integers | Exact match(s), comma-separatedbaths=1,3 | No |
| stories | list of integers | Exact match(s), comma-separatedstories=1,2 | No |
| page | integer | Page number for paginationpage=2 | No (default: 1) |
| per_page | integer | Results per page (max: 200)per_page=20 | No (default: 10) |
| api_key | string | Your API keyapi_key=YOUR_API_KEY_HERE | Yes |
/v2/get_property_data?property_id=3003585881&api_key=YOUR_API_KEY_HERE/v2/get_property_data?state_code=CA&api_key=YOUR_API_KEY_HERE/v2/get_property_data?city=Philadelphia&api_key=YOUR_API_KEY_HERE/v2/get_property_data?postal_code=16001&api_key=YOUR_API_KEY_HERE/v2/get_property_data?postal_code=19103&state_code=PA&api_key=YOUR_API_KEY_HERE/v2/get_property_data?city=Philadelphia&state_code=PA&api_key=YOUR_API_KEY_HERE/v2/get_property_data?city=Philadelphia&state_code=PA&status=for_sale&property_type=single_family&api_key=YOUR_API_KEY_HERE/v2/get_property_data?price_min=250000&price_max=750000&api_key=YOUR_API_KEY_HERE/v2/get_property_data?sqft_min=800&sqft_max=2000&api_key=YOUR_API_KEY_HERE/v2/get_property_data?min_price_per_sqft=200&max_price_per_sqft=500&api_key=YOUR_API_KEY_HERE/v2/get_property_data?beds=2,3&baths=2&api_key=YOUR_API_KEY_HERE/v2/get_property_data?stories=1,2&api_key=YOUR_API_KEY_HEREGET /v2/get_property_data?city=Philadelphia&state_code=PA&status=for_sale&property_type=single_family&price_min=300000&price_max=600000&api_key=YOUR_API_KEY_HERE
{
"page": 1,
"per_page": 10,
"total": 1,
"data": [
{
"property_id": 12345,
"listing_id": 67890,
"status": "for_sale",
"list_price": 350000,
"address": "123 Main St",
"city": "Philadelphia",
"state_code": "PA",
"postal_code": "19103",
"state": "Pennsylvania",
"property_type": "single_family",
"beds": 3,
"baths": 2,
"sqft": 1500,
"price_per_sqft": 233
}
],
"next_page": false,
"execution_time": 0.0123
}
status or property_type may return a large dataset. Maximum 200 results per page to ensure optimal performance.
This endpoint may return the following errors:
{
"error": "Invalid parameter(s)",
"invalid_params": ["badparam"],
"valid_params": ["property_id", "postal_code", "state_code", "city", "status", "property_type", "price_min", "price_max", "sqft_min", "sqft_max", "min_price_per_sqft", "max_price_per_sqft", "beds", "baths", "stories", "page", "per_page", "api_key"]
}
HTTP Status: 400 - Bad Request
{
"error": "Invalid or missing API key"
}
HTTP Status: 401 - Unauthorized
{
"error": "At least one filter parameter (property_id, postal_code, state_code, city, status, property_type, price_min, price_max, sqft_min, sqft_max, min_price_per_sqft, max_price_per_sqft, beds, baths, stories) is required.",
"valid_params": ["property_id", "postal_code", "state_code", "city", "status", "property_type", "price_min", "price_max", "sqft_min", "sqft_max", "min_price_per_sqft", "max_price_per_sqft", "beds", "baths", "stories", "page", "per_page", "api_key"]
}
HTTP Status: 400 - Bad Request
Returns key agent fields.
| Name | Type | Description & Example Values | Required |
|---|---|---|---|
| property_id | string | Filter by property IDproperty_id=3003585881 | No |
| postal_code | string | Filter by postal codepostal_code=16001 | No |
| state_code | string | Filter by state code (case-insensitive)state_code=PA, state_code=CA | No |
| city | string | Filter by city (case-insensitive)city=Philadelphia, city=Los Angeles | No |
| status | string | Property status:for_sale, ready_to_build, for_rent, sold, off_market, other, new_community | No |
| property_type | string | Property type:single_family, mobile, land, townhomes, condos, multi_family | No |
| price_min | integer | Minimum list price (>=)price_min=250000 | No |
| price_max | integer | Maximum list price (<=)price_max=750000 | No |
| sqft_min | integer | Minimum square feet (>=)sqft_min=800 | No |
| sqft_max | integer | Maximum square feet (<=)sqft_max=2000 | No |
| min_price_per_sqft | integer | Minimum price per sqft (>=)min_price_per_sqft=200 | No |
| max_price_per_sqft | integer | Maximum price per sqft (<=)max_price_per_sqft=500 | No |
| beds | list of integers | Exact match(s), comma-separatedbeds=0,1,2 | No |
| baths | list of integers | Exact match(s), comma-separatedbaths=1,3 | No |
| stories | list of integers | Exact match(s), comma-separatedstories=1,2 | No |
| page | integer | Page number for paginationpage=2 | No (default: 1) |
| per_page | integer | Results per page (max: 200)per_page=20 | No (default: 10) |
| api_key | string | Your API keyapi_key=YOUR_API_KEY_HERE | Yes |
/v2/get_agent_data?city=Philadelphia&state_code=PA&status=for_sale&property_type=single_family&api_key=YOUR_API_KEY_HERE/v2/get_agent_data?property_id=3003585881&api_key=YOUR_API_KEY_HERE/v2/get_agent_data?state_code=CA&api_key=YOUR_API_KEY_HERE/v2/get_agent_data?city=Philadelphia&api_key=YOUR_API_KEY_HERE/v2/get_agent_data?postal_code=16001&api_key=YOUR_API_KEY_HERE/v2/get_agent_data?postal_code=19103&state_code=PA&api_key=YOUR_API_KEY_HERE/v2/get_agent_data?city=Philadelphia&state_code=PA&api_key=YOUR_API_KEY_HERE/v2/get_agent_data?price_min=300000&price_max=600000&api_key=YOUR_API_KEY_HERE/v2/get_agent_data?sqft_min=800&sqft_max=2000&api_key=YOUR_API_KEY_HERE/v2/get_agent_data?min_price_per_sqft=200&max_price_per_sqft=500&api_key=YOUR_API_KEY_HERE/v2/get_agent_data?beds=2,3&baths=2&api_key=YOUR_API_KEY_HERE/v2/get_agent_data?stories=1,2&api_key=YOUR_API_KEY_HEREGET /v2/get_agent_data?city=Philadelphia&state_code=PA&status=for_sale&property_type=single_family&price_min=300000&price_max=600000&api_key=YOUR_API_KEY_HERE
{
"page": 1,
"per_page": 10,
"total": 1,
"data": [
{
"fulfillment_id": "1265276",
"nrds_id": "721511511",
"name": "Matin Haghkar",
"type": "seller",
"email": "matin.haghkar@remax.net",
"href": "http://www.zillow.com/m/profile/matin-haghkar/",
"state_license": "RS123456",
"number": "2154223711",
"realtor_agent_url": "https://realtor.com/realestateagents/Matin-Haghkar_Philadelphia_PA_1265276_884884872"
}
],
"next_page": false,
"execution_time": 0.0123
}
This endpoint may return the following errors:
{
"error": "Invalid parameter(s)",
"invalid_params": ["badparam"],
"valid_params": ["property_id", "postal_code", "state_code", "city", "status", "property_type", "price_min", "price_max", "sqft_min", "sqft_max", "min_price_per_sqft", "max_price_per_sqft", "beds", "baths", "stories", "page", "per_page", "api_key"]
}
HTTP Status: 400 - Bad Request
{
"error": "Invalid or missing API key"
}
HTTP Status: 401 - Unauthorized
{
"error": "At least one filter parameter (property_id, postal_code, state_code, city, status, property_type, price_min, price_max, sqft_min, sqft_max, min_price_per_sqft, max_price_per_sqft, beds, baths, stories) is required.",
"valid_params": ["property_id", "postal_code", "state_code", "city", "status", "property_type", "price_min", "price_max", "sqft_min", "sqft_max", "min_price_per_sqft", "max_price_per_sqft", "beds", "baths", "stories", "page", "per_page", "api_key"]
}
HTTP Status: 400 - Bad Request
{
"error": "per_page parameter cannot exceed 200",
"max_per_page": 200,
"provided_per_page": 500
}
HTTP Status: 400 - Bad Request
Returns detailed agent information including bio, contact details, ratings, listings, and more. Requires exactly one of the three identifier parameters.
| Name | Type | Description | Required |
|---|---|---|---|
| profile_id | string | Agent profile IDprofile_id=56c9490589a68901006eb677 | One of three required |
| fulfillment_id | string | Agent fulfillment IDfulfillment_id=1265276 | One of three required |
| nrds_id | string | Agent NRDS IDnrds_id=721511511 | One of three required |
| api_key | string | Your API keyapi_key=YOUR_API_KEY_HERE | Yes |
/v2/get_agent_details?profile_id=56c9490589a68901006eb677&api_key=YOUR_API_KEY_HERE/v2/get_agent_details?fulfillment_id=1265276&api_key=YOUR_API_KEY_HERE/v2/get_agent_details?nrds_id=721511511&api_key=YOUR_API_KEY_HEREGET /v2/get_agent_details?profile_id=56c9490589a68901006eb677&api_key=YOUR_API_KEY_HERE
{
"fulfillment_id": "1265276",
"id": "56c9490589a68901006eb677",
"fullname": "Matin Haghkar",
"email": "agent@example.com",
"website": "https://matinhaghkar.com",
"bio": "Experienced real estate agent with 10+ years in the Philadelphia market...",
"is_paid": true,
"is_realtor": true,
"designations": ["GRI", "CRS"],
"avatar": {
"initials": "MH",
"url": "https://example.com/avatar.jpg"
},
"broker": {
"name": "RE/MAX Elite",
"website": "https://remaxelite.com"
},
"ratings_reviews": {
"average_rating": 4.8,
"reviews_count": 127
},
"experience": {
"first_year": 2010,
"label": "14+ years"
},
"phones": [
{"type": "mobile", "value": "215-555-0123"}
],
"license_number": "RS123456",
"license_state": "PA",
"social_media": {
"facebook": {"href": "https://facebook.com/matinhaghkar"},
"linkedin": {"href": "https://linkedin.com/in/matinhaghkar"}
},
"execution_time": 0.1234
}
This endpoint may return the following errors:
{
"error": "Invalid parameter(s)",
"invalid_params": ["badparam"],
"valid_params": ["profile_id", "fulfillment_id", "nrds_id", "api_key"]
}
HTTP Status: 400 - Bad Request
{
"error": "Invalid or missing API key"
}
HTTP Status: 401 - Unauthorized
{
"error": "Exactly one parameter (profile_id, fulfillment_id, or nrds_id) is required.",
"valid_params": ["profile_id", "fulfillment_id", "nrds_id", "api_key"]
}
HTTP Status: 400 - Bad Request
{
"error": "Result did not found."
}
HTTP Status: 200 - Success (but with error in response)
page and per_page.