Skip to main content
POST
/
api
/
demaecan
/
areas
/
search
/demaecan/areas/search
curl --request POST \
  --url https://api.anysite.io/api/demaecan/areas/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "postal_code": "<string>",
  "timeout": 300
}
'
[
  {
    "address_name": "<string>",
    "block_code": "<string>",
    "@type": "DemaecanArea",
    "postal_code": "<string>"
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
postal_code
string
required

Japanese postal code (7 digits, with or without hyphen)

Minimum string length: 1
Examples:

"150-0002"

"1500002"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

address_name
string
required
block_code
string
required
@type
string
default:DemaecanArea
postal_code
string | null