The Piloterr Mascus Scraper API lets you extract public data from Mascus as clean, structured JSON — no proxies, headless browsers or HTML parsing to maintain. Endpoints available in production:
- Mascus Ad API — Get full details for a Mascus used equipment listing: specs, price, seller and description.
- Mascus Search API — Search used equipment listings on Mascus from a category URL, with pagination that keeps country and category filters.
Use it for listing monitoring, price benchmarks, stock sourcing or market analytics on second-hand and vehicle marketplaces.
| Endpoint | Path | Credits | What you get |
|---|---|---|---|
| Mascus Ad API | /v2/mascus/ad |
1 | Get full details for a Mascus used equipment listing |
| Mascus Search API | /v2/mascus/search |
1 | Search used equipment listings on Mascus from a category URL, with pagination that keeps country and category filters. |
- How it works
- Mascus Ad API
- Mascus Search API
- Code examples in other languages
- Practical use cases
- Why Piloterr?
- FAQ
- Related scrapers
- Support
- Create a free Piloterr account and copy your API key from the dashboard.
- Send a
GET(orPOST) request tohttps://api.piloterr.com/v2/...with the headerx-api-key: YOUR_API_KEY. - Receive structured JSON — Piloterr handles rendering, proxies, retries and parsing.
export PILOTERR_API_KEY="your-api-key"
pip install requests # Python
# TypeScript: Node.js 18+ (native fetch), run with `npx tsx file.ts`Every endpoint accepts both
GET(query string) andPOST(JSON body with the same fields).
Get full details for a Mascus used equipment listing: specs, price, seller and description.
GET | POST https://api.piloterr.com/v2/mascus/ad · 1 credit per request · Full reference
| Parameter | Type | Required | Description |
|---|---|---|---|
query |
string | ✅ | Full Mascus listing URL. Usually taken from results[].url in search. |
import json
import os
import requests
response = requests.get(
"https://api.piloterr.com/v2/mascus/ad",
headers={"x-api-key": os.environ["PILOTERR_API_KEY"]},
params={
"query": "https://www.mascus.fr/travaux-publics/broyeur-dechets/doppstadt-ak-435-profi/hocmgmfi.html",
},
timeout=120,
)
response.raise_for_status()
data = response.json()
print(json.dumps(data, indent=2, ensure_ascii=False)[:2000])type MascusAd = {
brand?: string;
model?: string;
meta_data?: {
meta_title?: string;
};
catalog_name?: string;
company_city?: string;
company_name?: string;
user_currency?: string;
company_country?: string;
asset_details_info?: {
label?: string;
value?: string;
}[];
asset_pricing_info?: {
label?: string;
value?: string;
}[];
price_in_user_currency?: number;
};
const params = new URLSearchParams({
"query": "https://www.mascus.fr/travaux-publics/broyeur-dechets/doppstadt-ak-435-profi/hocmgmfi.html",
});
const response = await fetch(`https://api.piloterr.com/v2/mascus/ad?${params}`, {
headers: { "x-api-key": process.env.PILOTERR_API_KEY! },
});
if (!response.ok) throw new Error(`Piloterr error ${response.status}: ${await response.text()}`);
const data = (await response.json()) as MascusAd;
console.log(JSON.stringify(data, null, 2).slice(0, 2000));POST variant
POST https://api.piloterr.com/v2/mascus/ad
x-api-key: YOUR_API_KEY
Content-Type: application/json
{"query": "https://www.mascus.fr/travaux-publics/broyeur-dechets/doppstadt-ak-435-profi/hocmgmfi.html"}Example response from the API reference, abridged — real values depend on the page you scrape.
{
"brand": "Doppstadt",
"model": "AK 435 Profi",
"meta_data": {
"meta_title": "Doppstadt AK 435 Profi, 2012, France - Mascus France"
},
"catalog_name": "construction",
"company_city": "saint-genis-laval",
"company_name": "RHONE ENVIRONNEMENT",
"user_currency": "EUR",
"company_country": "FR",
"asset_details_info": [
{
"label": "Année",
"value": "2012"
}
],
"asset_pricing_info": [
{
"label": "Prix",
"value": "108 000 EUR"
}
],
"price_in_user_currency": 108000
}| Field | Type | Description |
|---|---|---|
brand |
string | |
model |
string | |
meta_data |
object | |
meta_data.meta_title |
string | |
catalog_name |
string | |
company_city |
string | |
company_name |
string | |
user_currency |
string | |
company_country |
string | |
asset_details_info[] |
object[] | |
asset_details_info[].label |
string | |
asset_details_info[].value |
string | |
asset_pricing_info[] |
object[] | |
asset_pricing_info[].label |
string | |
asset_pricing_info[].value |
string | |
price_in_user_currency |
integer |
Search used equipment listings on Mascus from a category URL, with pagination that keeps country and category filters.
GET | POST https://api.piloterr.com/v2/mascus/search · 1 credit per request · Full reference
| Parameter | Type | Required | Description |
|---|---|---|---|
query |
string | ✅ | Full Mascus category or search URL. The country site comes from the host (mascus.be, mascus.nl, mascus.de, mascus.com, …). |
page |
number | — | Page number (default: 1). About 40 results per page. |
import json
import os
import requests
response = requests.get(
"https://api.piloterr.com/v2/mascus/search",
headers={"x-api-key": os.environ["PILOTERR_API_KEY"]},
params={
"query": "https://www.mascus.be/bouw/graafmachines/be,country.html",
},
timeout=120,
)
response.raise_for_status()
data = response.json()
print(json.dumps(data, indent=2, ensure_ascii=False)[:2000])type MascusSearch = {
results?: {
url?: string;
brand?: string;
model?: string;
image_url?: string;
rental_ad?: boolean;
auction_ad?: boolean;
price_euro?: number;
product_id?: string;
catalog_name?: string;
company_name?: string;
category_name?: string;
location_city?: string;
user_currency?: string;
year_of_manufacture?: number;
location_country_code?: string;
price_in_user_currency?: number;
}[];
pagination?: {
next?: number;
current?: number;
page_size?: number;
total_pages?: number;
has_next_page?: boolean;
total_results?: number;
};
};
const params = new URLSearchParams({
"query": "https://www.mascus.be/bouw/graafmachines/be,country.html",
});
const response = await fetch(`https://api.piloterr.com/v2/mascus/search?${params}`, {
headers: { "x-api-key": process.env.PILOTERR_API_KEY! },
});
if (!response.ok) throw new Error(`Piloterr error ${response.status}: ${await response.text()}`);
const data = (await response.json()) as MascusSearch;
console.log(JSON.stringify(data, null, 2).slice(0, 2000));POST variant
POST https://api.piloterr.com/v2/mascus/search
x-api-key: YOUR_API_KEY
Content-Type: application/json
{"query": "https://www.mascus.be/bouw/graafmachines/be,country.html"}Example response from the API reference, abridged — real values depend on the page you scrape.
{
"results": [
{
"url": "https://www.mascus.be/bouw/minigraafmachines---7t/airman-ax10u-7-ax10u-7/ff3ch5ch.html",
"brand": "Airman",
"model": "AX10U-7",
"image_url": "https://dnge9sb91helb.cloudfront.net/image/product/medium/example.jpg",
"rental_ad": false,
"auction_ad": false,
"price_euro": 0,
"product_id": "{example}",
"catalog_name": "construction",
"company_name": "Example Dealer",
"category_name": "miniexcavators",
"location_city": "Oostrozebeke",
"user_currency": "EUR",
"year_of_manufacture": 2020,
"location_country_code": "BE",
"price_in_user_currency": 0
}
],
"pagination": {
"next": 2,
"current": 1,
"page_size": 40,
"total_pages": 14,
"has_next_page": true,
"total_results": 547
}
}| Field | Type | Description |
|---|---|---|
results[] |
object[] | |
results[].url |
string | |
results[].brand |
string | |
results[].model |
string | |
results[].image_url |
string | |
results[].rental_ad |
boolean | |
results[].auction_ad |
boolean | |
results[].price_euro |
integer | |
results[].product_id |
string | |
results[].catalog_name |
string | |
results[].company_name |
string | |
results[].category_name |
string | |
results[].location_city |
string | |
results[].user_currency |
string | |
results[].year_of_manufacture |
integer | |
results[].location_country_code |
string | |
results[].price_in_user_currency |
integer | |
pagination |
object | |
pagination.next |
integer | |
pagination.current |
integer | |
pagination.page_size |
integer | |
pagination.total_pages |
integer | |
pagination.has_next_page |
boolean | |
pagination.total_results |
integer |
Ready-to-run examples live in the examples/ folder. Each one reads your key from the PILOTERR_API_KEY environment variable.
| Language | Ad | Search |
|---|---|---|
| cURL (Bash) | ad |
search |
| PHP | ad |
search |
| C# | ad |
search |
| Go | ad |
search |
| Java | ad |
search |
| Ruby | ad |
search |
| Node.js | ad |
search |
- Listing monitoring — Get alerted when new ads matching your criteria are published.
- Price benchmarks — Compute market prices per model, category or location.
- Sourcing — Find stock, vehicles, parts or equipment faster than manual browsing.
- Market analytics — Measure supply, turnover and pricing trends over time.
- Data products — Feed valuation models and dashboards with structured listings.
- No infrastructure — no proxies, headless browsers or CAPTCHA solving to run yourself.
- Structured JSON — stable, documented fields instead of brittle HTML selectors.
- Pay per request — transparent credit cost per endpoint, failed requests are retried for you.
- One API key, hundreds of sources — Mascus plus many other e-commerce, search and company data endpoints in the Piloterr library.
- Any language — plain HTTPS + JSON, with examples for Python, TypeScript, cURL, PHP, C#, Go, Java, Ruby and Node.js.
Collecting publicly available data is generally allowed in many jurisdictions, but rules depend on your country, the data you collect and how you use it. Avoid personal data unless you have a lawful basis, respect the website's terms where they apply, and get legal advice for your specific use case. This is not legal advice.
No. Piloterr handles rendering, proxy rotation and retries on its side. You only send an HTTPS request with your x-api-key header and receive JSON.
Credits per call: /v2/mascus/ad 1, /v2/mascus/search 1. See the Piloterr website for plans.
Each endpoint returns structured JSON: Mascus Ad — brand, model, meta_data, meta_data.meta_title, catalog_name, company_city; Mascus Search — results[], results[].url, results[].brand, results[].model, results[].image_url, results[].rental_ad.
Use the page parameter and keep requesting while the response indicates more results.
Any language that can make an HTTP request. This README shows Python and TypeScript; the examples/ folder contains cURL, PHP, C#, Go, Java, Ruby and Node.js.
- AutoScout24 Scraper API
- Autotrader Scraper API
- Copart Scraper API
- Kijiji Scraper API
- Leboncoin Scraper API
- mobile.de Scraper API
- All Piloterr scrapers on GitHub
- 💬 Join the Piloterr Discord to ask questions and share what you build.
- 📚 Browse the API reference (OpenAPI) and the Piloterr library.
- 🔑 Get your API key.
Built by Piloterr — web scraping APIs for e-commerce, search, real estate and more, one API key.
Mascus is a trademark of its respective owner. This repository is not affiliated with or endorsed by Mascus. Examples are released under the MIT license.
