curl --request POST \
--url https://api.anysite.io/api/yahoo/realestate/listings/search \
--header 'Content-Type: application/json' \
--header 'access-token: <api-key>' \
--data '
{
"count": 2,
"timeout": 300,
"city": "<string>",
"rent_min": 1,
"rent_max": 1,
"area_min": 1,
"area_max": 1,
"walk_max": 2,
"layouts": [],
"building_types": [],
"structures": [],
"facets": [],
"rent_conditions": [],
"online": [],
"keyword": "<string>",
"sort": "newest"
}
'import requests
url = "https://api.anysite.io/api/yahoo/realestate/listings/search"
payload = {
"count": 2,
"timeout": 300,
"city": "<string>",
"rent_min": 1,
"rent_max": 1,
"area_min": 1,
"area_max": 1,
"walk_max": 2,
"layouts": [],
"building_types": [],
"structures": [],
"facets": [],
"rent_conditions": [],
"online": [],
"keyword": "<string>",
"sort": "newest"
}
headers = {
"access-token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'access-token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
count: 2,
timeout: 300,
city: '<string>',
rent_min: 1,
rent_max: 1,
area_min: 1,
area_max: 1,
walk_max: 2,
layouts: [],
building_types: [],
structures: [],
facets: [],
rent_conditions: [],
online: [],
keyword: '<string>',
sort: 'newest'
})
};
fetch('https://api.anysite.io/api/yahoo/realestate/listings/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.anysite.io/api/yahoo/realestate/listings/search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'count' => 2,
'timeout' => 300,
'city' => '<string>',
'rent_min' => 1,
'rent_max' => 1,
'area_min' => 1,
'area_max' => 1,
'walk_max' => 2,
'layouts' => [
],
'building_types' => [
],
'structures' => [
],
'facets' => [
],
'rent_conditions' => [
],
'online' => [
],
'keyword' => '<string>',
'sort' => 'newest'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"access-token: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.anysite.io/api/yahoo/realestate/listings/search"
payload := strings.NewReader("{\n \"count\": 2,\n \"timeout\": 300,\n \"city\": \"<string>\",\n \"rent_min\": 1,\n \"rent_max\": 1,\n \"area_min\": 1,\n \"area_max\": 1,\n \"walk_max\": 2,\n \"layouts\": [],\n \"building_types\": [],\n \"structures\": [],\n \"facets\": [],\n \"rent_conditions\": [],\n \"online\": [],\n \"keyword\": \"<string>\",\n \"sort\": \"newest\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("access-token", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.anysite.io/api/yahoo/realestate/listings/search")
.header("access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"count\": 2,\n \"timeout\": 300,\n \"city\": \"<string>\",\n \"rent_min\": 1,\n \"rent_max\": 1,\n \"area_min\": 1,\n \"area_max\": 1,\n \"walk_max\": 2,\n \"layouts\": [],\n \"building_types\": [],\n \"structures\": [],\n \"facets\": [],\n \"rent_conditions\": [],\n \"online\": [],\n \"keyword\": \"<string>\",\n \"sort\": \"newest\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.anysite.io/api/yahoo/realestate/listings/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["access-token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"count\": 2,\n \"timeout\": 300,\n \"city\": \"<string>\",\n \"rent_min\": 1,\n \"rent_max\": 1,\n \"area_min\": 1,\n \"area_max\": 1,\n \"walk_max\": 2,\n \"layouts\": [],\n \"building_types\": [],\n \"structures\": [],\n \"facets\": [],\n \"rent_conditions\": [],\n \"online\": [],\n \"keyword\": \"<string>\",\n \"sort\": \"newest\"\n}"
response = http.request(request)
puts response.read_body[
{
"id": "<string>",
"url": "<string>",
"@type": "YahooRealestateListingCard",
"structure_id": "<string>",
"building_name": "<string>",
"building_type": "<string>",
"stations": [],
"address": "<string>",
"age": "<string>",
"total_floors": "<string>",
"structure": "<string>",
"floor": "<string>",
"rent": 123,
"management_fee": 123,
"deposit": "<string>",
"key_money": "<string>",
"layout": "<string>",
"area": 123,
"image": "<string>"
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}/yahoo/realestate/listings/search
Search Yahoo! Real Estate Japan (Yahoo!不動産) rental listings by prefecture, optionally narrowed to a municipality, with filters: rent range, floor-area range, walking distance to the nearest station, floor-plan layouts, building types, building structures, maximum building age, an extensive amenity catalogue (separate bath/toilet, auto-lock, pets, floor heating, delivery box, elevator, corner room, south-facing, …), rent-cost conditions (management fee included, no deposit, no key money), online support options, information-published recency, a free-text keyword and sort order. Returns listing cards with building name/type, address, nearest stations, age, floor, rent, management fee, deposit, key money, layout, area and image.
Price: 20 credits per 25 results
curl --request POST \
--url https://api.anysite.io/api/yahoo/realestate/listings/search \
--header 'Content-Type: application/json' \
--header 'access-token: <api-key>' \
--data '
{
"count": 2,
"timeout": 300,
"city": "<string>",
"rent_min": 1,
"rent_max": 1,
"area_min": 1,
"area_max": 1,
"walk_max": 2,
"layouts": [],
"building_types": [],
"structures": [],
"facets": [],
"rent_conditions": [],
"online": [],
"keyword": "<string>",
"sort": "newest"
}
'import requests
url = "https://api.anysite.io/api/yahoo/realestate/listings/search"
payload = {
"count": 2,
"timeout": 300,
"city": "<string>",
"rent_min": 1,
"rent_max": 1,
"area_min": 1,
"area_max": 1,
"walk_max": 2,
"layouts": [],
"building_types": [],
"structures": [],
"facets": [],
"rent_conditions": [],
"online": [],
"keyword": "<string>",
"sort": "newest"
}
headers = {
"access-token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'access-token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
count: 2,
timeout: 300,
city: '<string>',
rent_min: 1,
rent_max: 1,
area_min: 1,
area_max: 1,
walk_max: 2,
layouts: [],
building_types: [],
structures: [],
facets: [],
rent_conditions: [],
online: [],
keyword: '<string>',
sort: 'newest'
})
};
fetch('https://api.anysite.io/api/yahoo/realestate/listings/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.anysite.io/api/yahoo/realestate/listings/search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'count' => 2,
'timeout' => 300,
'city' => '<string>',
'rent_min' => 1,
'rent_max' => 1,
'area_min' => 1,
'area_max' => 1,
'walk_max' => 2,
'layouts' => [
],
'building_types' => [
],
'structures' => [
],
'facets' => [
],
'rent_conditions' => [
],
'online' => [
],
'keyword' => '<string>',
'sort' => 'newest'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"access-token: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.anysite.io/api/yahoo/realestate/listings/search"
payload := strings.NewReader("{\n \"count\": 2,\n \"timeout\": 300,\n \"city\": \"<string>\",\n \"rent_min\": 1,\n \"rent_max\": 1,\n \"area_min\": 1,\n \"area_max\": 1,\n \"walk_max\": 2,\n \"layouts\": [],\n \"building_types\": [],\n \"structures\": [],\n \"facets\": [],\n \"rent_conditions\": [],\n \"online\": [],\n \"keyword\": \"<string>\",\n \"sort\": \"newest\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("access-token", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.anysite.io/api/yahoo/realestate/listings/search")
.header("access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"count\": 2,\n \"timeout\": 300,\n \"city\": \"<string>\",\n \"rent_min\": 1,\n \"rent_max\": 1,\n \"area_min\": 1,\n \"area_max\": 1,\n \"walk_max\": 2,\n \"layouts\": [],\n \"building_types\": [],\n \"structures\": [],\n \"facets\": [],\n \"rent_conditions\": [],\n \"online\": [],\n \"keyword\": \"<string>\",\n \"sort\": \"newest\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.anysite.io/api/yahoo/realestate/listings/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["access-token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"count\": 2,\n \"timeout\": 300,\n \"city\": \"<string>\",\n \"rent_min\": 1,\n \"rent_max\": 1,\n \"area_min\": 1,\n \"area_max\": 1,\n \"walk_max\": 2,\n \"layouts\": [],\n \"building_types\": [],\n \"structures\": [],\n \"facets\": [],\n \"rent_conditions\": [],\n \"online\": [],\n \"keyword\": \"<string>\",\n \"sort\": \"newest\"\n}"
response = http.request(request)
puts response.read_body[
{
"id": "<string>",
"url": "<string>",
"@type": "YahooRealestateListingCard",
"structure_id": "<string>",
"building_name": "<string>",
"building_type": "<string>",
"stations": [],
"address": "<string>",
"age": "<string>",
"total_floors": "<string>",
"structure": "<string>",
"floor": "<string>",
"rent": 123,
"management_fee": 123,
"deposit": "<string>",
"key_money": "<string>",
"layout": "<string>",
"area": 123,
"image": "<string>"
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
API token from the dashboard
Headers
Body
hokkaido, aomori, iwate, miyagi, akita, yamagata, fukushima, ibaraki, tochigi, gunma, saitama, chiba, tokyo, kanagawa, niigata, toyama, ishikawa, fukui, yamanashi, nagano, gifu, shizuoka, aichi, mie, shiga, kyoto, osaka, hyogo, nara, wakayama, tottori, shimane, okayama, hiroshima, yamaguchi, tokushima, kagawa, ehime, kochi, fukuoka, saga, nagasaki, kumamoto, oita, miyazaki, kagoshima, okinawa x >= 120 <= x <= 1500x >= 0x >= 0x >= 0x >= 0x >= 1one_room, 1k, 1dk, 1ldk, 2k, 2dk, 2ldk, 3k, 3dk, 3ldk, 4k, 4dk, 4ldk, 5k_plus mansion, house, apartment reinforced_concrete, steel, wood, block_other new, within_2_years, within_5_years, within_10_years, within_15_years, within_20_years air_conditioner, auto_lock, two_plus_balconies, bicycle_parking, bathroom_dryer, bed, barrier_free, bs_antenna, separate_bath_toilet, counter_kitchen, closet, parking, satellite_broadcast, cable_tv, delivery_box, elevator, first_floor, floor_heating, flooring, free_rent, garage, gas_stove_ok, reheating_bath, ih_stove, immediate_move_in, card_key, lighting, loft, women_only, maisonette, instruments_ok, resident_manager, video_intercom, south_facing, elderly_welcome, two_plus_parking, pets_ok, propane_gas, roof_balcony, corner_room, refrigerator, security_24h, second_floor_or_higher, system_kitchen, condo_type, students_only, specified_quality_rental, storage, top_floor, city_gas, terrace_garden, two_person_ok, exclude_fixed_term, trunk_room, veranda, walk_in_closet, washlet, washer_space, washstand management_fee_included, no_deposit, no_key_money video_call, online_viewing, it_explanation today, within_3_days, within_5_days, within_7_days newest, price_incl_asc, price_incl_desc, price_asc, price_desc, area_desc, station_near, age_newest, most_viewed Response
Successful Response
Show child attributes
Show child attributes