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

# /hotpepper/restaurants/photos

> Get Hot Pepper Gourmet (ホットペッパーグルメ) restaurant photo gallery by id (strJ{id} or J{id}, or restaurant URL): photo image, title, description and genre (food/interior/exterior).

**Price:** 5 credits

**💡 AI Hint:** Get the photo gallery of a Hot Pepper Gourmet restaurant by id ('J003433499' or 'strJ003433499') or a full restaurant URL. Each photo has image, title, description and genre (e.g. food/interior/exterior).

**⚠️ Common errors:** 412: Restaurant not found (well-formed id but the restaurant page does not exist)



## OpenAPI

````yaml /openapi-filtered.json post /api/hotpepper/restaurants/photos
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/hotpepper/restaurants/photos:
    post:
      tags:
        - /hotpepper
      summary: /hotpepper/restaurants/photos
      description: >-
        Get Hot Pepper Gourmet (ホットペッパーグルメ) restaurant photo gallery by id
        (strJ{id} or J{id}, or restaurant URL): photo image, title, description
        and genre (food/interior/exterior).


        **Price:** 5 credits


        **💡 AI Hint:** Get the photo gallery of a Hot Pepper Gourmet restaurant
        by id ('J003433499' or 'strJ003433499') or a full restaurant URL. Each
        photo has image, title, description and genre (e.g.
        food/interior/exterior).


        **⚠️ Common errors:** 412: Restaurant not found (well-formed id but the
        restaurant page does not exist)
      operationId: __api_hotpepper_restaurants_photos_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/HotpepperPhotosPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/HotpepperPhoto'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HotpepperPhotosPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          description: Max scrapping execution timeout (in seconds)
          default: 300
        restaurant:
          type: string
          minLength: 1
          description: >-
            Hot Pepper restaurant id (strJ{id} or J{id}) or a full restaurant
            URL
          examples:
            - J003433499
            - strJ003433499
            - https://www.hotpepper.jp/strJ003433499/
        count:
          type: integer
          minimum: 1
          description: Max number of photos to return
      type: object
      required:
        - restaurant
        - count
    HotpepperPhoto:
      properties:
        '@type':
          type: string
          default: HotpepperPhoto
        image:
          type: string
        description:
          anyOf:
            - type: string
            - type: 'null'
        genre:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - image
    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

````