Skip to content
Scrappa Get API key
at home Japan API 1 credit/request

at home Places API Documentation

GET https://scrappa.co/api/athome-jp/places

at home Places API Documentation Find places and addresses by text. Each place has the name, address, prefecture and coordinates. Only the first page of places is returned.

at home Places API Documentation 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/athome-jp/places
Auth header
x-api-key
Cost
1 credit/request
query = coffee shops
Response preview
200 OK
{
    "data": {
        "places": [
            {
                "name": "\u65b0\u5bbf\u533a",
                "type": "other",
                "address": "\u65e5\u672c\u3001\u6771\u4eac\u90fd\u65b0\u5bbf\u533a",
                "latitude": 35.6938253,
                "longitude": 139.7033559,
                "prefecture": "\u6771\u4eac\u90fd",
                "prefecture_code": "13",
                "prefecture_roman": "tokyo"
            }
        ]
...

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

1 required parameter needed before sending a request.

query string Required

Place or address text in Japanese, for example 新宿.

Example value coffee shops

Response Schema

Example response fields are illustrative; inspect the JSON before integrating.

Example response fields

Scan these fields before integrating.

data meta success
JSON Response
200 OK
{
    "data": {
        "places": [
            {
                "name": "\u65b0\u5bbf\u533a",
                "type": "other",
                "address": "\u65e5\u672c\u3001\u6771\u4eac\u90fd\u65b0\u5bbf\u533a",
                "latitude": 35.6938253,
                "longitude": 139.7033559,
                "prefecture": "\u6771\u4eac\u90fd",
                "prefecture_code": "13",
                "prefecture_roman": "tokyo"
            }
        ]
    },
    "meta": {
        "billable": true,
        "endpoint_family": "places"
    },
    "success": true
}

Errors

Handle these documented responses before retrying or showing customer-facing failures.

422

Validation Error

A query parameter is missing or invalid, or the site does not know the city. No upstream request is made for a missing parameter. This response is not billable.

{
    "errors": {
        "rent_min": [
            "The rent min must be one of: 20000, 25000, 30000."
        ]
    },
    "message": "The rent min must be one of: 20000, 25000, 30000."
}
404

Not Found

The listing or agency does not exist or is no longer online. This response is not billable.

{
    "meta": {
        "billable": false,
        "retryable": false,
        "endpoint_family": "rent_detail"
    },
    "error": {
        "code": "NOT_FOUND",
        "message": "The requested at home record was not found."
    },
    "success": false
}
502

Bad Gateway

The site answered with a shape this API does not know. This response is not billable.

{
    "meta": {
        "billable": false,
        "retryable": true,
        "endpoint_family": "rent_search"
    },
    "error": {
        "code": "PARSER_DRIFT",
        "message": "at home returned an unexpected response."
    },
    "success": false
}
503

Service Unavailable

at home could not be reached or blocked the request, also after one retry. Retry later. This response is not billable.

{
    "meta": {
        "billable": false,
        "retryable": true,
        "endpoint_family": "rent_search"
    },
    "error": {
        "code": "UPSTREAM_UNAVAILABLE",
        "message": "The at home service is temporarily unavailable. Please retry."
    },
    "success": false
}

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Try It Live

Test this endpoint in our interactive playground with real data.