Piloterr

Action Product

GET
/v2/action/product

Action Product API: fetch full product page data from a product ID or URL on Action.com. Returns pricing, specs, images, breadcrumbs and availability via browser rendering.

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

Action product ID or full product URL.

Examples:

3216159
https://www.action.com/fr-fr/p/3216159/etagere/
https://www.action.com/pt-pt/p/2535685/cabides-de-veludo/
region?string

Locale (fr-fr, de-de, pt-pt, …) or country code (fr, de, pt). Default: fr-fr.

return_page_source?boolean

When true, return the raw HTML page source as {"result": "..."} instead of structured JSON. Defaults to false.

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
url?string
price?number
title?string
images?array<string>
locale?string
currency?string
in_stock?boolean
image_url?string
product_id?string
breadcrumbs?array<string>
description?string
availability?string
specifications?array<>
Example Request
curl -X GET 'https://api.piloterr.com/v2/action/product?query=string'
Example Response
{  "url": "https://www.action.com/fr-fr/p/3216159/etagere/",  "price": 39.95,  "title": "Étagère",  "images": [    "https://asset.action.com/image/upload/3216159_8718964237609-110_01_lbhy6y",    "https://asset.action.com/image/upload/3216159_8718964237593-110_01_eglur0",    "https://asset.action.com/image/upload/3216159_8718964237609-111_01_sofmt6"  ],  "locale": "fr-fr",  "currency": "EUR",  "in_stock": true,  "image_url": "https://asset.action.com/image/upload/3216159_8718964237609-110_01_lbhy6y",  "product_id": "3216159",  "breadcrumbs": [    "Habitat",    "Meubles",    "Étagère"  ],  "description": "Donnez un coup de jeune à votre salon avec cette étagère moderne. Les rayons ouverts sont parfaits pour vos plus belles décorations et plantes, tandis que le compartiment inférieur avec portes vous permet de ranger le tout de manière ordonnée.",  "availability": "in_stock",  "specifications": [    {      "key": "Couleur",      "value": "Beige, Brun, Noir, Blanc"    },    {      "key": "Matériau",      "value": "Iron, Bois mdf, Melamine"    },    {      "key": "Numéro de l'article",      "value": "3216159"    }  ]}