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

# /zomato/restaurants/search

> Search Zomato restaurants in a city by mode (dining out / delivery / nightlife) with optional filters: keyword, cuisines, sort, minimum rating, maximum cost for two and amenities. Returns restaurant cards with name, rating, cuisines, cost for two, locality, distance and offers.

**Price:** 5 credits per 20 results

**💡 AI Hint:** Search Zomato restaurants in a city (by city slug e.g. 'bangalore'). Choose mode (dining_out, delivery, nightlife). Optional filters: keyword, cuisines (e.g. north_indian, chinese), sort (popularity/rating_high_to_low/cost_low_to_high/cost_high_to_low/distance), rating_min, cost_for_two_max, amenities (e.g. serves_alcohol, outdoor_seating, pure_veg). Each result has id, url, name, rating, rating_dining/rating_delivery, cuisines, cost_for_two, locality, distance and offers.

**⚠️ Common errors:** 412: City not found



## OpenAPI

````yaml /openapi-filtered.json post /api/zomato/restaurants/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/zomato/restaurants/search:
    post:
      tags:
        - /zomato
      summary: /zomato/restaurants/search
      description: >-
        Search Zomato restaurants in a city by mode (dining out / delivery /
        nightlife) with optional filters: keyword, cuisines, sort, minimum
        rating, maximum cost for two and amenities. Returns restaurant cards
        with name, rating, cuisines, cost for two, locality, distance and
        offers.


        **Price:** 5 credits per 20 results


        **💡 AI Hint:** Search Zomato restaurants in a city (by city slug e.g.
        'bangalore'). Choose mode (dining_out, delivery, nightlife). Optional
        filters: keyword, cuisines (e.g. north_indian, chinese), sort
        (popularity/rating_high_to_low/cost_low_to_high/cost_high_to_low/distance),
        rating_min, cost_for_two_max, amenities (e.g. serves_alcohol,
        outdoor_seating, pure_veg). Each result has id, url, name, rating,
        rating_dining/rating_delivery, cuisines, cost_for_two, locality,
        distance and offers.


        **⚠️ Common errors:** 412: City not found
      operationId: __api_zomato_restaurants_search_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ZomatoSearchPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ZomatoSearchCard'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ZomatoSearchPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          description: Max scrapping execution timeout (in seconds)
          default: 300
        city:
          type: string
          minLength: 1
          description: City slug (as used in Zomato URLs)
          examples:
            - bangalore
            - mumbai
        mode:
          $ref: '#/components/schemas/ZomatoMode'
          description: Search vertical
          default: dining_out
        keyword:
          anyOf:
            - type: string
            - type: 'null'
          description: Free-text query (restaurant, cuisine or dish)
        cuisines:
          anyOf:
            - items:
                $ref: '#/components/schemas/ZomatoCuisine'
              type: array
            - type: 'null'
          description: Filter by one or more cuisines
        sort:
          anyOf:
            - $ref: '#/components/schemas/ZomatoSort'
            - type: 'null'
          description: Sort order
        rating_min:
          anyOf:
            - type: number
              maximum: 5
              minimum: 0
            - type: 'null'
          description: Minimum aggregate rating (e.g. 4.0)
        cost_for_two_max:
          anyOf:
            - type: integer
              minimum: 0
            - type: 'null'
          description: Maximum cost for two (INR) threshold
        amenities:
          anyOf:
            - items:
                $ref: '#/components/schemas/ZomatoAmenity'
              type: array
            - type: 'null'
          description: Filter by amenities / attributes
        count:
          type: integer
          minimum: 1
          description: Max number of results to return
      type: object
      required:
        - city
        - count
    ZomatoSearchCard:
      properties:
        '@type':
          type: string
          default: ZomatoSearchCard
        id:
          type: integer
        url:
          type: string
        name:
          type: string
        image:
          anyOf:
            - type: string
            - type: 'null'
        rating:
          anyOf:
            - type: number
            - type: 'null'
        vote_count:
          anyOf:
            - type: integer
            - type: 'null'
        rating_dining:
          anyOf:
            - type: number
            - type: 'null'
        rating_delivery:
          anyOf:
            - type: number
            - type: 'null'
        cuisines:
          items:
            type: string
          type: array
          default: []
        cost_for_two:
          anyOf:
            - type: number
            - type: 'null'
        cost_for_two_text:
          anyOf:
            - type: string
            - type: 'null'
        currency:
          type: string
          default: INR
        locality:
          anyOf:
            - type: string
            - type: 'null'
        address:
          anyOf:
            - type: string
            - type: 'null'
        distance:
          anyOf:
            - type: string
            - type: 'null'
        delivery_time:
          anyOf:
            - type: string
            - type: 'null'
        is_promoted:
          type: boolean
          default: false
        offers:
          items:
            type: string
          type: array
          default: []
      type: object
      required:
        - id
        - url
        - name
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    ZomatoMode:
      type: string
      enum:
        - dining_out
        - delivery
        - nightlife
    ZomatoCuisine:
      type: string
      enum:
        - afghani
        - american
        - andhra
        - arabian
        - asian
        - assamese
        - awadhi
        - bbq
        - bakery
        - bar_food
        - bengali
        - beverages
        - biryani
        - bohri
        - bubble_tea
        - burger
        - burmese
        - cafe
        - cake
        - cantonese
        - chettinad
        - chinese
        - coffee
        - continental
        - desserts
        - european
        - fast_food
        - finger_food
        - french
        - frozen_yogurt
        - goan
        - greek
        - grilled_chicken
        - gujarati
        - healthy_food
        - hyderabadi
        - ice_cream
        - indian
        - indonesian
        - israeli
        - italian
        - japanese
        - juices
        - kashmiri
        - kebab
        - kerala
        - konkan
        - korean
        - lebanese
        - lucknowi
        - maharashtrian
        - malaysian
        - malwani
        - mangalorean
        - mediterranean
        - mexican
        - mithai
        - modern_indian
        - momos
        - mughlai
        - naga
        - nepalese
        - north_eastern
        - north_indian
        - oriental
        - paan
        - pancake
        - parsi
        - pasta
        - persian
        - pizza
        - portuguese
        - punjabi
        - rajasthani
        - rolls
        - salad
        - sandwich
        - seafood
        - shake
        - sichuan
        - sindhi
        - south_indian
        - spanish
        - sri_lankan
        - street_food
        - sushi
        - tea
        - tex_mex
        - thai
        - tibetan
        - turkish
        - vietnamese
        - wraps
    ZomatoSort:
      type: string
      enum:
        - popularity
        - rating_high_to_low
        - cost_low_to_high
        - cost_high_to_low
        - distance
    ZomatoAmenity:
      type: string
      enum:
        - wheelchair_accessible
        - credit_card
        - buffet
        - happy_hours
        - serves_alcohol
        - sunday_brunch
        - desserts_and_bakes
        - luxury_dining
        - cafes
        - hygiene_rated
        - pubs_and_bars
        - wifi
        - pure_veg
        - open_now
        - fine_dining
        - outdoor_seating
        - online_bookings
    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

````