Realty in US

FREEMIUM
Verified
От Api Dojo | Обновлено il y a 17 jours | Business
Популярность

9.9 / 10

Задержка

1,613ms

Уровень обслуживания

99%

Health Check

N/A

Назад ко всем обсуждениям

List properties: sold - no results

Rapid account: Xarp
xarp
il y a 6 mois

Hi,

I am trying the properties/v3/list endpoint for sold properties, but it seems to yield much less results than the website. Am I doing something wrong here? See the difference:

API call in the rapidapi testing environment:
{
“limit”: 200,
“offset”: 0,
“postal_code”: “89131”,
“status”: [“sold”]
}
Response: 0 properties

Website:
https://www.realtor.com/realestateandhomes-search/89131/show-recently-sold

Shows: 25 properties sold in last 6 months

Thanks!

Rapid account: Chrisd 9 I Tm Ih Esx
chrisd-9iTmIhEsx Commented il y a 6 mois

I’m curious now as well. I read the discussion you mentioned, but didn’t find the answer.

Is it better to specify “location”: “89131, Las Vegas, NV” instead of “postal_code”: “89131”?

Or, conversely, if I’m looking for the data in an entire STATE such as NEVADA, would it be better to ask for the STATE instead of zip code by zip code?

Rapid account: Apidojo
apidojo Commented il y a 6 mois

Hello,

1/ You should try with an HTTP client such as postman.com
2/ The site automatically added some more property in the request, I have checked the source again, and here is the exact body request to get that 25 records :
{
“limit”: 200,
“offset”: 0,
“sold_date”: {
“min”: “2023-04-24”
},
“search_location”: {
“location”: “89131, Las Vegas, NV”
},
“status”: [
“sold”
],
“sort”: {
“direction”: “desc”,
“field”: “sold_price”
}
}

Regards.

Rapid account: Xarp
xarp Commented il y a 6 mois

Thanks again for your reply. I just tried the exact code you posted here, but it returns 0 results in the rapidapi testing environment. Am I doing something wrong? Do you get different results? I use properties/v3/list and pasted your code to the request body.

Rapid account: Apidojo
apidojo Commented il y a 6 mois

Hello,

I meant “89131, Las Vegas, NV” as value.
You may try this body request :
{
“limit”: 200,
“offset”: 0,
“status”: [
“sold”
],
“search_location”: {
“location”: “89131, Las Vegas, NV”
},
“sort”: {
“direction”: “desc”,
“field”: “list_date”
}
}
If you want the same order result, you should try sort parameter.

Regards.

Rapid account: Xarp
xarp Commented il y a 6 mois

Thanks for the reply. I checked the discussion, but I am not sure how it is relevant. Are you suggesting, that I should use county location instead of “postal_code”?

It seems that realtor website shows sold results for that zip code, but the API does not. See the link here please:
https://www.realtor.com/realestateandhomes-search/89131/show-recently-sold

I appreciate your help.

Thanks.

Rapid account: Apidojo
apidojo Commented il y a 6 mois

Hello,

You are interested in the discussion at https://rapidapi.com/apidojo/api/realty-in-us/discussions/93702

Regards.

Присоединяйтесь к обсуждению – добавьте комментарий ниже:

Войдите / Зарегистрируйтесь, чтобы публиковать новые комментарии