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

> Get a PagesJaunes business (professional) by its numeric id

**Price:** 10 credits

**💡 AI Hint:** Get full PagesJaunes business details by numeric id (from a /pros/{id} URL). Returns name, activities, description, phone numbers, address with coordinates, website, social links, PagesJaunes rating and review count, partner ratings (Tripadvisor, Google), price range, cuisine, payment methods, opening schedule, photos, AI-analysed review aspects, and legal/registration info (SIREN, SIRET, NAF code, legal form).

**⚠️ Common errors:** 412: Business not found for the given id



## OpenAPI

````yaml /openapi-filtered.json post /api/pagesjaunes/businesses
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:
    post:
      tags:
        - /pagesjaunes
      summary: /pagesjaunes/businesses
      description: >-
        Get a PagesJaunes business (professional) by its numeric id


        **Price:** 10 credits


        **💡 AI Hint:** Get full PagesJaunes business details by numeric id
        (from a /pros/{id} URL). Returns name, activities, description, phone
        numbers, address with coordinates, website, social links, PagesJaunes
        rating and review count, partner ratings (Tripadvisor, Google), price
        range, cuisine, payment methods, opening schedule, photos, AI-analysed
        review aspects, and legal/registration info (SIREN, SIRET, NAF code,
        legal form).


        **⚠️ Common errors:** 412: Business not found for the given id
      operationId: __api_pagesjaunes_businesses_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PagesJaunesBusinessPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PagesJaunesBusiness'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    PagesJaunesBusinessPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          description: Max scrapping execution timeout (in seconds)
          default: 300
        business:
          type: string
          minLength: 1
          description: PagesJaunes business id, or the full /pros/{id} URL
          examples:
            - '51616827'
      type: object
      required:
        - business
    PagesJaunesBusiness:
      properties:
        '@type':
          type: string
          default: PagesJaunesBusiness
        id:
          type: string
        url:
          type: string
        name:
          type: string
        business_type:
          anyOf:
            - type: string
            - type: 'null'
        description:
          anyOf:
            - type: string
            - type: 'null'
        phone:
          anyOf:
            - type: string
            - type: 'null'
        phones:
          items:
            type: string
          type: array
          default: []
        address:
          anyOf:
            - $ref: '#/components/schemas/PagesJaunesAddress'
            - type: 'null'
        latitude:
          anyOf:
            - type: number
            - type: 'null'
        longitude:
          anyOf:
            - type: number
            - type: 'null'
        rating:
          anyOf:
            - type: number
            - type: 'null'
        review_count:
          anyOf:
            - type: integer
            - type: 'null'
        partner_ratings:
          items:
            $ref: '#/components/schemas/PagesJaunesPartnerRating'
          type: array
          default: []
        price_range:
          anyOf:
            - type: string
            - type: 'null'
        cuisine:
          anyOf:
            - type: string
            - type: 'null'
        payment_methods:
          items:
            type: string
          type: array
          default: []
        image:
          anyOf:
            - type: string
            - type: 'null'
        images:
          items:
            type: string
          type: array
          default: []
        website_url:
          anyOf:
            - type: string
            - type: 'null'
        socials:
          additionalProperties:
            type: string
          type: object
          default: {}
        schedule:
          items:
            $ref: '#/components/schemas/PagesJaunesScheduleDay'
          type: array
          default: []
        activities:
          items:
            type: string
          type: array
          default: []
        legal:
          anyOf:
            - $ref: '#/components/schemas/PagesJaunesLegalInfo'
            - type: 'null'
        ai_aspects:
          items:
            $ref: '#/components/schemas/PagesJaunesReviewAspect'
          type: array
          default: []
      type: object
      required:
        - id
        - url
        - name
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    PagesJaunesAddress:
      properties:
        '@type':
          type: string
          default: PagesJaunesAddress
        street:
          anyOf:
            - type: string
            - type: 'null'
        postal_code:
          anyOf:
            - type: string
            - type: 'null'
        city:
          anyOf:
            - type: string
            - type: 'null'
        country:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    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
    PagesJaunesScheduleDay:
      properties:
        '@type':
          type: string
          default: PagesJaunesScheduleDay
        day:
          type: string
        hours:
          items:
            type: string
          type: array
          default: []
      type: object
      required:
        - day
    PagesJaunesLegalInfo:
      properties:
        '@type':
          type: string
          default: PagesJaunesLegalInfo
        siren:
          anyOf:
            - type: string
            - type: 'null'
        siret:
          anyOf:
            - type: string
            - type: 'null'
        naf_code:
          anyOf:
            - type: string
            - type: 'null'
        legal_form:
          anyOf:
            - type: string
            - type: 'null'
        creation_date:
          anyOf:
            - type: string
            - type: 'null'
        establishment_workforce:
          anyOf:
            - type: string
            - type: 'null'
        company_workforce:
          anyOf:
            - type: string
            - type: 'null'
        establishment_type:
          anyOf:
            - type: string
            - type: 'null'
        other_names:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    PagesJaunesReviewAspect:
      properties:
        '@type':
          type: string
          default: PagesJaunesReviewAspect
        name:
          type: string
        positive_count:
          anyOf:
            - type: integer
            - type: 'null'
        neutral_count:
          anyOf:
            - type: integer
            - type: 'null'
        negative_count:
          anyOf:
            - type: integer
            - type: 'null'
        total_count:
          anyOf:
            - type: integer
            - type: 'null'
      type: object
      required:
        - 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
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````