> ## Documentation Index
> Fetch the complete documentation index at: https://docs.anysite.io/llms.txt
> Use this file to discover all available pages before exploring further.

# /demaecan/areas/search

> Resolve a Japanese postal code into Demae-can delivery areas (block codes). Returns the matching address blocks, each with its human-readable address name, block code and postal code. Use the block code as the area for shop search.

**Price:** 1 credit

**💡 AI Hint:** Resolve a Japanese postal code (e.g. '150-0002') to Demae-can delivery area block codes. Returns a list of areas, each with address_name, block_code and postal_code. The block_code feeds demaecan/shops/search as the area parameter. Returns an empty list when the postal code has no serviced areas.



## OpenAPI

````yaml /openapi-filtered.json post /api/demaecan/areas/search
openapi: 3.1.0
info:
  title: Any Site API
  description: >+
    Any Site API provides programmatic access to data from LinkedIn, Instagram,
    Twitter, and other platforms.


    ## Authentication


    All API endpoints require an `access-token` header with a valid API token.
    Tokens can be created in the [dashboard](https://app.anysite.io/).


    ## Pricing


    Each endpoint has a credit cost listed in its description. Credits are
    deducted from your token balance per request.

  version: 0.0.1
servers: []
security:
  - AccessToken: []
paths:
  /api/demaecan/areas/search:
    post:
      tags:
        - /demaecan
      summary: /demaecan/areas/search
      description: >-
        Resolve a Japanese postal code into Demae-can delivery areas (block
        codes). Returns the matching address blocks, each with its
        human-readable address name, block code and postal code. Use the block
        code as the area for shop search.


        **Price:** 1 credit


        **💡 AI Hint:** Resolve a Japanese postal code (e.g. '150-0002') to
        Demae-can delivery area block codes. Returns a list of areas, each with
        address_name, block_code and postal_code. The block_code feeds
        demaecan/shops/search as the area parameter. Returns an empty list when
        the postal code has no serviced areas.
      operationId: __api_demaecan_areas_search_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DemaecanAreasSearchPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/DemaecanArea'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    DemaecanAreasSearchPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          description: Max scrapping execution timeout (in seconds)
          default: 300
        postal_code:
          type: string
          minLength: 1
          description: Japanese postal code (7 digits, with or without hyphen)
          examples:
            - 150-0002
            - '1500002'
      type: object
      required:
        - postal_code
    DemaecanArea:
      properties:
        '@type':
          type: string
          default: DemaecanArea
        address_name:
          type: string
        block_code:
          type: string
        postal_code:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - address_name
        - block_code
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
        msg:
          type: string
        type:
          type: string
        input: {}
        ctx:
          type: object
      type: object
      required:
        - loc
        - msg
        - type
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````