V2/Listings
Get listings
Returns a list of available properties on the platform. Supports JSON and XML response formats.
Query Parameters
api_keystring
API key for authentication
Header Parameters
Acceptstring
Expected response format: application/json or application/xml
Response Body
curl -X GET "https://pb.powerbroker.mx/v2/listings?api_key=string" \ -H "Accept: string"{
"listings": [
{
"id": 0,
"code": "string",
"title": "string",
"propertyType": "string",
"address": {
"country": "string",
"neighborhood": "string",
"city": "string",
"state": "string",
"postalCode": "string",
"address_1": "string",
"address_2": "string",
"fullAddress": "string",
"latitude": "string",
"longitude": "string"
},
"operationType": "string",
"price": {
"currency": "string",
"amount": "string"
},
"description": "string",
"largeDescription": "string",
"creator": {
"id": 0,
"name": "string",
"paternalLastname": "string",
"maternalLastname": "string",
"email": "string"
},
"boss": {
"id": 0,
"name": "string",
"paternalLastname": "string",
"maternalLastname": "string"
},
"officeId": 0,
"office": {
"id": 0,
"phone": "string",
"email": "string",
"name": "string"
},
"yearBuilt": 0,
"url": "string",
"defaultPhoto": "string",
"unitOfMeasure": {
"id": 0,
"name": "string"
},
"propertyDimension": "string",
"frontDimension": "string",
"landUse": "string",
"photos": [
"string"
],
"createdAt": "string",
"updatedAt": "string"
}
]
}Empty
Empty