Páginas Amarillas Spain API & Scraper
Search Spanish business listings by activity, company or location.
🤖 Using an AI assistant? Copy this link into ChatGPT / Claude / Cursor — it reads every endpoint and parameter instantly and tells you if this API fits your use case.
Each card links to a profile with the contact details, hours and company information the directory publishes. Browse activities and brands through directory. To read individual reviews and replies, pass the profile’s review_container_id to reviews.
How does location change a Spanish directory search?
The directory reported these totals for fontaneros on 23 November 2026.
| Scope | Reported listings |
|---|---|
| Spain | 12,904 |
| Madrid province | 1,481 |
| Madrid city | 686 |
| Madrid with located_only enabled | 674 |
| Madrid city with Admite reservas | 6 |
The directory mixes paid and free listings. A listed business may serve the area from another city. Individual listings can recur on later pages.
Real request and response JSON
Captured from the indexed primary action, search, on .
{
"method": "POST",
"url": "https://api.reefapi.com/paginas-amarillas/v1/search",
"headers": {
"x-api-key": "$REEF_KEY",
"content-type": "application/json"
},
"body": {
"query": "fontaneros",
"province": "madrid",
"city": "madrid"
}
}{
"ok": true,
"meta": {
"api": "paginas-amarillas",
"endpoint": "search",
"mode": "live",
"latency_ms": 2075.4,
"record_count": 30,
"bytes": 31334,
"cache_hit": false,
"upstream_requests": 1,
"charged_credits": 1,
"version": "0.3.0",
"request_id": "c4d69b22f0124244",
"queue_ms": 1.1,
"fetched_at": "2026-11-26T13:53:45.353Z"
},
"data": {
"available_refinements": [
"activity",
"locality",
"district"
],
"filter_links": [
{
"group": "area",
"name": "Ubicados en esta localidad",
"url": "https://www.paginasamarillas.es/search/fontaneros/all-ma/madrid/all-is/madrid/all-ba/all-pu/all-nc/1?ub=ubicado"
},
{
"group": "area",
"name": "Prestan servicio en toda la provincia",
"url": "https://www.paginasamarillas.es/search/fontaneros/all-ma/madrid/all-is/all-ci/all-ba/all-pu/all-nc/1"
},
{
"group": "service",
"name": "24 horas",
"url": "https://www.paginasamarillas.es/search/fontaneros/all-ma/madrid/all-is/madrid/all-ba/all-pu/all-nc/1?sf=24+horas"
}
],
"businesses": [
{
"source_id": "S00726636_000",
"url": "https://www.paginasamarillas.es/f/madrid/asistencia-hogar-24h_8DdsfCdjkf.html",
"name": "ASISTENCIA HOGAR 24H",
"position": 1,
"categories": [
"Multiservicios: empresas"
],
"description": "FONTANEROS rápidos 24H/365D. Económico. Desatascos, Roturas, Fugas, limpieza tuberías, goteras. Agua, Gas y Calefacción… LO REPARAMOS TODO. REPARACIONES e INSTALACIONES Rápidas 24h y Festivo",
"phone": null,
"phones": [],
"website": "https://asistencia-hogar.com/?utm_campaign=paginasamarillas&utm_source=paginasamarillas&utm_medium=referral",
"address": {
"street_address": "Pasaje Pradillo, 8",
"postal_code": "28002",
"city": "Madrid"
},
"province": "Madrid",
"formatted_address": "Pasaje Pradillo, 8 28002 Madrid",
"displayed_stars": null,
"review_count": null,
"image": "https://multimedia.paginasamarillas.es/adsContentSrv/20455390-0-8DdsfCdjkf/5a387623-1498-4b48-97ac-501ecfabe167/asistenciahogar24.PNG",
"free_listing": false,
"customer_tenure": "Cliente de PA Digital desde hace más de veinte años"
},
{
"source_id": "S00627932_000",
"url": "https://www.paginasamarillas.es/f/madrid/yavoi-reparaciones_0niALSBbef.html",
"name": "Yavoi Reparaciones",
"position": 2,
"categories": [
"Multiservicios: empresas"
],
"description": "FONTANEROS (Urgencias 24H y festivos). Averías en general, desatascos, humedades, roturas. 35 años dando soluciones. Profesionales al mejor precio. Trabajos rápidos 24h/365d. Ahora con descuento",
"phone": null,
"phones": [],
"website": "http://reparacionesprofesionales.com/fontaneros?utm_campaign=paginasamarillas&utm_source=paginasamarillas&utm_medium=referral",
"address": {
"street_address": "Calle Gral. Pardiñas, 58",
"postal_code": "28001",
"city": "Madrid"
},
"province": "Madrid",
"formatted_address": "Calle Gral. Pardiñas, 58 28001 Madrid",
"displayed_stars": null,
"review_count": null,
"image": "https://multimedia.paginasamarillas.es/adsContentSrv/20455390-0-0niALSBbef/7fc9dae9-1e5d-4ee3-bf56-9ab1925dd403/yavoireparaciones.png",
"free_listing": false,
"customer_tenure": "Cliente de PA Digital desde hace más de veinte años"
},
{
"source_id": "S00735173_000",
"url": "https://www.paginasamarillas.es/f/madrid/reparaciones-inmediatas-ncl_vlZrGXRSxu.html",
"name": "Reparaciones Inmediatas NCL",
"position": 3,
"categories": [
"Multiservicios: empresas"
],
"description": "FONTANEROS (Urgencias 24H y festivos). Averías en general, desatascos, humedades, roturas. 35 años dando soluciones. Profesionales al mejor precio. ASISTENCIA TÉCNICA DEL HOGAR Al Instante 24h y Fes",
"phone": null,
"phones": [],
"website": "http://reparacionesprofesionales.com/fontaneros?utm_campaign=paginasamarillas&utm_source=paginasamarillas&utm_medium=referral",
"address": {
"street_address": "Calle Dr. Esquerdo, 53",
"postal_code": "28028",
"city": "Madrid"
},
"province": "Madrid",
"formatted_address": "Calle Dr. Esquerdo, 53 28028 Madrid",
"displayed_stars": null,
"review_count": null,
"image": "https://multimedia.paginasamarillas.es/adsContentSrv/20455390-0-vlZrGXRSxu/9d3315bb-0d5e-419a-9cb7-1e3b0f76879a/logolista.jpg",
"free_listing": false,
"customer_tenure": "Cliente de PA Digital desde hace más de veinte años"
}
],
"total": 686,
"page": 1,
"next_page": 2,
"next_url": "https://www.paginasamarillas.es/search/fontaneros/all-ma/madrid/all-is/madrid/all-ba/all-pu/all-nc/2",
"heading": "Fontaneros en Madrid (Madrid)",
"available_services": [
{
"service": "24 horas",
"count": 14
},
{
"service": "Admite reservas",
"count": 2
},
{
"service": "Llama gratis",
"count": 8
}
],
"source_page_count": 30,
"returned_count": 30,
"unique_seen": 30,
"first_page": 1,
"duplicates_removed": 0,
"next_cursor": {
"url": "https://www.paginasamarillas.es/search/fontaneros/all-ma/madrid/all-is/madrid/all-ba/all-pu/all-nc/2",
"first_page": 1,
"seen_ids": [
"S00726636_000",
"S00627932_000",
"S00735173_000"
],
"source_total_initial": 686,
"source_total_changed": false
},
"observed_unique_total": null,
"source_total_initial": 686,
"source_total_changed": false,
"matches_stable_source_total": null
}
}What the Páginas Amarillas Spain API does
| Action | Description | Concrete use case | Key params |
|---|---|---|---|
| search | Search one Spanish directory page by activity, province and city. | Support teams call search to search one Spanish directory page by activity, province and city.. | query, url, province, city, page, ... |
| reviews | Read visible comments and replies from the profile's guest discussion. | Reputation platforms call reviews to read visible comments and replies from the profile's guest discussion.. | container_id, limit, reply_limit, cursor, parent_id |
| business | Read the public profile linked from a result. | Market researchers call business to read the public profile linked from a result.. | url |
| directory | Browse business activity, brand, category and place indexes. | B2B review analysts call directory to get browse business activity, brand, category and place indexes.. | index, url, letter, page |
Call search from your stack
curl -X POST https://api.reefapi.com/paginas-amarillas/v1/search \
-H "x-api-key: $REEF_KEY" \
-H "content-type: application/json" \
-d '{"query":"fontaneros","province":"madrid","city":"madrid"}'import os
import requests
REEF_KEY = os.environ["REEF_KEY"]
r = requests.post(
"https://api.reefapi.com/paginas-amarillas/v1/search",
headers={"x-api-key": REEF_KEY},
json={
"query": "fontaneros",
"province": "madrid",
"city": "madrid"
},
timeout=90,
)
print(r.json()["data"])const res = await fetch("https://api.reefapi.com/paginas-amarillas/v1/search", {
method: "POST",
headers: {
"x-api-key": process.env.REEF_KEY,
"content-type": "application/json",
},
body: JSON.stringify({
"query": "fontaneros",
"province": "madrid",
"city": "madrid"
}),
});
const { ok, data, meta, error } = await res.json();Ask your MCP-connected assistant: call reefapi.paginas-amarillas.search with {"query":"fontaneros","province":"madrid","city":"madrid"}.Who uses this API and why
- Look up the listed contact details for a known Spanish business.
- Compare listings within a Spanish province and its provincial capital.
- Find the opening hours or appointment information on a business profile.
- Check a directory listing’s employee range or legal form when published.
- Discover Spanish activity and brand names from the directory indexes.
Questions developers ask before integrating
How do I look up plumbers in Madrid?
Call search with query fontaneros, province madrid and city madrid. Set located_only to true for the directory’s “Ubicados en esta localidad” option. To search by a company name, use company. Reformas Myrp returned one listing in Madrid.
How often is a business phone or email available?
Phones appeared on 10 of 30 cards in the Madrid plumbing sample. All 12 sampled profiles supplied a phone and a customer email. Some advertisers share a contact address across listings.
How do I see available filters?
Read available_services for service labels, filter_links for published area and service links, and available_refinements for additional groups. Pass one group as refinement to get its labels, counts and URLs. The Madrid plumbers page offered 29 district choices and 57 postal codes. Open a choice by passing its URL to search. Supply postal_code to use the exact postcode selection. On 24 November 2026, Madrid plumbers with postcode 28002 returned 11 listings on one page, the same as the published total of 11.
Which rating should I use?
A business profile can return the directory’s numeric rating and review count. Cards return the star graphic as displayed_stars when a positive score is visible. On one Madrid profile the rating was 4.6 from 10 reviews.
How are financial details represented?
A profile can carry its incorporation date, legal form, CNAE activity, employee range and turnover range. One sampled Barcelona clinic listed 10 to 50 employees and a turnover band in euros. The profile gave no accounting year.
How do I avoid counting the same listing twice?
Pass next_cursor as cursor. It carries previous source IDs and the initial published total. The directory repeats paid listings on later pages and its order changes between reads: on 24 November 2026 two complete three-page walks of embroidery businesses in Madrid province returned 70 and 64 distinct listings, 80 across both, while the published total moved between 85 and 88. For a complete list, narrow the search (city, postal_code or a refinement choice) until it fits on one page of up to 30 cards; there observed_unique_total equals the published total. observed_unique_total counts the final distinct results seen. source_total_changed flags a change in the published count, and matches_stable_source_total reports whether the final count agrees with a stable source total.
Can I read individual reviews?
Pass review_container_id from business as container_id to reviews. One Madrid profile yielded nine top-level reviews and one reply. Pass reply_limit 0 to page through top-level reviews alone. Use parent_id to read direct replies. Reviews include the published text, an author identifier when available, the original millisecond timestamp and a UTC date.
What is the Páginas Amarillas Spain API?
Páginas Amarillas Spain API is a ReefAPI endpoint group for find spanish directory listings and read the contacts, opening hours and company details on their profiles. It returns live JSON through POST requests under /paginas-amarillas/v1.
Is the Páginas Amarillas Spain API free to try?
Yes. ReefAPI starts with 1,000 free credits, no card required. Páginas Amarillas Spain calls use the same shared credit balance as every other ReefAPI engine.
Do I need a Páginas Amarillas Spain login or account?
No login to Páginas Amarillas Spain is needed for the API response. You call ReefAPI with your x-api-key header, and the playground can run live examples before you create a production key.
How fresh is the Páginas Amarillas Spain data?
The page example is captured from a live search call, and production requests fetch live data through ReefAPI rather than a static sample.
How many credits does the Páginas Amarillas Spain API use?
Páginas Amarillas Spain actions currently cost 1-2 credits per successful call. Failed or blocked calls are free. All APIs draw from one credit pool.
Can I call Páginas Amarillas Spain from an AI assistant or MCP client?
Yes. Connect ReefAPI once through MCP and your assistant can call paginas-amarillas actions with the same key, credit pool and JSON envelope used by normal REST requests.
Is the Páginas Amarillas Spain API a Páginas Amarillas Spain scraper?
It is the managed alternative to a DIY Páginas Amarillas Spain scraper. Instead of building and maintaining your own scraper — proxies, headless browsers, captcha and constant breakage — you call one ReefAPI endpoint and get the same find spanish directory listings and read the contacts, opening hours and company details on their profiles back as clean JSON.