Yellowpages scraper
ExtractHub extractors are versioned web scrapers: each one is a saved scraper for one kind of page that returns structured JSON through an API. For Yellowpages (yellowpages.com) there is one public extractor: Yellow Pages - search results. Together they return fields such as searchTitle, totalResults, businesses, schemaListings and nextPageUrl. Call one with your API key and a pinned extractor_id, from the REST API, the Batch API or an AI agent over MCP.
Yellowpages scraper extractor
-
yellowpages.com · @extracthub1/yellowpages-search@1 (v1.0.0)
Yellow Pages search page (yellowpages.com/search?search_terms=...&geo_location_terms=..., with &page=N): the 30 businesses of the page with name, link, categories, phone, street address, city / state / ZIP, website, review count, star rating, years in business, opening status and description snippet, plus the total results count and the next page link. Ads are skipped. A second list gives the schema.org data of the same businesses (numeric rating, opening hours).
Fields:
Yellow Pages - search results scraper: fields, versions and examples →searchTitle,totalResults,businesses,schemaListings,nextPageUrl
How to call the Yellowpages scraper API
Every call needs your API key (X-API-Key) and a pinned extractor_id. This example uses
@extracthub1/yellowpages-search@1 (Yellow Pages - search results); open an extractor's page for its batch, Python and Node examples.
curl -X POST "https://api.extracthub.io/api/extractor/extract" \
-H "X-API-Key: $EXTRACTHUB_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"extractor_id": "@extracthub1/yellowpages-search@1",
"target": { "url": "https://yellowpages.com/..." }
}' Use ExtractHub to extract https://yellowpages.com/... with @extracthub1/yellowpages-search@1 {
"tool": "extract",
"arguments": {
"extractor_id": "@extracthub1/yellowpages-search@1",
"url": "https://yellowpages.com/..."
}
} See the web scraping API reference and the web scraping MCP server setup.
Need another Yellowpages page type?
Build your own Yellowpages scraper with an AI agent and the extractor builder skill, or in ExtractHub Studio. It stays private until you release it.
Yellowpages scraper: frequently asked questions
Is there a ready-made Yellowpages scraper?
Yes. ExtractHub lists one public extractor for yellowpages.com. An extractor is a versioned web scraper for one kind of page: its owner released it as an immutable version with an output schema, and you call that version with your own API key.
What data can I scrape from Yellowpages?
Yellow Pages - search results returns searchTitle, totalResults, businesses, schemaListings and nextPageUrl. Every field is listed on the extractor's page with a sample response.
How do I call the Yellowpages scraper API?
Send GET or POST https://api.extracthub.io/api/extractor/extract with your API key in the X-API-Key header, extractor_id=@extracthub1/yellowpages-search@1 and the URL of a yellowpages.com page as the target. For many URLs use POST https://api.extracthub.io/api/extractor/batch. AI agents call the same extractor through the extract tool of the ExtractHub MCP server at https://api.extracthub.io/mcp.
Can I build my own Yellowpages scraper?
Yes. Build an extractor for any Yellowpages page type in ExtractHub Studio, or let an AI agent such as Claude Code build, test and release it with the open-source extractor builder skill. New extractors are private until you release them.