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

# /yellowpages/businesses

> Get a Yellow Pages business profile by its profile (MIP) URL or path: name, alternate names, categories, customer rating and review count, phone, email, website, address with coordinates, neighborhoods served, description, founding year, hours, payment methods, services, brands, languages, primary photo and logo.

**Price:** 5 credits

**💡 AI Hint:** Fetch one Yellow Pages business by its profile (MIP) URL or path (e.g. /los-angeles-ca/mip/emergency-rooter-542379108). Returns id, name, alias, alt_names, categories+category, rating (customer star avg), review_count, phone, email, web_url, other_urls, address/city/state/zip_code/formatted_address, latitude/longitude, area_served, neighborhoods, description, founding_year, hours, payment_methods, services, brands, languages, social_links, image (primary photo), logo and profile_url.

**⚠️ Common errors:** 412: Business not found (well-formed profile URL with no Yellow Pages listing)



## OpenAPI

````yaml /openapi-filtered.json post /api/yellowpages/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/yellowpages/businesses:
    post:
      tags:
        - /yellowpages
      summary: /yellowpages/businesses
      description: >-
        Get a Yellow Pages business profile by its profile (MIP) URL or path:
        name, alternate names, categories, customer rating and review count,
        phone, email, website, address with coordinates, neighborhoods served,
        description, founding year, hours, payment methods, services, brands,
        languages, primary photo and logo.


        **Price:** 5 credits


        **💡 AI Hint:** Fetch one Yellow Pages business by its profile (MIP) URL
        or path (e.g. /los-angeles-ca/mip/emergency-rooter-542379108). Returns
        id, name, alias, alt_names, categories+category, rating (customer star
        avg), review_count, phone, email, web_url, other_urls,
        address/city/state/zip_code/formatted_address, latitude/longitude,
        area_served, neighborhoods, description, founding_year, hours,
        payment_methods, services, brands, languages, social_links, image
        (primary photo), logo and profile_url.


        **⚠️ Common errors:** 412: Business not found (well-formed profile URL
        with no Yellow Pages listing)
      operationId: __api_yellowpages_businesses_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/YellowpagesBusinessesPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/YellowpagesBusiness'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    YellowpagesBusinessesPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          description: Max scrapping execution timeout (in seconds)
          default: 300
        business:
          type: string
          minLength: 1
          description: Yellow Pages business profile (MIP) URL or path
          examples:
            - >-
              https://www.yellowpages.com/los-angeles-ca/mip/emergency-rooter-542379108
            - /los-angeles-ca/mip/ritz-plumbing-heating-air-electrical-9270807
      type: object
      required:
        - business
    YellowpagesBusiness:
      properties:
        '@type':
          type: string
          default: YellowpagesBusiness
        id:
          type: string
        name:
          type: string
        alias:
          anyOf:
            - type: string
            - type: 'null'
        alt_names:
          items:
            type: string
          type: array
          default: []
        categories:
          items:
            type: string
          type: array
          default: []
        category:
          anyOf:
            - type: string
            - type: 'null'
        rating:
          anyOf:
            - type: number
            - type: 'null'
        review_count:
          anyOf:
            - type: integer
            - type: 'null'
        phone:
          anyOf:
            - type: string
            - type: 'null'
        email:
          anyOf:
            - type: string
            - type: 'null'
        web_url:
          anyOf:
            - type: string
            - type: 'null'
        other_urls:
          items:
            type: string
          type: array
          default: []
        address:
          anyOf:
            - type: string
            - type: 'null'
        city:
          anyOf:
            - type: string
            - type: 'null'
        state:
          anyOf:
            - type: string
            - type: 'null'
        zip_code:
          anyOf:
            - type: string
            - type: 'null'
        formatted_address:
          anyOf:
            - type: string
            - type: 'null'
        latitude:
          anyOf:
            - type: number
            - type: 'null'
        longitude:
          anyOf:
            - type: number
            - type: 'null'
        area_served:
          anyOf:
            - type: string
            - type: 'null'
        neighborhoods:
          items:
            type: string
          type: array
          default: []
        description:
          anyOf:
            - type: string
            - type: 'null'
        founding_year:
          anyOf:
            - type: integer
            - type: 'null'
        hours:
          anyOf:
            - type: string
            - type: 'null'
        payment_methods:
          items:
            type: string
          type: array
          default: []
        services:
          items:
            type: string
          type: array
          default: []
        brands:
          items:
            type: string
          type: array
          default: []
        languages:
          items:
            type: string
          type: array
          default: []
        social_links:
          items:
            type: string
          type: array
          default: []
        image:
          anyOf:
            - type: string
            - type: 'null'
        logo:
          anyOf:
            - type: string
            - type: 'null'
        profile_url:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - id
        - name
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    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

````