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

# /yell/businesses/search

> Search Yell businesses by keyword and UK location, ordered by relevance, rating or review count and optionally limited to a search radius. Returns name, rating and review count, category, phone, website, photo, a sponsored flag and the profile URL for each business.

**Price:** 1 credit

**💡 AI Hint:** Search Yell (UK directory) businesses by keyword (category or company name) and optional location (UK town or postcode). Sort by relevance/rating/most_reviewed and limit by distance (any/2/5/10 miles). Each result has id, name, rating, review_count, category, phone, website, image, is_sponsored and profile_url.



## OpenAPI

````yaml /openapi-filtered.json post /api/yell/businesses/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/yell/businesses/search:
    post:
      tags:
        - /yell
      summary: /yell/businesses/search
      description: >-
        Search Yell businesses by keyword and UK location, ordered by relevance,
        rating or review count and optionally limited to a search radius.
        Returns name, rating and review count, category, phone, website, photo,
        a sponsored flag and the profile URL for each business.


        **Price:** 1 credit


        **💡 AI Hint:** Search Yell (UK directory) businesses by keyword
        (category or company name) and optional location (UK town or postcode).
        Sort by relevance/rating/most_reviewed and limit by distance (any/2/5/10
        miles). Each result has id, name, rating, review_count, category, phone,
        website, image, is_sponsored and profile_url.
      operationId: __api_yell_businesses_search_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/YellBusinessesSearchPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/YellBusinessSearchResult'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    YellBusinessesSearchPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          description: Max scrapping execution timeout (in seconds)
          default: 300
        keyword:
          type: string
          minLength: 1
          description: Business name or category to search for
          examples:
            - plumbers
        location:
          type: string
          description: UK town or postcode to search near
          default: ''
          examples:
            - London
        sort:
          $ref: '#/components/schemas/YellSearchSort'
          description: Result ordering
          default: relevance
        distance:
          $ref: '#/components/schemas/YellSearchDistance'
          description: Search radius in miles around the location
          default: any
        count:
          type: integer
          minimum: 1
          description: Max number of results to return
      type: object
      required:
        - keyword
        - count
    YellBusinessSearchResult:
      properties:
        '@type':
          type: string
          default: YellBusinessSearchResult
        id:
          anyOf:
            - type: string
            - type: 'null'
        name:
          anyOf:
            - type: string
            - type: 'null'
        rating:
          anyOf:
            - type: number
            - type: 'null'
        review_count:
          anyOf:
            - type: integer
            - type: 'null'
        category:
          anyOf:
            - type: string
            - type: 'null'
        phone:
          anyOf:
            - type: string
            - type: 'null'
        website:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        is_sponsored:
          type: boolean
          default: false
        profile_url:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    YellSearchSort:
      type: string
      enum:
        - relevance
        - rating
        - most_reviewed
    YellSearchDistance:
      type: string
      enum:
        - any
        - '2'
        - '5'
        - '10'
    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

````