Discover/páginasamarelas.pt API
live

páginasamarelas.pt APIpáginasamarelas.pt

Access Portuguese business listings from Páginas Amarelas (pai.pt). Search by keyword, browse categories, and retrieve contact details, geo coordinates, and hours.

Endpoints
5
Updated
3mo ago
Try it
Page number for pagination.
Search keyword (e.g., 'restaurante', 'hotel')
Location filter (e.g., 'Lisboa', 'Porto'). Omitting returns results across all of Portugal
api.parse.bot/scraper/c13d65ce-1796-45fb-bd3d-d7db50135285/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/c13d65ce-1796-45fb-bd3d-d7db50135285/search_businesses?page=1&query=restaurante&location=Lisboa' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 5 totalclick to expand

Search for businesses by keyword and optional location on pai.pt. Returns paginated results with business names, URLs, IDs, and addresses.

Input
ParamTypeDescription
pageintegerPage number for pagination.
queryrequiredstringSearch keyword (e.g., 'restaurante', 'hotel')
locationstringLocation filter (e.g., 'Lisboa', 'Porto'). Omitting returns results across all of Portugal.
Response
{
  "type": "object",
  "fields": {
    "page": "integer, current page number",
    "query": "string, the search keyword used",
    "location": "string or null, the location filter used",
    "businesses": "array of objects with keys: url, name, id, slug, category, address",
    "total_results": "integer, total number of results found"
  },
  "sample": {
    "data": {
      "page": 1,
      "query": "restaurante",
      "location": "Lisboa",
      "businesses": [
        {
          "id": "4132",
          "url": "https://www.pai.pt/paginas/4132-restaurante-bar-caldeiras-vulcoes",
          "name": "Restaurante-Bar Caldeiras & Vulcões",
          "slug": "restaurante-bar-caldeiras-vulcoes",
          "address": "4435-665 BAGUIM DO MONTE",
          "category": "restaurantes"
        }
      ],
      "total_results": 500
    },
    "status": "success"
  }
}

About the páginasamarelas.pt API

This API provides structured access to Páginas Amarelas Portugal (pai.pt) through 5 endpoints covering search, category browsing, and full business detail retrieval. The search_businesses endpoint returns paginated results including names, addresses, and IDs for businesses matching a keyword and optional location. Detail endpoints expose up to 10 fields per listing: phone, address, website, geo coordinates, logo, image, categories, and description.

Search and Discovery

The search_businesses endpoint accepts a required query string and an optional location filter (e.g., 'Lisboa', 'Porto'). Omitting location returns results across all of Portugal. The response includes a businesses array with each entry carrying a url, name, id, slug, category, and address, plus a total_results count and the current page number for pagination. Combine this with browse_category and the category slug values from list_categories to navigate the directory hierarchy without needing a keyword.

Business Detail Retrieval

Two endpoints expose full business records. get_business_detail takes the full detail page url (e.g., https://www.pai.pt/paginas/4132-...), while get_business_by_id accepts the numeric id available from search results. Both return identical response shapes: name, phone, address, website, description, logo, image, categories (array of strings), and a geo object with latitude and longitude. If a field is not populated on the source listing, it will return null.

Category Browsing

list_categories requires no inputs and returns the top-level directory taxonomy: each entry includes a name, slug, url, and result_count. Passing one of those slugs to browse_category either returns a sub_categories array (for parent nodes) or a businesses array (for leaf categories). The optional location parameter narrows results geographically, and page handles pagination at both levels.

Common use cases
  • Build a local business finder for Portugal filtered by city using search_businesses with the location parameter
  • Geocode Portuguese business addresses by pulling geo.latitude and geo.longitude from get_business_detail
  • Generate a lead list of businesses in a sector by iterating browse_category across a leaf-level category slug
  • Enrich a CRM with phone numbers and websites by calling get_business_by_id for each known business ID
  • Map the full category taxonomy of pai.pt by recursively resolving slugs through list_categories and browse_category
  • Monitor new business listings in a specific category by paginating browse_category on a schedule
  • Cross-reference business descriptions and categories to classify Portuguese SMEs by vertical
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 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 Páginas Amarelas (pai.pt) offer an official developer API?+
Páginas Amarelas does not publish a documented public developer API or official data access program. This Parse API provides structured programmatic access to the directory data.
What does `browse_category` return, and how does its response differ between parent and leaf categories?+
For parent categories (e.g., 'comer-beber'), the response populates the sub_categories array with name, slug, and url entries and returns an empty businesses array. For leaf categories (e.g., 'restaurantes'), businesses is populated and sub_categories is empty. Use list_categories first to get valid top-level slugs.
Are opening hours returned by any endpoint?+
Opening hours are not currently included in the response fields of get_business_detail or get_business_by_id. Those endpoints cover contact information, geo coordinates, categories, description, logo, and image. You can fork this API on Parse and revise it to add an opening hours field if that data is present on the source listing pages.
Can I retrieve user reviews or ratings for a business?+
Reviews and ratings are not currently returned by any endpoint. The detail endpoints focus on contact data, location, and descriptive fields. You can fork this API on Parse and revise it to add a reviews endpoint targeting listing pages that display ratings.
Does the `search_businesses` endpoint cover the entire country, or only specific regions?+
Omitting the location parameter returns results across all of Portugal. Providing a location string (e.g., 'Porto') narrows results to that area. Coverage depends on what businesses are listed on pai.pt; the API does not add listings beyond what the directory contains.
Page content last updated . Spec covers 5 endpoints from páginasamarelas.pt.
Related APIs in B2b DirectorySee all →
13f.info API
13f.info API
mouser.com API
mouser.com API
homes.com API
Search for real estate agents and properties available for sale or rent, while accessing detailed agent profiles with their 1-year transaction history, active listings, and performance statistics. Get comprehensive property details and agent information all in one place to help you find the right agent or property that matches your needs.
industrynet.com API
Find industrial suppliers and browse product categories across a comprehensive marketplace directory. Connect directly with suppliers by viewing detailed listings and submitting contact inquiries programmatically.
bizapedia.com API
Search for detailed business profiles and contact information from Bizapedia, including company details, employee data, and communication channels. Access comprehensive business intelligence to research companies and build targeted contact lists.
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.
104.com.tw API
Search for jobs across Taiwan's largest job board and retrieve detailed job listings including descriptions, requirements, and company information. Find the right career opportunities by browsing thousands of positions or searching for specific roles that match your skills and interests.
cursor.directory API
Search and discover AI cursor rules, MCP servers, and job listings organized by category to enhance your development workflow. Browse detailed information about each rule and server to find the tools and configurations that best fit your needs.