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

# /justeat/restaurants

> Get full Just Eat (just-eat.co.uk) restaurant details by seo name (slug) or menu URL: name, address, rating, cuisines, delivery ETA and fees, and the complete menu with categories, items, prices, descriptions, images, calories and modifier groups with options and option prices.

**Price:** 20 credits

**💡 AI Hint:** Fetch a single Just Eat (just-eat.co.uk) restaurant by its seo name slug (e.g. 'papa-johns---farringdon-london') or a full menu URL. Returns id, name, alias, menu_url, image, cover, description, phone, allergen_url, rating, rating_count, cuisines, address (street/city/postcode/latitude/longitude/country), currency, is_halal, supports_delivery, supports_collection, is_offline, eta_minutes/eta_lower/eta_upper, minimum_order_value, delivery_fee, category_count, item_count, opening_times (per service type, each day with open windows from_time/to_time) and the full menu as categories, each with items (name, description, price, variations with name and price, image, calories, type, is_deal, labels and modifier_groups with options and option prices). Use a restaurant's alias from the search endpoint as the input here.

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



## OpenAPI

````yaml /openapi-filtered.json post /api/justeat/restaurants
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/justeat/restaurants:
    post:
      tags:
        - /justeat
      summary: /justeat/restaurants
      description: >-
        Get full Just Eat (just-eat.co.uk) restaurant details by seo name (slug)
        or menu URL: name, address, rating, cuisines, delivery ETA and fees, and
        the complete menu with categories, items, prices, descriptions, images,
        calories and modifier groups with options and option prices.


        **Price:** 20 credits


        **💡 AI Hint:** Fetch a single Just Eat (just-eat.co.uk) restaurant by
        its seo name slug (e.g. 'papa-johns---farringdon-london') or a full menu
        URL. Returns id, name, alias, menu_url, image, cover, description,
        phone, allergen_url, rating, rating_count, cuisines, address
        (street/city/postcode/latitude/longitude/country), currency, is_halal,
        supports_delivery, supports_collection, is_offline,
        eta_minutes/eta_lower/eta_upper, minimum_order_value, delivery_fee,
        category_count, item_count, opening_times (per service type, each day
        with open windows from_time/to_time) and the full menu as categories,
        each with items (name, description, price, variations with name and
        price, image, calories, type, is_deal, labels and modifier_groups with
        options and option prices). Use a restaurant's alias from the search
        endpoint as the input here.


        **⚠️ Common errors:** 412: Restaurant not found (well-formed slug but
        the menu page does not exist)
      operationId: __api_justeat_restaurants_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/JusteatRestaurantsPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/JusteatRestaurant'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    JusteatRestaurantsPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          description: Max scrapping execution timeout (in seconds)
          default: 300
        restaurant:
          type: string
          minLength: 1
          description: Just Eat restaurant seo name (slug) or a full menu URL
          examples:
            - papa-johns---farringdon-london
            - >-
              https://www.just-eat.co.uk/restaurants-papa-johns---farringdon-london/menu
      type: object
      required:
        - restaurant
    JusteatRestaurant:
      properties:
        '@type':
          type: string
          default: JusteatRestaurant
        id:
          type: string
        menu_url:
          type: string
        name:
          anyOf:
            - type: string
            - type: 'null'
        alias:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        cover:
          anyOf:
            - type: string
            - type: 'null'
        description:
          anyOf:
            - type: string
            - type: 'null'
        phone:
          anyOf:
            - type: string
            - type: 'null'
        allergen_url:
          anyOf:
            - type: string
            - type: 'null'
        rating:
          anyOf:
            - type: number
            - type: 'null'
        rating_count:
          anyOf:
            - type: integer
            - type: 'null'
        cuisines:
          items:
            type: string
          type: array
          default: []
        address:
          anyOf:
            - $ref: '#/components/schemas/JusteatAddress'
            - type: 'null'
        currency:
          anyOf:
            - type: string
            - type: 'null'
        is_halal:
          type: boolean
          default: false
        store_front_type:
          anyOf:
            - type: string
            - type: 'null'
        time_zone:
          anyOf:
            - type: string
            - type: 'null'
        energy_units:
          anyOf:
            - type: string
            - type: 'null'
        supports_delivery:
          type: boolean
          default: false
        supports_collection:
          type: boolean
          default: false
        is_offline:
          type: boolean
          default: false
        eta_minutes:
          anyOf:
            - type: number
            - type: 'null'
        eta_lower:
          anyOf:
            - type: number
            - type: 'null'
        eta_upper:
          anyOf:
            - type: number
            - type: 'null'
        minimum_order_value:
          anyOf:
            - type: number
            - type: 'null'
        delivery_fee:
          anyOf:
            - type: number
            - type: 'null'
        service_fee_text:
          anyOf:
            - type: string
            - type: 'null'
        category_count:
          type: integer
          default: 0
        item_count:
          type: integer
          default: 0
        opening_times:
          items:
            $ref: '#/components/schemas/JusteatOpeningTimes'
          type: array
          default: []
        categories:
          items:
            $ref: '#/components/schemas/JusteatMenuCategory'
          type: array
          default: []
      type: object
      required:
        - id
        - menu_url
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    JusteatAddress:
      properties:
        '@type':
          type: string
          default: JusteatAddress
        street:
          anyOf:
            - type: string
            - type: 'null'
        city:
          anyOf:
            - type: string
            - type: 'null'
        postcode:
          anyOf:
            - type: string
            - type: 'null'
        latitude:
          anyOf:
            - type: number
            - type: 'null'
        longitude:
          anyOf:
            - type: number
            - type: 'null'
        country:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    JusteatOpeningTimes:
      properties:
        '@type':
          type: string
          default: JusteatOpeningTimes
        service_type:
          anyOf:
            - type: string
            - type: 'null'
        days:
          items:
            $ref: '#/components/schemas/JusteatOpeningDay'
          type: array
          default: []
      type: object
    JusteatMenuCategory:
      properties:
        '@type':
          type: string
          default: JusteatMenuCategory
        id:
          type: string
        name:
          type: string
        description:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        items:
          items:
            $ref: '#/components/schemas/JusteatMenuItem'
          type: array
          default: []
      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
    JusteatOpeningDay:
      properties:
        '@type':
          type: string
          default: JusteatOpeningDay
        day:
          anyOf:
            - type: string
            - type: 'null'
        windows:
          items:
            $ref: '#/components/schemas/JusteatOpeningWindow'
          type: array
          default: []
      type: object
    JusteatMenuItem:
      properties:
        '@type':
          type: string
          default: JusteatMenuItem
        id:
          type: string
        name:
          type: string
        description:
          anyOf:
            - type: string
            - type: 'null'
        price:
          anyOf:
            - type: number
            - type: 'null'
        variations:
          items:
            $ref: '#/components/schemas/JusteatItemVariation'
          type: array
          default: []
        image:
          anyOf:
            - type: string
            - type: 'null'
        calories:
          anyOf:
            - type: string
            - type: 'null'
        type:
          anyOf:
            - type: string
            - type: 'null'
        is_deal:
          type: boolean
          default: false
        labels:
          items:
            type: string
          type: array
          default: []
        modifier_groups:
          items:
            $ref: '#/components/schemas/JusteatModifierGroup'
          type: array
          default: []
      type: object
      required:
        - id
        - name
    JusteatOpeningWindow:
      properties:
        '@type':
          type: string
          default: JusteatOpeningWindow
        from_time:
          anyOf:
            - type: string
            - type: 'null'
        to_time:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    JusteatItemVariation:
      properties:
        '@type':
          type: string
          default: JusteatItemVariation
        name:
          type: string
        price:
          anyOf:
            - type: number
            - type: 'null'
      type: object
      required:
        - name
    JusteatModifierGroup:
      properties:
        '@type':
          type: string
          default: JusteatModifierGroup
        id:
          type: string
        name:
          type: string
        min_choices:
          type: integer
          default: 0
        max_choices:
          anyOf:
            - type: integer
            - type: 'null'
        modifiers:
          items:
            $ref: '#/components/schemas/JusteatModifier'
          type: array
          default: []
      type: object
      required:
        - id
        - name
    JusteatModifier:
      properties:
        '@type':
          type: string
          default: JusteatModifier
        id:
          type: string
        name:
          type: string
        addition_price:
          anyOf:
            - type: number
            - type: 'null'
        remove_price:
          anyOf:
            - type: number
            - type: 'null'
      type: object
      required:
        - id
        - name
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````