> ## 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/dishes/search

> Search Swiggy dishes by keyword near a location (latitude/longitude in India). Filter by veg/non-veg, rating and price range; sort by relevance, rating or price. Each result is a dish (name, price, image, veg marker, variants, add-ons, rating) with its restaurant.

**Price:** 1 credit

**💡 AI Hint:** Search Swiggy dishes by keyword (e.g. 'pizza', 'biryani') at a location (lat/lng in India). Filters: veg (veg/non_veg), rating_4_plus, price (under_100/rs_100_to_250/rs_251_to_500/rs_500_plus). Sort: relevance, rating, price_low_to_high, price_high_to_low. Each result has dish (id, name, price, final_price, is_veg, image, rating, variants, addons) and restaurant (id, name, url, image, rating, google_rating, cuisines, area, cost_for_two, delivery_time).



## OpenAPI

````yaml /openapi-filtered.json post /api/swiggy/dishes/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/swiggy/dishes/search:
    post:
      tags:
        - /swiggy
      summary: /swiggy/dishes/search
      description: >-
        Search Swiggy dishes by keyword near a location (latitude/longitude in
        India). Filter by veg/non-veg, rating and price range; sort by
        relevance, rating or price. Each result is a dish (name, price, image,
        veg marker, variants, add-ons, rating) with its restaurant.


        **Price:** 1 credit


        **💡 AI Hint:** Search Swiggy dishes by keyword (e.g. 'pizza',
        'biryani') at a location (lat/lng in India). Filters: veg (veg/non_veg),
        rating_4_plus, price
        (under_100/rs_100_to_250/rs_251_to_500/rs_500_plus). Sort: relevance,
        rating, price_low_to_high, price_high_to_low. Each result has dish (id,
        name, price, final_price, is_veg, image, rating, variants, addons) and
        restaurant (id, name, url, image, rating, google_rating, cuisines, area,
        cost_for_two, delivery_time).
      operationId: __api_swiggy_dishes_search_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SwiggyDishesSearchPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SwiggyDishResult'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    SwiggyDishesSearchPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          description: Max scrapping execution timeout (in seconds)
          default: 300
        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
        keyword:
          type: string
          minLength: 1
          description: Dish search keyword
          examples:
            - pizza
            - biryani
        sort:
          $ref: '#/components/schemas/SwiggyDishSort'
          description: Sort order
          default: relevance
        veg:
          anyOf:
            - $ref: '#/components/schemas/SwiggyVegFilter'
            - type: 'null'
          description: Filter by veg / non-veg
        rating_4_plus:
          type: boolean
          description: Only dishes rated 4.0+
          default: false
        price:
          anyOf:
            - $ref: '#/components/schemas/SwiggyPriceRange'
            - type: 'null'
          description: Filter by dish price range
        count:
          type: integer
          minimum: 1
          description: Max number of dishes to return
      type: object
      required:
        - lat
        - lng
        - keyword
        - count
    SwiggyDishResult:
      properties:
        '@type':
          type: string
          default: SwiggyDishResult
        dish:
          $ref: '#/components/schemas/SwiggyDish'
        restaurant:
          anyOf:
            - $ref: '#/components/schemas/SwiggyDishRestaurant'
            - type: 'null'
      type: object
      required:
        - dish
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    SwiggyDishSort:
      type: string
      enum:
        - relevance
        - rating
        - price_low_to_high
        - price_high_to_low
    SwiggyVegFilter:
      type: string
      enum:
        - veg
        - non_veg
    SwiggyPriceRange:
      type: string
      enum:
        - under_100
        - rs_100_to_250
        - rs_251_to_500
        - rs_500_plus
    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
    SwiggyDishRestaurant:
      properties:
        '@type':
          type: string
          default: SwiggyDishRestaurant
        id:
          type: integer
        name:
          type: string
        url:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        rating:
          anyOf:
            - type: number
            - type: 'null'
        rating_count:
          anyOf:
            - type: integer
            - type: 'null'
        google_rating:
          anyOf:
            - type: number
            - type: 'null'
        cuisines:
          items:
            type: string
          type: array
          default: []
        area:
          anyOf:
            - type: string
            - type: 'null'
        locality:
          anyOf:
            - type: string
            - type: 'null'
        address:
          anyOf:
            - type: string
            - type: 'null'
        cost_for_two:
          anyOf:
            - type: number
            - type: 'null'
        cost_for_two_text:
          anyOf:
            - type: string
            - type: 'null'
        delivery_time:
          anyOf:
            - type: integer
            - type: 'null'
        parent_id:
          anyOf:
            - type: string
            - type: 'null'
        offer:
          anyOf:
            - type: string
            - type: 'null'
        is_promoted:
          type: boolean
          default: false
      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

````