Piloterr

Autodoc Search

Usar em massa com o DataflowExecute este endpoint sobre um arquivo ou uma lista, uma vez ou com agendamento.

GET
/v2/autodoc/search

Search Autodoc by URL: keyword pages use /search?keyword=… (e.g. frein on auto-doc.fr). Extract product cards, prices, and pagination.

Credit cost: 2 credits per call

Autorização

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

Full Autodoc search/listing URL, or path only when domain sets the shop.

Typical keyword search (full URL, domain ignored):

https://www.auto-doc.fr/search?keyword=frein
https://www.autodoc.de/search?keyword=bremsen

Path + domain:

  • query: search?keyword=frein
  • domain: auto-doc.fr

Rules:

  • If query starts with http:// or https://, domain is ignored.
  • If query has no host, domain must be an allowed shop hostname (no www., no https://).
  • France uses auto-doc.fr, not autodoc.fr.
domain?string

Regional shop hostname without https:// or www. (e.g. auto-doc.fr, autodoc.de). Omit to default to autodoc.de.

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

Corpo da resposta

Successful response

application/json
  1. response
results?array<>
pagination?
Example Request
curl -X GET 'https://api.piloterr.com/v2/autodoc/search?query=string'
Example Response
{
  "results": [
    {
      "name": "RIDEX Étrier de frein Essieu avant gauche, Essieu avant, Fonte, 162 mm, sans fixation",
      "price": 42.99,
      "seller": "AUTODOC",
      "brand_no": "100015",
      "discount": 42,
      "360_photo": "https://media.autodoc.de/360_photos/8381120",
      "reference": "78B0410",
      "seller_id": 485,
      "product_id": 8381120,
      "product_url": "https://www.auto-doc.fr/ridex/8381120",
      "availability": "En stock",
      "generic_name": "Étrier de frein",
      "product_image": "https://media.autodoc.de/360_photos/8381120/preview.jpg",
      "reviews_count": 10,
      "original_price": 74.2
    },
    {
      "name": "RIDEX Étrier de frein Essieu avant gauche, Essieu avant, Fonte grise, 134 mm, sans fixation",
      "price": 36.99,
      "seller": "AUTODOC",
      "brand_no": "100015",
      "discount": 47,
      "360_photo": "https://media.autodoc.de/360_photos/8099284",
      "reference": "78B0328",
      "seller_id": 485,
      "product_id": 8099284,
      "product_url": "https://www.auto-doc.fr/ridex/8099284",
      "availability": "En stock",
      "generic_name": "Étrier de frein",
      "product_image": "https://media.autodoc.de/360_photos/8099284/preview.jpg",
      "reviews_count": 18,
      "original_price": 70.3
    },
    {
      "name": "RIDEX PLUS Étrier de frein Essieu arrière gauche, Essieu arrière, Aluminium, 118 mm, sans fixation",
      "price": 59.99,
      "seller": "AUTODOC",
      "brand_no": "100762",
      "discount": null,
      "360_photo": "https://media.autodoc.de/360_photos/22255932",
      "reference": "78B0093P",
      "seller_id": 485,
      "product_id": 22255932,
      "product_url": "https://www.auto-doc.fr/ridex-plus/22255932",
      "availability": "En stock",
      "generic_name": "Étrier de frein",
      "product_image": "https://media.autodoc.de/360_photos/22255932/preview.jpg",
      "reviews_count": 0,
      "original_price": null
    },
    {
      "name": "RIDEX Étrier de frein Essieu arrière gauche, Essieu arrière, Aluminium, 50 mm, 127 mm, sans fixation",
      "price": 51.49,
      "seller": "AUTODOC",
      "brand_no": "100015",
      "discount": 57,
      "360_photo": "https://media.autodoc.de/360_photos/8099740",
      "reference": "78B0194",
      "seller_id": 485,
      "product_id": 8099740,
      "product_url": "https://www.auto-doc.fr/ridex/8099740",
      "availability": "En stock",
      "generic_name": "Étrier de frein",
      "product_image": "https://media.autodoc.de/360_photos/8099740/preview.jpg",
      "reviews_count": 20,
      "original_price": 121.7
    }
  ],
  "pagination": {
    "next": "https://www.auto-doc.fr/search?keyword=frein&page=2",
    "page": 1,
    "per_page": 4,
    "total_pages": 5,
    "total_results": null
  }
}