> ## 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.

# /askul/categories

> Browse the ASKUL (アスクル) category tree. Without a category it lists the 18 top-level sections with their product counts, section image and second-level categories; with one it returns that category with its child categories and the full filter catalogue (category-specific specification facets, makers, brands, series, product programme tags and price buckets) accepted by askul/products/search.

**Price:** 1 credit

**⚠️ Common errors:** 412: Category not found (well-formed path but no such category on ASKUL)



## OpenAPI

````yaml /openapi/e-commerce-marketplaces.json post /api/askul/categories
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/askul/categories:
    post:
      tags:
        - /askul
      summary: /askul/categories
      description: >-
        Browse the ASKUL (アスクル) category tree. Without a category it lists the
        18 top-level sections with their product counts, section image and
        second-level categories; with one it returns that category with its
        child categories and the full filter catalogue (category-specific
        specification facets, makers, brands, series, product programme tags and
        price buckets) accepted by askul/products/search.


        **Price:** 1 credit


        **⚠️ Common errors:** 412: Category not found (well-formed path but no
        such category on ASKUL)
      operationId: __api_askul_categories_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AskulCategoriesPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AskulCategory'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    AskulCategoriesPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        category:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    AskulCategory:
      properties:
        '@type':
          type: string
          default: AskulCategory
        id:
          type: string
        name:
          anyOf:
            - type: string
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        product_count:
          anyOf:
            - type: integer
            - type: 'null'
        children:
          items:
            $ref: '#/components/schemas/AskulCategoryRef'
          type: array
          default: []
        specs:
          items:
            $ref: '#/components/schemas/AskulSpecFilter'
          type: array
          default: []
        makers:
          items:
            $ref: '#/components/schemas/AskulFacetOption'
          type: array
          default: []
        brands:
          items:
            $ref: '#/components/schemas/AskulFacetOption'
          type: array
          default: []
        series:
          items:
            $ref: '#/components/schemas/AskulFacetOption'
          type: array
          default: []
        tags:
          items:
            $ref: '#/components/schemas/AskulFacetOption'
          type: array
          default: []
        price_buckets:
          items:
            $ref: '#/components/schemas/AskulPriceBucket'
          type: array
          default: []
      type: object
      required:
        - id
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    AskulCategoryRef:
      properties:
        '@type':
          type: string
          default: AskulCategoryRef
        id:
          type: string
        name:
          type: string
        url:
          anyOf:
            - type: string
            - type: 'null'
        product_count:
          anyOf:
            - type: integer
            - type: 'null'
      type: object
      required:
        - id
        - name
    AskulSpecFilter:
      properties:
        '@type':
          type: string
          default: AskulSpecFilter
        id:
          type: string
        name:
          type: string
        options:
          items:
            $ref: '#/components/schemas/AskulFacetOption'
          type: array
          default: []
      type: object
      required:
        - id
        - name
    AskulFacetOption:
      properties:
        '@type':
          type: string
          default: AskulFacetOption
        id:
          type: string
        name:
          anyOf:
            - type: string
            - type: 'null'
        product_count:
          anyOf:
            - type: integer
            - type: 'null'
      type: object
      required:
        - id
    AskulPriceBucket:
      properties:
        '@type':
          type: string
          default: AskulPriceBucket
        price_min:
          anyOf:
            - type: integer
            - type: 'null'
        price_max:
          anyOf:
            - type: integer
            - type: 'null'
        product_count:
          anyOf:
            - type: integer
            - type: 'null'
      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

````