Beike resale housing listing by city id and house code
justoneapi.x.beike-ershoufang-detail-v1Retrieves a Beike resale-housing listing by city ID and house code.
- Price
- Price pendingAt provider cost
- Success rate
- —No success-rate data yetNo success-rate data yet
- Latency p50
- ——
- Last verified
- —Not verified yet
GEThttps://toolswitch.dev/v1/tools/justoneapi.x.beike-ershoufang-detail-v1Preview- Uses platform quota
- Synchronous response
- Reads public data
Parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| Query parameters | ||||
cityId | string | Required | The numeric Beike city identifier. | |
houseCode | string | Required | The unique identifier for the property listing. | |
- Query parameters
cityIdstringRequiredThe numeric Beike city identifier.
houseCodestringRequiredThe unique identifier for the property listing.
Code samples
Replace $TOOLSWITCH_KEY with the key you created in the console.
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/justoneapi.x.beike-ershoufang-detail-v1' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/justoneapi.x.beike-ershoufang-detail-v1",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/justoneapi.x.beike-ershoufang-detail-v1", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());This gateway API is in preview; its URL and authentication may change. The example parameters are sample data.