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

# /joshin/categories

> List the Joshin (上新電機) shopping structure: the top-level genres of the store, or the categories inside one genre, each with its id, name and page URL.

**Price:** 1 credit



## OpenAPI

````yaml /openapi/e-commerce-marketplaces.json post /api/joshin/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/joshin/categories:
    post:
      tags:
        - /joshin
      summary: /joshin/categories
      description: >-
        List the Joshin (上新電機) shopping structure: the top-level genres of the
        store, or the categories inside one genre, each with its id, name and
        page URL.


        **Price:** 1 credit
      operationId: __api_joshin_categories_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/JoshinCategoriesPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/JoshinCategory'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    JoshinCategoriesPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        count:
          type: integer
          minimum: 1
        genre:
          anyOf:
            - $ref: '#/components/schemas/JoshinGenre'
            - type: 'null'
      type: object
      required:
        - count
    JoshinCategory:
      properties:
        '@type':
          type: string
          default: JoshinCategory
        id:
          type: string
        url:
          type: string
        name:
          type: string
        genre:
          type: string
        genre_id:
          anyOf:
            - type: string
            - type: 'null'
        is_genre:
          type: boolean
          default: false
      type: object
      required:
        - id
        - url
        - name
        - genre
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    JoshinGenre:
      type: string
      enum:
        - kaden
        - season
        - house
        - kitchen
        - health
        - interior
        - av
        - sound
        - audio
        - pc
        - peripheral
        - supply
        - mobile
        - camera
        - car
        - diy
        - outdoor
        - apparel
        - watch
        - game
        - toy
        - hobby
        - train
        - cg
        - liquor
        - drug
    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

````