Discover/Seccionamarilla API
live

Seccionamarilla APIseccionamarilla.com.mx

Search and retrieve Mexican business listings from Sección Amarilla. Get names, phones, addresses, coordinates, hours, and social links via 3 endpoints.

Endpoint health
verified 7h ago
search_businesses
get_business_details
get_popular_categories
3/3 passing latest checkself-healing
Endpoints
3
Updated
26d ago

What is the Seccionamarilla API?

The Sección Amarilla API gives developers structured access to Mexico's largest Yellow Pages directory across 3 endpoints. Use search_businesses to query businesses by keyword and city, returning paginated results with names, phone numbers, addresses, and listing URLs. get_business_details goes deeper, resolving a listing URL into coordinates, operating hours, WhatsApp links, and social media profiles.

Try it
Page number for pagination.
Search keyword or category (e.g., 'restaurantes', 'hoteles', 'dentistas'). Omitting defaults to 'restaurantes'.
Location to search in (e.g., 'ciudad de mexico', 'guadalajara', 'monterrey'). Omitting defaults to 'mexico'.
api.parse.bot/scraper/d780d98d-3348-4b8e-a76d-948af67304c3/<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/d780d98d-3348-4b8e-a76d-948af67304c3/search_businesses?page=1&query=restaurantes&location=ciudad+de+mexico' \
  -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 seccionamarilla-com-mx-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.

"""Seccion Amarilla SDK — browse Mexican Yellow Pages programmatically."""
from parse_apis.seccion_amarilla_api import SeccionAmarilla, Business, BusinessNotFound, Query, Location

client = SeccionAmarilla()

# Browse popular categories available on the homepage.
for cat in client.categories.list(limit=5):
    print(cat.name, cat.slug)

# Search for restaurants in Mexico City — bounded iteration.
listing = client.listings.search(query=Query.RESTAURANTES, location=Location.CIUDAD_DE_MEXICO, limit=1).first()
if listing:
    print(listing.name, listing.address, listing.phone)

    # Drill into the full business detail for this listing.
    try:
        detail = listing.details()
        print(detail.name, detail.address, detail.phones)
        if detail.coordinates:
            print(detail.coordinates.latitude, detail.coordinates.longitude)
    except BusinessNotFound as exc:
        print(f"Business no longer exists: {exc.url}")

print("exercised: categories.list / listings.search / listing.details")
All endpoints · 3 totalmissing one? ·

Search for business listings by keyword and location on Sección Amarilla. Returns paginated results with business name, address, phone, category, and detail URL. Each page returns up to 20 listings. Pagination is page-number based.

Input
ParamTypeDescription
pageintegerPage number for pagination.
querystringSearch keyword or category (e.g., 'restaurantes', 'hoteles', 'dentistas'). Omitting defaults to 'restaurantes'.
locationstringLocation to search in (e.g., 'ciudad de mexico', 'guadalajara', 'monterrey'). Omitting defaults to 'mexico'.
Response
{
  "type": "object",
  "fields": {
    "page": "integer, current page number",
    "query": "string, the search query used",
    "listings": "array of business listing objects with name, url, address, phone, and category",
    "location": "string, the location searched",
    "total_pages": "integer, total number of pages available"
  },
  "sample": {
    "data": {
      "page": 1,
      "query": "restaurantes",
      "listings": [
        {
          "url": "https://www.seccionamarilla.com.mx/informacion/hunan/restaurantes/distrito-federal/miguel-hidalgo/lomas-de-chapultepec-i-seccion/3078452",
          "name": "HUNAN",
          "phone": "(55)5596-4355",
          "address": "AV PASEO DE LA REFORMA 2210, LOMAS DE CHAPULTEPEC I SECCION, MIGUEL HIDALGO, DF, CP 11000",
          "category": "Restaurantes-Cocina China"
        }
      ],
      "location": "ciudad de mexico",
      "total_pages": 6
    },
    "status": "success"
  }
}

About the Seccionamarilla API

What the API Covers

This API surfaces data from seccionamarilla.com.mx, Mexico's primary business directory. It covers three operations: searching the directory by keyword and location, retrieving full detail for individual listings, and fetching the homepage's popular category taxonomy. Together, these cover most common use cases for business discovery and contact data enrichment across Mexican cities.

Search and Pagination

The search_businesses endpoint accepts a query string (e.g., 'dentistas', 'hoteles') and a location string (e.g., 'guadalajara', 'ciudad de mexico'). The response includes a listings array where each entry contains name, address, phone, url, and optionally category and website. The total_pages field tells you how many pages exist for a given query/location combination, and the page parameter lets you walk through them.

Business Detail Fields

get_business_details takes the url returned from search results and returns a richer record: phones (an array, since businesses often list multiple numbers), coordinates (latitude/longitude object, or null if not available), operating_hours (an array of day/hours objects), whatsapp, social_links (an array of profile URLs), and website. This endpoint is the primary way to get geocoordinates and structured hours.

Category Discovery

get_popular_categories requires no inputs and returns an array of objects with name (display label) and slug (URL path segment). This is useful for building category-driven browsing interfaces or discovering valid query terms to pass to search_businesses.

Reliability & maintenanceVerified

The Seccionamarilla API is a managed, monitored endpoint for seccionamarilla.com.mx — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when seccionamarilla.com.mx 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 seccionamarilla.com.mx 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
7h ago
Latest check
3/3 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 Mexico-focused local business finder using search_businesses with city and category inputs
  • Enrich a CRM with phone numbers, addresses, and websites for Mexican businesses using get_business_details
  • Geocode business locations across Mexico by extracting coordinates from detail records
  • Aggregate operating hours for restaurants or pharmacies in a specific Mexican city
  • Generate a category-browsing interface seeded from get_popular_categories slugs
  • Monitor WhatsApp contact availability for local service providers in the directory
  • Build a lead list of businesses in a vertical (e.g., 'plomeros' in 'monterrey') with phones and URLs
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 Sección Amarilla have an official developer API?+
No. Sección Amarilla does not publish a public developer API or official data access program. This Parse API is the available programmatic option for accessing the directory's data.
What does `get_business_details` return that `search_businesses` does not?+
search_businesses returns one phone number per listing at most, plus a URL. get_business_details resolves that URL into a full record including a phones array (multiple numbers), coordinates with latitude and longitude, structured operating_hours by day, whatsapp, social_links, and website. If you only need name and a single phone for a large list, search results may be sufficient; for geocoding or hours, you need the detail endpoint.
Are business reviews or ratings available?+
Not currently. The API returns contact data, coordinates, hours, and social links. Reviews and ratings are not exposed by any of the three endpoints. You can fork this API on Parse and revise it to add a reviews endpoint if that data is present on individual listing pages.
How does pagination work in `search_businesses`?+
The response includes page (the current page) and total_pages (the total count for that query and location). Pass the page integer parameter to walk through results. There is no cursor or offset mechanism; pages are integer-indexed starting from 1.
Does the API cover businesses outside of Mexico?+
No. Sección Amarilla is a Mexico-specific directory and the API reflects that scope. All listings are for businesses operating within Mexico. The location parameter accepts Mexican cities and regions only.
Page content last updated . Spec covers 3 endpoints from seccionamarilla.com.mx.
Related APIs in B2b DirectorySee all →
paginasamarillas.com.mx API
Access Mexico's largest business directory to find company profiles, browse business categories, search for specific services, and discover industry insights from curated blog content. Build applications that help users discover and learn about Mexican businesses all in one place.
paginasamarillas.com.pe API
Search and discover Peruvian businesses with instant access to their contact details, including phone numbers, emails, WhatsApp, websites, social media profiles, addresses, and operating hours. Find verified reviews and comprehensive business information all in one place to easily connect with companies across Peru.
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.
paginasamarillas.es API
Search and discover Spanish businesses with detailed information including contact details, social links, and customer reviews, with specialized features for finding restaurants and getting search suggestions. Access comprehensive business profiles to find exactly what you're looking for in Spain's leading business directory.
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.
yellowpages.in API
Search for businesses across India and discover detailed information like contact details, addresses, and services from YellowPages.in's comprehensive business directory. Find relevant business categories with autocomplete suggestions to quickly locate the leads and companies you're looking for.
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.
páginasamarelas.pt API
Search for Portuguese businesses by name or category, browse Yellow Pages listings, and access detailed company information like contact details, addresses, and services. Find the right local business quickly with filters and comprehensive business profiles from Portugal's official business directory.