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

# /swiggy/restaurants/menu

> Get the full Swiggy restaurant menu by restaurant id or URL (latitude/longitude in India): menu categories with dishes (name, description, price, image, veg marker, variants, rating, bestseller flag).

**Price:** 1 credit

**💡 AI Hint:** Get the menu of a Swiggy restaurant by numeric id or restaurant URL (lat/lng in India required). Returns a list of menu categories, each with its dishes: id, name, category, description, image, price (INR), final_price, is_veg, rating, is_bestseller and variants.

**⚠️ Common errors:** 412: Restaurant not found or no menu available at this location



## OpenAPI

````yaml /openapi-filtered.json post /api/swiggy/restaurants/menu
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/swiggy/restaurants/menu:
    post:
      tags:
        - /swiggy
      summary: /swiggy/restaurants/menu
      description: >-
        Get the full Swiggy restaurant menu by restaurant id or URL
        (latitude/longitude in India): menu categories with dishes (name,
        description, price, image, veg marker, variants, rating, bestseller
        flag).


        **Price:** 1 credit


        **💡 AI Hint:** Get the menu of a Swiggy restaurant by numeric id or
        restaurant URL (lat/lng in India required). Returns a list of menu
        categories, each with its dishes: id, name, category, description,
        image, price (INR), final_price, is_veg, rating, is_bestseller and
        variants.


        **⚠️ Common errors:** 412: Restaurant not found or no menu available at
        this location
      operationId: __api_swiggy_restaurants_menu_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SwiggyMenuPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SwiggyMenuCategory'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    SwiggyMenuPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          description: Max scrapping execution timeout (in seconds)
          default: 300
        restaurant:
          type: string
          minLength: 1
          description: Restaurant numeric id or a full restaurant URL
          examples:
            - '966182'
            - >-
              https://www.swiggy.com/city/bangalore/blue-tokai-coffee-roasters-rest966182
        lat:
          type: number
          maximum: 90
          minimum: -90
          description: Latitude (India)
          examples:
            - 12.9351929
        lng:
          type: number
          maximum: 180
          minimum: -180
          description: Longitude (India)
          examples:
            - 77.6244807
        count:
          type: integer
          minimum: 1
          description: Max number of menu categories to return
      type: object
      required:
        - restaurant
        - lat
        - lng
        - count
    SwiggyMenuCategory:
      properties:
        '@type':
          type: string
          default: SwiggyMenuCategory
        id:
          anyOf:
            - type: string
            - type: 'null'
        name:
          type: string
        items:
          items:
            $ref: '#/components/schemas/SwiggyDish'
          type: array
          default: []
      type: object
      required:
        - name
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    SwiggyDish:
      properties:
        '@type':
          type: string
          default: SwiggyDish
        id:
          type: string
        name:
          type: string
        category:
          anyOf:
            - type: string
            - type: 'null'
        description:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        in_stock:
          type: boolean
          default: true
        is_veg:
          anyOf:
            - type: boolean
            - type: 'null'
        price:
          anyOf:
            - type: number
            - type: 'null'
        final_price:
          anyOf:
            - type: number
            - type: 'null'
        currency:
          type: string
          default: INR
        rating:
          anyOf:
            - type: number
            - type: 'null'
        rating_count:
          anyOf:
            - type: integer
            - type: 'null'
        is_bestseller:
          type: boolean
          default: false
        badge:
          anyOf:
            - type: string
            - type: 'null'
        variants:
          items:
            $ref: '#/components/schemas/SwiggyDishVariant'
          type: array
          default: []
        addons:
          items:
            $ref: '#/components/schemas/SwiggyDishAddon'
          type: array
          default: []
        parent_id:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - id
        - name
    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
    SwiggyDishVariant:
      properties:
        '@type':
          type: string
          default: SwiggyDishVariant
        id:
          anyOf:
            - type: string
            - type: 'null'
        name:
          type: string
        options:
          items:
            $ref: '#/components/schemas/SwiggyVariantOption'
          type: array
          default: []
      type: object
      required:
        - name
    SwiggyDishAddon:
      properties:
        '@type':
          type: string
          default: SwiggyDishAddon
        id:
          anyOf:
            - type: string
            - type: 'null'
        name:
          type: string
        min_addons:
          anyOf:
            - type: integer
            - type: 'null'
        max_addons:
          anyOf:
            - type: integer
            - type: 'null'
        max_free_addons:
          anyOf:
            - type: integer
            - type: 'null'
        choices:
          items:
            $ref: '#/components/schemas/SwiggyAddonChoice'
          type: array
          default: []
      type: object
      required:
        - name
    SwiggyVariantOption:
      properties:
        '@type':
          type: string
          default: SwiggyVariantOption
        id:
          anyOf:
            - type: string
            - type: 'null'
        name:
          type: string
        price:
          anyOf:
            - type: number
            - type: 'null'
        is_default:
          type: boolean
          default: false
      type: object
      required:
        - name
    SwiggyAddonChoice:
      properties:
        '@type':
          type: string
          default: SwiggyAddonChoice
        id:
          anyOf:
            - type: string
            - type: 'null'
        name:
          type: string
        price:
          anyOf:
            - type: number
            - type: 'null'
        is_veg:
          anyOf:
            - type: boolean
            - type: 'null'
        in_stock:
          type: boolean
          default: true
      type: object
      required:
        - name
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````