Piloterr

PagesJaunes Page Info

Usar en masa con DataflowEjecuta este endpoint sobre un archivo o una lista, una vez o con una programación.

GET
/v2/pagesjaunes/page/info

Retrieve detailed business information from a PagesJaunes page, including contact details, opening hours, services, payment methods, and SIREN number.

Credit cost: 1 credit per call

Autorización

ApiKeyAuth
headerx-api-key<token>

Your API key. Include it in the x-api-key header for every request.

Parámetros de consulta

query*string

A PagesJaunes business page URL or business ID.

Examples:

https://www.pagesjaunes.fr/pros/56824689

Both the full PagesJaunes URL and the numeric business ID are accepted.

fields?string

Comma-separated list of response fields to return, with dot notation for nested fields (e.g. name,location.city).

is_async?boolean

Run the request as a background job: the API answers 202 with a job_id to poll on GET /v1/jobs/{id}.

Defaultfalse
soft_fail?boolean

Return HTTP 200 even when the request fails; the error is in the error field of the body.

Defaultfalse

Cuerpo de la respuesta

Successful response

application/json
  1. response
url?string
name?string
phone?string
address?string
activity?string
services?array<string>
websites?array<>
business_info?
opening_hours?array<>
payment_methods?array<string>
Example Request
curl -X GET 'https://api.piloterr.com/v2/pagesjaunes/page/info?query=string'
Example Response
{
  "url": "https://www.pagesjaunes.fr/pros/56824689",
  "name": "Agustin Mayo",
  "phone": "05 61 53 77 35",
  "address": "13 place Lafourcade 31400 Toulouse",
  "activity": "Chirurgien-dentiste",
  "services": [
    "détartrage dentaire",
    "radiologie dentaire",
    "sur rendez-vous",
    "blanchiment",
    "endodontie",
    "implantologie dentaire",
    "urgences dentaires"
  ],
  "websites": [
    {
      "url": "https://www.facebook.com/dentistetoulouse/",
      "type": "facebook"
    },
    {
      "url": "https://www.docteurmayo.fr",
      "type": "website"
    }
  ],
  "business_info": {
    "siren": "839625662",
    "forme_juridique": "5785",
    "effectif_entreprise": "3 à 5 salariés",
    "creation_d_entreprise": "2 janvier 2018"
  },
  "opening_hours": [
    {
      "day": "Lundi",
      "hours": "09h00 - 18h00"
    },
    {
      "day": "Mardi",
      "hours": "09h00 - 18h00"
    },
    {
      "day": "Mercredi",
      "hours": "09h00 - 18h00"
    },
    {
      "day": "Jeudi",
      "hours": "09h00 - 18h00"
    },
    {
      "day": "Vendredi",
      "hours": "09h00 - 18h00"
    }
  ],
  "payment_methods": [
    "Espèces",
    "Visa",
    "CB",
    "Paypal",
    "Mastercard",
    "Virement bancaire"
  ]
}