Discover/YellowPages API
live

YellowPages APIyellowpages.in

Search Indian businesses, get contact details, coordinates, opening hours, and category listings from YellowPages.in via a structured REST API.

Endpoint health
verified 4d ago
search_businesses
get_search_autocomplete
list_categories
get_business_detail
4/4 passing latest checkself-healing
Endpoints
4
Updated
26d ago

What is the YellowPages API?

The YellowPages.in API provides access to India's business directory through 4 endpoints, returning business listings with phone numbers, email addresses, coordinates, and opening hours. The search_businesses endpoint accepts a keyword and city to return matching businesses across India, while get_business_detail returns full contact info, timings, and geolocation for a single listing.

Try it
Maximum number of business results to return.
Business type or keyword to search for (e.g. 'plumbers', 'hotels', 'restaurants').
City or area to search in (e.g. 'Hyderabad', 'Delhi', 'Mumbai').
api.parse.bot/scraper/5ec3b974-cf29-4a9d-a9bf-8e61fa71d1c6/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/5ec3b974-cf29-4a9d-a9bf-8e61fa71d1c6/search_businesses?limit=10&query=plumbers&location=Hyderabad' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace yellowpages-in-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

from parse_apis.yellowpages_india_api import YellowPages, Business, BusinessSummary, Category, Suggestion

client = YellowPages()

# Search for plumbers in Hyderabad
for business in client.businesssummaries.search(query="plumbers", location="Hyderabad"):
    print(business.name, business.phone, business.address)

    # Get full details for each business
    detail = business.details()
    print(detail.name, detail.phone, detail.address, detail.website)
    if detail.coordinates:
        print(detail.coordinates.lat, detail.coordinates.lng)

# Autocomplete suggestions
for suggestion in client.suggestions.search(query="rest", location="Mumbai"):
    print(suggestion.text, suggestion.type, suggestion.area)

# List all categories
for category in client.categories.list():
    print(category.name, category.url)

# Get a specific business by URL path
biz = client.businesses.get(url="/b/nasir-ali-plumber-bahadurpura-hyderabad/290211885")
print(biz.name, biz.phone, biz.address)
All endpoints · 4 totalmissing one? ·

Search for businesses by keyword and location. Uses the site's category search to find matching businesses in the specified Indian city. Returns structured business listings with contact information. The query must match a known category on the site; use get_search_autocomplete to discover valid category terms. Returns up to ~25 results for a single category match.

Input
ParamTypeDescription
limitintegerMaximum number of business results to return.
queryrequiredstringBusiness type or keyword to search for (e.g. 'plumbers', 'hotels', 'restaurants').
locationrequiredstringCity or area to search in (e.g. 'Hyderabad', 'Delhi', 'Mumbai').
Response
{
  "type": "object",
  "fields": {
    "query": "string — the search query used",
    "location": "string — the location searched",
    "businesses": "array of business objects with name, url, phone, address, email, and rating",
    "total_results": "integer — total number of results found on the listing page"
  },
  "sample": {
    "data": {
      "query": "plumbers",
      "location": "Hyderabad",
      "businesses": [
        {
          "url": "http://www.yellowpages.in/b/perfect-plumbtech-hyder-shah-kote-hyderabad/413953573",
          "name": "Perfect Plumbtech",
          "email": "[email protected]",
          "phone": "+1 (555) 012-3456",
          "rating": "0.0",
          "address": "123 Main St, Springfield, IL 62704"
        }
      ],
      "total_results": 13
    },
    "status": "success"
  }
}

About the YellowPages API

What the API Covers

The YellowPages.in API exposes four endpoints that cover searching, detail retrieval, autocomplete, and category browsing for businesses listed on the Indian YellowPages directory. The search_businesses endpoint takes a required query (e.g. 'hotels', 'plumbers') and location (e.g. 'Mumbai', 'Delhi') and returns an array of business objects, each with name, url, phone, address, email, and rating. An optional limit parameter controls how many results come back. The total_results field reflects the count reported on the listing page.

Business Detail and Autocomplete

To go deeper on any listing, pass its url path — obtainable from search_businesses results — to get_business_detail. The response adds website, timings (a map of day names to time ranges), and coordinates with lat and lng strings, fields not present in the search listing. Both email and website are nullable; timings and coordinates are returned as null when the business hasn't published that information. The get_search_autocomplete endpoint accepts a partial query and a location and returns suggestions typed as either 'category' or 'business', each with a text, url, and optional area field — useful for building search-as-you-type interfaces.

Category Browsing

The list_categories endpoint takes no inputs and returns the full set of business categories available on YellowPages.in — hundreds of entries, each with a name and a url pointing to its listing page. This is the right starting point for enumerating verticals or seeding a batch search across specific sectors.

Reliability & maintenanceVerified

The YellowPages API is a managed, monitored endpoint for yellowpages.in — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when yellowpages.in changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official yellowpages.in API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
4d ago
Latest check
4/4 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Build a B2B lead list by searching a keyword like 'manufacturers' across multiple Indian cities using search_businesses
  • Enrich a CRM record with verified phone, email, and website by calling get_business_detail on a known business URL
  • Map business locations by extracting coordinates from get_business_detail to plot on a geo visualization
  • Power a search-as-you-type field for Indian business discovery using get_search_autocomplete suggestions
  • Audit operating hours for a set of service businesses by parsing the timings object returned by get_business_detail
  • Enumerate all industry verticals available on YellowPages.in using list_categories to drive a category-browsing UI
  • Cross-reference Indian business contact data — phone, email, address — against another directory for deduplication
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does YellowPages.in have an official developer API?+
YellowPages.in does not publish an official public developer API or documented REST endpoints for third-party use.
What does `get_business_detail` return that `search_businesses` does not?+
get_business_detail adds website, timings (a day-by-day hours map), and coordinates (lat/lng strings). The search endpoint returns only name, url, phone, address, email, and rating. To get hours or map coordinates for a listing you must make a separate get_business_detail call using the url from the search result.
Does the API support pagination through multi-page search results?+
The search_businesses endpoint returns results from the listing page and exposes a total_results count, but does not currently accept a page or offset parameter for fetching subsequent pages. The limit parameter controls how many items are returned from the first page of results. You can fork this API on Parse and revise it to add pagination support.
Does the API cover businesses across all Indian cities?+
Coverage depends on what is listed on YellowPages.in for the location value you supply. There is no built-in list of supported cities; results vary by how densely a city is indexed in the directory. Smaller towns may return fewer or no results for a given query.
Can I retrieve user reviews or ratings detail for a business?+
The search_businesses endpoint returns a rating field at the listing level, but neither endpoint currently returns individual user reviews, review counts, or review text. You can fork this API on Parse and revise it to add a reviews endpoint that pulls review data from business detail pages.
Page content last updated . Spec covers 4 endpoints from yellowpages.in.
Related APIs in B2b DirectorySee all →
yellowpages.com API
Search and retrieve business listings, contact info, hours, categories, and customer reviews from YellowPages.com. Browse by category or location across the US.
yellowpages.com.au API
Search Australian businesses by category to find contact details, addresses, and emails, then retrieve comprehensive business information for any listing. Perfect for building lead lists, verifying business information, or discovering local service providers across Australia.
yellowpages-uae.com API
Search and discover UAE businesses with instant access to contact details, locations, and branch information from the Yellow Pages UAE directory. Find companies by name, get detailed business profiles, explore multiple branches, and browse available cities all in one place.
yellowpages.ca API
Search for businesses across Canada and retrieve detailed information including contact details, ratings, reviews, and website data. Supports keyword and location-based discovery of local businesses for research, analysis, and data enrichment use cases.
justdial.com API
Search and discover local Indian businesses across categories like restaurants, doctors, and caterers with instant access to contact information, ratings, reviews, and service details. Find the perfect service provider in your area with comprehensive business listings and verified customer feedback.
gelbeseiten.de API
Search for businesses on Gelbe Seiten (gelbeseiten.de) by keyword and location, and retrieve full business details including contact information, opening hours, categories, and reviews.
seccionamarilla.com.mx API
Search for Mexican businesses and get their detailed contact information, hours, and locations from Sección Amarilla's comprehensive directory. Browse popular business categories to discover services and companies across Mexico.
m.yelp.com API
Search for businesses and read detailed reviews on Yelp, then get autocomplete suggestions to find exactly what you're looking for. Access comprehensive business information including ratings, hours, and customer feedback all in one place.