Piloterr Yellowpages API
The Yellowpages API from Piloterr — 2 operation(s) for yellowpages.
The Yellowpages API from Piloterr — 2 operation(s) for yellowpages.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/piloterr-com:piloterr-com-yellowpages-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Piloterr API Reference Yellowpages API
description: Complete API reference documentation.
version: 1.0.0
servers:
- url: https://api.piloterr.com
description: API Server
tags:
- name: Yellowpages
paths:
/v2/yellowpages/search:
get:
summary: Yellowpages Search
description: 'Search Yellow Pages businesses from a full search URL and retrieve names, phones, addresses, ratings, opening hours, and pagination via browser rendering.
**Credit cost:** 2 credits per call'
operationId: get-yellowpages-search
security:
- ApiKeyAuth: []
parameters:
- name: query
in: query
required: true
description: "Full Yellow Pages search URL.\n\n**Example 1 (category + city):**\n\n https://www.yellowpages.com/los-angeles-ca/plumbers\n\n**Example 2 (page 2):**\n\n https://www.yellowpages.com/los-angeles-ca/plumbers?page=2\n\n**Notes:**\n- Only `yellowpages.com` search listing URLs are accepted.\n- Copy the full URL from yellowpages.com, including city slug, category, and `?page=` for pagination.\n- Yellow Pages search pages are JavaScript SPAs; this endpoint uses website rendering to scrape business cards.\n- Pass each result's `url` to the Yellowpages Business endpoint for full profile data."
schema:
type: string
description: "Full Yellow Pages search URL.\n\n**Example 1 (category + city):**\n\n https://www.yellowpages.com/los-angeles-ca/plumbers\n\n**Example 2 (page 2):**\n\n https://www.yellowpages.com/los-angeles-ca/plumbers?page=2\n\n**Notes:**\n- Only `yellowpages.com` search listing URLs are accepted.\n- Copy the full URL from yellowpages.com, including city slug, category, and `?page=` for pagination.\n- Yellow Pages search pages are JavaScript SPAs; this endpoint uses website rendering to scrape business cards.\n- Pass each result's `url` to the Yellowpages Business endpoint for full profile data."
- $ref: '#/components/parameters/fields'
- $ref: '#/components/parameters/is_async'
- $ref: '#/components/parameters/soft_fail'
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
properties:
results:
type: array
items:
type: object
properties:
url:
type: string
name:
type: string
phone:
type: string
postal_code:
type: string
rating_value:
type: number
review_count:
type: integer
opening_hours:
type: array
items:
type: string
address_region:
type: string
street_address:
type: string
address_country:
type: string
address_locality:
type: string
pagination:
type: object
properties:
next:
type: integer
current:
type: integer
next_url:
type: string
per_page:
type: integer
other_pages:
type: array
items:
type: integer
total_count:
type: integer
total_pages:
type: integer
has_next_page:
type: boolean
examples:
Search plumbers in Los Angeles:
value:
results:
- url: https://www.yellowpages.com/los-angeles-ca/mip/anawalt-lumber-13945594?lid=1002108313121
name: Anawalt Lumber
phone: (844) 699-3144
postal_code: '90064'
rating_value: 4.8
review_count: 5
opening_hours:
- Mo-Fr 06:00-20:00
- Sa 08:00-20:00
- Su 09:00-18:00
address_region: CA
street_address: 11060 W Pico Blvd
address_country: US
address_locality: Los Angeles
- url: https://www.yellowpages.com/los-angeles-ca/mip/emergency-rooter-542379108?lid=1002116238752
name: Emergency Rooter
phone: (424) 252-2969
postal_code: '90019'
rating_value: 4.5
review_count: 2
opening_hours:
- Mo-Su
address_region: CA
street_address: 1319 S La Brea Ave
address_country: US
address_locality: Los Angeles
- url: https://www.yellowpages.com/los-angeles-ca/mip/rooter-star-546734508?lid=1002194168683
name: Rooter Star
phone: (888) 574-3053
postal_code: '90019'
rating_value: 4.33
review_count: 3
address_region: CA
street_address: 1319 S La Brea Ave
address_country: US
address_locality: Los Angeles
pagination:
next: 2
current: 1
next_url: https://www.yellowpages.com/los-angeles-ca/plumbers?page=2
per_page: 30
other_pages:
- 2
- 3
- 4
- 5
total_count: 1401
total_pages: 47
has_next_page: true
'400':
description: Bad Request — missing or invalid parameters.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
error: Bad Request
'401':
description: Unauthorized — the API key is missing, invalid, inactive, or expired, or a rate limit was exceeded (`Rate limit exceeded…` message).
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
examples:
invalidKey:
value:
error: Invalid API Key
planRateLimit:
value:
error: 'Rate limit exceeded: You''ve exceeded the per second rate limit on your subscription'
keyQuota:
value:
error: 'Rate limit exceeded for the API key: quota monthly'
'402':
description: Payment Required — your subscription or credit balance is insufficient.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
error: Payment required
'500':
description: Internal Server Error — something went wrong on our side.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
error: Internal Error
tags:
- Yellowpages
post:
summary: Yellowpages Search
description: 'Search Yellow Pages businesses from a full search URL and retrieve names, phones, addresses, ratings, opening hours, and pagination via browser rendering.
**Credit cost:** 2 credits per call'
operationId: post-yellowpages-search
security:
- ApiKeyAuth: []
parameters:
- $ref: '#/components/parameters/fields'
- $ref: '#/components/parameters/is_async'
- $ref: '#/components/parameters/soft_fail'
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
query:
type: string
description: "Full Yellow Pages search URL.\n\n**Example 1 (category + city):**\n\n https://www.yellowpages.com/los-angeles-ca/plumbers\n\n**Example 2 (page 2):**\n\n https://www.yellowpages.com/los-angeles-ca/plumbers?page=2\n\n**Notes:**\n- Only `yellowpages.com` search listing URLs are accepted.\n- Copy the full URL from yellowpages.com, including city slug, category, and `?page=` for pagination.\n- Yellow Pages search pages are JavaScript SPAs; this endpoint uses website rendering to scrape business cards.\n- Pass each result's `url` to the Yellowpages Business endpoint for full profile data."
required:
- query
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
properties:
results:
type: array
items:
type: object
properties:
url:
type: string
name:
type: string
phone:
type: string
postal_code:
type: string
rating_value:
type: number
review_count:
type: integer
opening_hours:
type: array
items:
type: string
address_region:
type: string
street_address:
type: string
address_country:
type: string
address_locality:
type: string
pagination:
type: object
properties:
next:
type: integer
current:
type: integer
next_url:
type: string
per_page:
type: integer
other_pages:
type: array
items:
type: integer
total_count:
type: integer
total_pages:
type: integer
has_next_page:
type: boolean
examples:
Search plumbers in Los Angeles:
value:
results:
- url: https://www.yellowpages.com/los-angeles-ca/mip/anawalt-lumber-13945594?lid=1002108313121
name: Anawalt Lumber
phone: (844) 699-3144
postal_code: '90064'
rating_value: 4.8
review_count: 5
opening_hours:
- Mo-Fr 06:00-20:00
- Sa 08:00-20:00
- Su 09:00-18:00
address_region: CA
street_address: 11060 W Pico Blvd
address_country: US
address_locality: Los Angeles
- url: https://www.yellowpages.com/los-angeles-ca/mip/emergency-rooter-542379108?lid=1002116238752
name: Emergency Rooter
phone: (424) 252-2969
postal_code: '90019'
rating_value: 4.5
review_count: 2
opening_hours:
- Mo-Su
address_region: CA
street_address: 1319 S La Brea Ave
address_country: US
address_locality: Los Angeles
- url: https://www.yellowpages.com/los-angeles-ca/mip/rooter-star-546734508?lid=1002194168683
name: Rooter Star
phone: (888) 574-3053
postal_code: '90019'
rating_value: 4.33
review_count: 3
address_region: CA
street_address: 1319 S La Brea Ave
address_country: US
address_locality: Los Angeles
pagination:
next: 2
current: 1
next_url: https://www.yellowpages.com/los-angeles-ca/plumbers?page=2
per_page: 30
other_pages:
- 2
- 3
- 4
- 5
total_count: 1401
total_pages: 47
has_next_page: true
'400':
description: Bad Request — missing or invalid parameters.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
error: Bad Request
'401':
description: Unauthorized — the API key is missing, invalid, inactive, or expired, or a rate limit was exceeded (`Rate limit exceeded…` message).
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
examples:
invalidKey:
value:
error: Invalid API Key
planRateLimit:
value:
error: 'Rate limit exceeded: You''ve exceeded the per second rate limit on your subscription'
keyQuota:
value:
error: 'Rate limit exceeded for the API key: quota monthly'
'402':
description: Payment Required — your subscription or credit balance is insufficient.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
error: Payment required
'500':
description: Internal Server Error — something went wrong on our side.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
error: Internal Error
tags:
- Yellowpages
/v2/yellowpages/business:
get:
summary: Yellowpages Business
description: 'Extract a full Yellow Pages business profile from a listing URL, including phone, website, categories, and ratings via browser rendering.
**Credit cost:** 2 credits per call'
operationId: get-yellowpages-business
security:
- ApiKeyAuth: []
parameters:
- name: query
in: query
required: true
description: "Full Yellow Pages business listing URL.\n\n**Example:**\n\n https://www.yellowpages.com/los-angeles-ca/mip/anawalt-lumber-13945594?lid=1002108313121\n\n**Notes:**\n- Only `/mip/` business profile URLs on yellowpages.com are accepted.\n- Query parameters such as `?lid=` are supported.\n- Business profile pages are JavaScript SPAs; this endpoint uses website rendering to extract phone, website, categories, and ratings.\n- Copy the listing URL from search results or from yellowpages.com."
schema:
type: string
description: "Full Yellow Pages business listing URL.\n\n**Example:**\n\n https://www.yellowpages.com/los-angeles-ca/mip/anawalt-lumber-13945594?lid=1002108313121\n\n**Notes:**\n- Only `/mip/` business profile URLs on yellowpages.com are accepted.\n- Query parameters such as `?lid=` are supported.\n- Business profile pages are JavaScript SPAs; this endpoint uses website rendering to extract phone, website, categories, and ratings.\n- Copy the listing URL from search results or from yellowpages.com."
- $ref: '#/components/parameters/fields'
- $ref: '#/components/parameters/is_async'
- $ref: '#/components/parameters/soft_fail'
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
properties:
name:
type: string
phone:
type: string
rating:
type: string
address:
type: string
website:
type: string
categories:
type: array
items:
type: string
rating_count:
type: integer
examples:
Lookup Ritz Plumbing, Los Angeles:
value:
name: Ritz Plumbing Heating, Air & Electrical
phone: 323 452-4915
rating: five
address: 1355 S La Brea Ave, Los Angeles, CA 90019
website: http://www.ritzplumbinginc.org
categories:
- Plumbers
- Air Conditioning Contractors & Systems
- Air Conditioning Service & Repair
- Plumbers
- Air Conditioning Contractors & Systems
- Air Conditioning Service & Repair
- Building Contractors
- Building Contractors-Commercial & Industrial
- Electricians
- Furnace Repair & Cleaning
- Furnaces-Heating
- Heating Contractors & Specialties
- Heating Equipment & Systems
- Plumbing Contractors-Commercial & Industrial
- Plumbing-Drain & Sewer Cleaning
- Sewer Contractors
- Water Heaters
rating_count: 3
'400':
description: Bad Request — missing or invalid parameters.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
error: Bad Request
'401':
description: Unauthorized — the API key is missing, invalid, inactive, or expired, or a rate limit was exceeded (`Rate limit exceeded…` message).
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
examples:
invalidKey:
value:
error: Invalid API Key
planRateLimit:
value:
error: 'Rate limit exceeded: You''ve exceeded the per second rate limit on your subscription'
keyQuota:
value:
error: 'Rate limit exceeded for the API key: quota monthly'
'402':
description: Payment Required — your subscription or credit balance is insufficient.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
error: Payment required
'500':
description: Internal Server Error — something went wrong on our side.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
error: Internal Error
tags:
- Yellowpages
post:
summary: Yellowpages Business
description: 'Extract a full Yellow Pages business profile from a listing URL, including phone, website, categories, and ratings via browser rendering.
**Credit cost:** 2 credits per call'
operationId: post-yellowpages-business
security:
- ApiKeyAuth: []
parameters:
- $ref: '#/components/parameters/fields'
- $ref: '#/components/parameters/is_async'
- $ref: '#/components/parameters/soft_fail'
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
query:
type: string
description: "Full Yellow Pages business listing URL.\n\n**Example:**\n\n https://www.yellowpages.com/los-angeles-ca/mip/anawalt-lumber-13945594?lid=1002108313121\n\n**Notes:**\n- Only `/mip/` business profile URLs on yellowpages.com are accepted.\n- Query parameters such as `?lid=` are supported.\n- Business profile pages are JavaScript SPAs; this endpoint uses website rendering to extract phone, website, categories, and ratings.\n- Copy the listing URL from search results or from yellowpages.com."
required:
- query
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
properties:
name:
type: string
phone:
type: string
rating:
type: string
address:
type: string
website:
type: string
categories:
type: array
items:
type: string
rating_count:
type: integer
examples:
Lookup Ritz Plumbing, Los Angeles:
value:
name: Ritz Plumbing Heating, Air & Electrical
phone: 323 452-4915
rating: five
address: 1355 S La Brea Ave, Los Angeles, CA 90019
website: http://www.ritzplumbinginc.org
categories:
- Plumbers
- Air Conditioning Contractors & Systems
- Air Conditioning Service & Repair
- Plumbers
- Air Conditioning Contractors & Systems
- Air Conditioning Service & Repair
- Building Contractors
- Building Contractors-Commercial & Industrial
- Electricians
- Furnace Repair & Cleaning
- Furnaces-Heating
- Heating Contractors & Specialties
- Heating Equipment & Systems
- Plumbing Contractors-Commercial & Industrial
- Plumbing-Drain & Sewer Cleaning
- Sewer Contractors
- Water Heaters
rating_count: 3
'400':
description: Bad Request — missing or invalid parameters.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
error: Bad Request
'401':
description: Unauthorized — the API key is missing, invalid, inactive, or expired, or a rate limit was exceeded (`Rate limit exceeded…` message).
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
examples:
invalidKey:
value:
error: Invalid API Key
planRateLimit:
value:
error: 'Rate limit exceeded: You''ve exceeded the per second rate limit on your subscription'
keyQuota:
value:
error: 'Rate limit exceeded for the API key: quota monthly'
'402':
description: Payment Required — your subscription or credit balance is insufficient.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
error: Payment required
'500':
description: Internal Server Error — something went wrong on our side.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
error: Internal Error
tags:
- Yellowpages
components:
parameters:
fields:
name: fields
in: query
required: false
description: Comma-separated list of response fields to return, with dot notation for nested fields (e.g. `name,location.city`).
schema:
type: string
is_async:
name: is_async
in: query
required: false
description: 'Run the request as a background job: the API answers `202` with a `job_id` to poll on `GET /v1/jobs/{id}`.'
schema:
type: boolean
default: false
soft_fail:
name: soft_fail
in: query
required: false
description: Return HTTP 200 even when the request fails; the error is in the `error` field of the body.
schema:
type: boolean
default: false
schemas:
ErrorResponse:
type: object
required:
- error
properties:
error:
type: string
description: Human-readable error message.
securitySchemes:
ApiKeyAuth:
type: apiKey
in: header
name: x-api-key
description: Your API key. Include it in the x-api-key header for every request.