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

# /pagesjaunes/businesses/search

> Search PagesJaunes businesses (professionals) by activity/name and location

**Price:** 10 credits per 20 results

**💡 AI Hint:** Search the PagesJaunes professional directory by what/who (quoiqui: an activity, category, or business name) and where (ou: an address, city, department, or region). Order by relevance, distance, rating, or review count. Returns business cards with id, name, activities, rating and review counts, partner ratings, address, and photo count. Use the id with pagesjaunes/businesses to get full details including phone numbers.



## OpenAPI

````yaml /openapi-filtered.json post /api/pagesjaunes/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/pagesjaunes/businesses/search:
    post:
      tags:
        - /pagesjaunes
      summary: /pagesjaunes/businesses/search
      description: >-
        Search PagesJaunes businesses (professionals) by activity/name and
        location


        **Price:** 10 credits per 20 results


        **💡 AI Hint:** Search the PagesJaunes professional directory by
        what/who (quoiqui: an activity, category, or business name) and where
        (ou: an address, city, department, or region). Order by relevance,
        distance, rating, or review count. Returns business cards with id, name,
        activities, rating and review counts, partner ratings, address, and
        photo count. Use the id with pagesjaunes/businesses to get full details
        including phone numbers.
      operationId: __api_pagesjaunes_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/PagesJaunesBusinessSearchPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PagesJaunesBusinessCard'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    PagesJaunesBusinessSearchPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          description: Max scrapping execution timeout (in seconds)
          default: 300
        quoiqui:
          type: string
          minLength: 1
          description: 'What/who: a category, activity or business name'
          examples:
            - restaurant
        ou:
          type: string
          minLength: 1
          description: 'Where: address, neighbourhood, city, department or region'
          examples:
            - paris
        count:
          type: integer
          minimum: 1
          description: Max number of results
        sort:
          $ref: '#/components/schemas/PagesJaunesBusinessSort'
          description: Result ordering
          default: relevance
      type: object
      required:
        - quoiqui
        - ou
        - count
    PagesJaunesBusinessCard:
      properties:
        '@type':
          type: string
          default: PagesJaunesBusinessCard
        id:
          type: string
        url:
          type: string
        name:
          type: string
        activities:
          items:
            type: string
          type: array
          default: []
        rating:
          anyOf:
            - type: number
            - type: 'null'
        review_count:
          anyOf:
            - type: integer
            - type: 'null'
        partner_ratings:
          items:
            $ref: '#/components/schemas/PagesJaunesPartnerRating'
          type: array
          default: []
        address:
          anyOf:
            - type: string
            - type: 'null'
        postal_code:
          anyOf:
            - type: string
            - type: 'null'
        city:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        photo_count:
          anyOf:
            - type: integer
            - type: 'null'
        news:
          anyOf:
            - type: string
            - type: 'null'
        is_ranked:
          type: boolean
          default: false
      type: object
      required:
        - id
        - url
        - name
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    PagesJaunesBusinessSort:
      type: string
      enum:
        - relevance
        - distance
        - rating
        - review_count
    PagesJaunesPartnerRating:
      properties:
        '@type':
          type: string
          default: PagesJaunesPartnerRating
        provider:
          type: string
        rating:
          anyOf:
            - type: number
            - type: 'null'
        review_count:
          anyOf:
            - type: integer
            - type: 'null'
      type: object
      required:
        - provider
    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

````