Sourcelane

Yellow Pages Scraper

Finance & Company Data

Operated by Sourcelane✓ verified

Scrape US businesses from YellowPages.com by keyword and city - name, phone, email, website, address, ZIP, rating, reviews and GPS. Export B2B leads fast.

Read full description

Extracts US business listings from YellowPages.com into structured business-lead records. The connector issues category or company‑type and location searches, pages through search results, and can follow business detail pages to capture contact information and profile data. Outputs per-business records containing contact phones and emails, website URLs, full postal addresses, GPS coordinates, primary category and additional categories/services, business descriptions, opening hours, ratings and review counts, years-listed badge and paid-advertiser indicator, accepted payment methods, additional phone numbers, logos and listing/detail URLs. The connector deduplicates businesses found across multiple searches and iterates through result pages until a requested maximum is reached, producing results optimized for lead lists, prospecting and local market analysis.

Verified Oct 25, 10:11 PM

$0.0015

per business listing

Up to 100 per call. Only pay for results returned; failed calls are refunded.

What people use it for

You give it

  • Search terms

    What to search for on YellowPages.com - a trade, business type or company name, e.g.

  • Locations

    US cities, or ZIP codes to search in, e.g.

  • Start URLs

    YellowPages.com search results URLs to scrape directly, e.g.

Optional settings

Max businessesMax businesses per searchInclude business details

You get back

Text & content
Description
People & accounts
NamePhonePhonesEmail
Numbers & stats
RatingReview count
Location
AddressStreetPostal codeCityRegionCountryLatitudeLongitude+1 more
Links & media
Logo URLDetail URLSource URL
Other details
CategoryCategoriesWebsiteDistrictOpening hoursServicesVat numberPayment methods+5 more

Trust & reliability

7d uptime trend
WindowUptimeSuccess ratep50p95Calls
24h————0
7d————0
30d————0

Calling contract

Call it through Sourcelane's gateway or MCP server. We run the connector, apply your agent's spend guardrails, and bill only the results returned.

Call it via Sourcelane

curl -X POST https://api.usesourcelane.com/v1/call \
  -H "Authorization: Bearer sl_live_your_agent_key" \
  -H "Content-Type: application/json" \
  -d '{"listing":"yellow-pages-us-scraper","params":{"searchTerms":["plumbers"],"maxItems":5},"maxResults":10}'

Request params

FieldTypeRequiredDescription
searchTermsarrayoptionalWhat to search for on YellowPages.com - a trade, business type or company name, e.g. "plumbers", "dentists", "roofing contractors". Each term is searched in every location.
locationsarrayoptionalUS cities (with state), or ZIP codes to search in, e.g. "Los Angeles, CA", "Chicago, IL", "10001".
startUrlsarrayoptionalYellowPages.com search results URLs to scrape directly, e.g. https://www.yellowpages.com/search?search_terms=plumbers&geo_location_terms=Los+Angeles%2C+CA. Used in addition to the search terms above.
maxItemsintegeroptionalMaximum number of businesses to return across all searches. 0 = no limit. Capped at 100 per call.
maxItemsPerSearchintegeroptionalOptional cap for each search term + location combination. 0 = no per-search limit.
includeDetailsbooleanoptionalAlso open each business page for email address, GPS coordinates, full description, services, payment methods, neighborhoods, extra phone numbers and opening hours (one extra request per business).

Each result contains

FieldTypeDescription
namestringName
categorystringCategory
categoriesarray—
descriptionnull—
phonestringPhone
phonesarray—
emailnullEmail
websitestringWebsite
addressstring—
streetstringStreet
postalCodestringZIP
citystringCity
districtnull—
regionstringState
countrystring—
latitudenull—
longitudenull—
ratingnumberRating
reviewCountintegerReviews
openingHoursarray—
servicesarray—
vatNumbernull—
paymentMethodsarray—
logoUrlstring—
badgestring—
isPaidListingboolean—
listingIdstring—
detailUrlstringListing
positioninteger—
searchTermstringSearch term
searchLocationstringLocation
sourceUrlstring—
scrapedAtstring—

Use Yellow Pages Scraper from Claude, ChatGPT or Cursor

Pick your tool and connect in under a minute. Then just ask — for example: “Which AI companies filed a Form D in the last two weeks, and how much did they raise?”

Connect Claude

Web, desktop and mobile. One click, then confirm.

  1. 1Click Add to Claude — claude.ai opens with Sourcelane filled in
  2. 2Click Continue to confirm — it then works in Claude desktop and mobile too
Manual setup (config files, REST, Python) +

Claude Code

Adds the Sourcelane MCP server with your key as a header.

terminal
claude mcp add --transport http sourcelane https://api.usesourcelane.com/mcp \
  --header "Authorization: Bearer sl_live_your_agent_key"

Claude Desktop (config file)

Alternative to the connector URL: add to claude_desktop_config.json, then restart Claude.

claude_desktop_config.json
{
  "mcpServers": {
    "sourcelane": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://api.usesourcelane.com/mcp",
        "--header",
        "Authorization:${AUTH_HEADER}"
      ],
      "env": {
        "AUTH_HEADER": "Bearer sl_live_your_agent_key"
      }
    }
  }
}

Cursor & Windsurf

Add to ~/.cursor/mcp.json (or Windsurf's mcp_config.json).

mcp.json
{
  "mcpServers": {
    "sourcelane": {
      "url": "https://api.usesourcelane.com/mcp",
      "headers": {
        "Authorization": "Bearer sl_live_your_agent_key"
      }
    }
  }
}

VS Code

Save as .vscode/mcp.json. VS Code prompts for your key once.

.vscode/mcp.json
{
  "servers": {
    "sourcelane": {
      "type": "http",
      "url": "https://api.usesourcelane.com/mcp",
      "headers": {
        "Authorization": "Bearer ${input:sourcelane-key}"
      }
    }
  },
  "inputs": [
    {
      "type": "promptString",
      "id": "sourcelane-key",
      "description": "Sourcelane agent key",
      "password": true
    }
  ]
}

ChatGPT Custom GPT (Actions)

Create a GPT → Actions → Import from URL, then Authentication: API Key, Bearer.

OpenAPI schema URL
https://usesourcelane.com/openapi.json

REST

One POST. Pass maxResults to cap cost.

curl
curl -X POST https://api.usesourcelane.com/v1/call \
  -H "Authorization: Bearer sl_live_your_agent_key" \
  -H "Content-Type: application/json" \
  -d '{"listing":"yellow-pages-us-scraper","params":{"searchTerms":["plumbers"],"maxItems":5},"maxResults":10}'

Python, LangChain, CrewAI, OpenAI Agents SDK…

Wrap the REST call as a tool, or point an MCP client at the endpoint.

python
import requests

res = requests.post(
    "https://api.usesourcelane.com/v1/call",
    headers={"Authorization": "Bearer sl_live_your_agent_key"},
    json={
        "listing": "yellow-pages-us-scraper",
        "params": {"searchTerms":["plumbers"],"maxItems":5},
        "maxResults": 10,
    },
    timeout=300,
)
body = res.json()
print(body["receipt"]["chargedMicros"], "micro-USD for", body["receipt"]["results"], "results")
print(body["data"])

Reviews

—

0 reviews

5
0
4
0
3
0
2
0
1
0

Leave a review

Loading reviews…

Related Company & Finance connectors

See all Company & Finance data connectors →

Guides that use this connector