Piloterr

BigMat Search

Use in bulk with DataflowRun this endpoint over a file or a list, once or on a schedule.

GET
/v2/bigmat/search

Product search on the BigMat country sites. query is the keyword. region is fr, be, it, es, pt, or cz. page starts at 1.

Credit cost: 1 credit per call

Authorization

ApiKeyAuth
headerx-api-key<token>

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

Query Parameters

query*string

Product keyword. Example: ciment

region?string

fr, be, it, es, pt, or cz. Default fr.

Default"fr"
page?number

Page number, starting at 1. Spain and Portugal return 20 products per page and publish total_results.

return_page_source?boolean

Return the page HTML on crawled sites. Spain and Portugal return 400.

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

Response Body

Successful response

application/json
  1. response
results?array<>
pagination?
Example Request
curl -X GET 'https://api.piloterr.com/v2/bigmat/search?query=string'
Example Response
{
  "results": [
    {
      "sku": "294419",
      "url": "https://www.bigmat.fr/produits/gros-oeuvre-construction/ciment-chaux-liants/ciment-gris/3306500004515/ciment-gris-5kg",
      "name": "CIMENT GRIS 5KG",
      "image": "https://medias.bigmat.fr/data_medias/medias_finaux/images/3306500004515-e5dzfGmtvC-catalogue.jpg",
      "region": "fr"
    }
  ],
  "pagination": {
    "next": null,
    "page": 1,
    "per_page": 18,
    "total_pages": null,
    "total_results": null
  }
}