The Oscaro Search API returns auto parts listings from Oscaro shops (com, es, pt). Pass a keyword, a search URL, or a category listing URL (*-{id}-g), optionally with region and page, and receive structured JSON with prices and pagination.
Piloterr uses browser rendering and waits for article.productbox tiles before parsing the DOM.
Use each result url or product_id with Oscaro Product for full PDP data.
Default: com (France via www.oscaro.com).
region |
Domain |
Search path |
Currency |
Aliases |
com |
oscaro.com |
/fr/search?q=... |
EUR |
fr |
es |
oscaro.es |
/es/search?q=... |
EUR |
|
pt |
oscaro.pt |
/pt/search?q=... |
EUR |
|
When query is a full Oscaro URL, region is detected from the TLD (region is ignored).
| Type |
Pattern |
Example |
| Search |
*/search?q=* |
https://www.oscaro.com/fr/search?q=moteur+ai |
| Category listing |
*-{id}-g |
https://www.oscaro.com/huile-moteur-1862-g |
| Product (use Product API) |
*-{sku}-p |
https://www.oscaro.es/filtro-de-aceite-purflux-l343d-13644654-7-p |
GET https://api.piloterr.com/v2/oscaro/search?query=moteur+ai
GET https://api.piloterr.com/v2/oscaro/search?query=moteur+ai®ion=com
GET https://api.piloterr.com/v2/oscaro/search?query=https://www.oscaro.com/fr/search?q=moteur+ai
GET https://api.piloterr.com/v2/oscaro/search?query=https://www.oscaro.com/huile-moteur-1862-g&page=2
| Parameter |
Type |
Required |
Description |
query |
string |
yes |
Keyword, search URL, or category listing URL |
region |
string |
no |
Shop when query is a keyword (default: com) |
page |
integer |
no |
1-based page override for category listings |
return_page_source |
boolean |
no |
Raw HTML as {\"result\": \"...\"} (default: false) |
| Field |
Type |
Description |
product_id |
string |
Slug id from product URL (e.g. 13361124-793) |
title |
string |
Product title |
url |
string |
Absolute product URL (-p suffix) |
image_url |
string | null |
Card image |
price |
number | null |
Displayed price |
currency |
string |
ISO currency from shop config |
| Field |
Type |
Description |
page |
integer |
Current page |
per_page |
integer |
Results on this page (up to ~50 on keyword search) |
total_results |
integer | null |
Often null |
total_pages |
integer | null |
Set on category listings |
next |
string | null |
Next page URL (?page=2 on listings; often null on keyword search) |
Lazy-load placeholder tiles (.product-placeholder) are skipped.
- Oscaro Search to discover listings (this endpoint)
- Oscaro Product for full PDP JSON
| Code |
Meaning |
400 |
Missing or invalid query / region |
404 |
Page without parseable listings |
500 |
Rendering or parsing error |
- Category listings paginate with query param
page.
- Keyword search (Algolia) returns up to ~50 results per page;
pagination.next is often null.
- Costs 2 credits per call (browser rendering).
- Parts discovery: harvest product ids across keywords and categories
- Price monitoring: track listing prices on search and category pages
- Catalog crawl: walk category pagination via
pagination.next