Piloterr Mascus API

The Mascus API from Piloterr — 2 operation(s) for mascus.

GitHub OpenAPI

Operations 4

GET /v2/mascus/ad Mascus Ad #
POST /v2/mascus/ad Mascus Ad #
POST /v2/mascus/search Mascus Search #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/piloterr-com:piloterr-com-mascus-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

piloterr-com-mascus-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Piloterr API Reference Mascus API
  description: Complete API reference documentation.
  version: 1.0.0
servers:
- url: https://api.piloterr.com
  description: API Server
tags:
- name: Mascus
paths:
  /v2/mascus/ad:
    get:
      summary: Mascus Ad
      description: 'Get full details for a Mascus used equipment listing: specs, price, seller and description.


        **Credit cost:** 1 credit per call'
      operationId: get-mascus-ad
      security:
      - ApiKeyAuth: []
      parameters:
      - name: query
        in: query
        required: true
        description: "Full Mascus listing URL. Usually taken from `results[].url` in search.\n\n**Example:**\n\n    https://www.mascus.fr/travaux-publics/broyeur-dechets/doppstadt-ak-435-profi/hocmgmfi.html\n\nWorks on all Mascus country sites (`mascus.fr`, `mascus.de`, `mascus.com`, …)."
        schema:
          type: string
          description: "Full Mascus listing URL. Usually taken from `results[].url` in search.\n\n**Example:**\n\n    https://www.mascus.fr/travaux-publics/broyeur-dechets/doppstadt-ak-435-profi/hocmgmfi.html\n\nWorks on all Mascus country sites (`mascus.fr`, `mascus.de`, `mascus.com`, …)."
      - $ref: '#/components/parameters/fields'
      - $ref: '#/components/parameters/is_async'
      - $ref: '#/components/parameters/soft_fail'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  brand:
                    type: string
                  model:
                    type: string
                  meta_data:
                    type: object
                    properties:
                      meta_title:
                        type: string
                  catalog_name:
                    type: string
                  company_city:
                    type: string
                  company_name:
                    type: string
                  user_currency:
                    type: string
                  company_country:
                    type: string
                  asset_details_info:
                    type: array
                    items:
                      type: object
                      properties:
                        label:
                          type: string
                        value:
                          type: string
                  asset_pricing_info:
                    type: array
                    items:
                      type: object
                      properties:
                        label:
                          type: string
                        value:
                          type: string
                  price_in_user_currency:
                    type: integer
              examples:
                Doppstadt AK 435 Profi listing:
                  value:
                    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
        '400':
          description: Bad Request — missing or invalid parameters.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Bad Request
        '401':
          description: Unauthorized — the API key is missing, invalid, inactive, or expired, or a rate limit was exceeded (`Rate limit exceeded…` message).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                invalidKey:
                  value:
                    error: Invalid API Key
                planRateLimit:
                  value:
                    error: 'Rate limit exceeded: You''ve exceeded the per second rate limit on your subscription'
                keyQuota:
                  value:
                    error: 'Rate limit exceeded for the API key: quota monthly'
        '402':
          description: Payment Required — your subscription or credit balance is insufficient.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Payment required
        '500':
          description: Internal Server Error — something went wrong on our side.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Internal Error
      tags:
      - Mascus
    post:
      summary: Mascus Ad
      description: 'Get full details for a Mascus used equipment listing: specs, price, seller and description.


        **Credit cost:** 1 credit per call'
      operationId: post-mascus-ad
      security:
      - ApiKeyAuth: []
      parameters:
      - $ref: '#/components/parameters/fields'
      - $ref: '#/components/parameters/is_async'
      - $ref: '#/components/parameters/soft_fail'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                query:
                  type: string
                  description: "Full Mascus listing URL. Usually taken from `results[].url` in search.\n\n**Example:**\n\n    https://www.mascus.fr/travaux-publics/broyeur-dechets/doppstadt-ak-435-profi/hocmgmfi.html\n\nWorks on all Mascus country sites (`mascus.fr`, `mascus.de`, `mascus.com`, …)."
              required:
              - query
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  brand:
                    type: string
                  model:
                    type: string
                  meta_data:
                    type: object
                    properties:
                      meta_title:
                        type: string
                  catalog_name:
                    type: string
                  company_city:
                    type: string
                  company_name:
                    type: string
                  user_currency:
                    type: string
                  company_country:
                    type: string
                  asset_details_info:
                    type: array
                    items:
                      type: object
                      properties:
                        label:
                          type: string
                        value:
                          type: string
                  asset_pricing_info:
                    type: array
                    items:
                      type: object
                      properties:
                        label:
                          type: string
                        value:
                          type: string
                  price_in_user_currency:
                    type: integer
              examples:
                Doppstadt AK 435 Profi listing:
                  value:
                    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
        '400':
          description: Bad Request — missing or invalid parameters.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Bad Request
        '401':
          description: Unauthorized — the API key is missing, invalid, inactive, or expired, or a rate limit was exceeded (`Rate limit exceeded…` message).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                invalidKey:
                  value:
                    error: Invalid API Key
                planRateLimit:
                  value:
                    error: 'Rate limit exceeded: You''ve exceeded the per second rate limit on your subscription'
                keyQuota:
                  value:
                    error: 'Rate limit exceeded for the API key: quota monthly'
        '402':
          description: Payment Required — your subscription or credit balance is insufficient.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Payment required
        '500':
          description: Internal Server Error — something went wrong on our side.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Internal Error
      tags:
      - Mascus
  /v2/mascus/search:
    get:
      summary: Mascus Search
      description: 'Search used equipment listings on Mascus from a category URL, with pagination that keeps country and category filters.


        **Credit cost:** 1 credit per call'
      operationId: get-mascus-search
      security:
      - ApiKeyAuth: []
      parameters:
      - name: query
        in: query
        required: true
        description: "Full Mascus category or search URL. The country site comes from the host (`mascus.be`, `mascus.nl`, `mascus.de`, `mascus.com`, …).\n\n**Recommended (pagination keeps category + country):**\n\n```\nhttps://www.mascus.be/bouw/graafmachines/be,country.html\n```\n\n```\nhttps://www.mascus.nl/bouw/graafmachines/nl,country.html\n```\n\n```\nhttps://www.mascus.de/baumaschinen/bagger/de,country.html\n```\n\n**Also supported:**\n\n    https://www.mascus.be/+/catalogs=construction&categories=excavators&countries=BE/1,relevance,search.html\n\nFilters from the URL are kept on page 2+."
        schema:
          type: string
          description: "Full Mascus category or search URL. The country site comes from the host (`mascus.be`, `mascus.nl`, `mascus.de`, `mascus.com`, …).\n\n**Recommended (pagination keeps category + country):**\n\n```\nhttps://www.mascus.be/bouw/graafmachines/be,country.html\n```\n\n```\nhttps://www.mascus.nl/bouw/graafmachines/nl,country.html\n```\n\n```\nhttps://www.mascus.de/baumaschinen/bagger/de,country.html\n```\n\n**Also supported:**\n\n    https://www.mascus.be/+/catalogs=construction&categories=excavators&countries=BE/1,relevance,search.html\n\nFilters from the URL are kept on page 2+."
      - name: page
        in: query
        required: false
        description: 'Page number (default: `1`). About 40 results per page.


          **Example:** `2`


          Works with classic country browse URLs (`…/be,country.html`) and `+/catalogs=…/N,relevance,search.html` URLs. You can also put `?page=2` in the query URL.'
        schema:
          type: number
          description: 'Page number (default: `1`). About 40 results per page.


            **Example:** `2`


            Works with classic country browse URLs (`…/be,country.html`) and `+/catalogs=…/N,relevance,search.html` URLs. You can also put `?page=2` in the query URL.'
      - $ref: '#/components/parameters/fields'
      - $ref: '#/components/parameters/is_async'
      - $ref: '#/components/parameters/soft_fail'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  results:
                    type: array
                    items:
                      type: object
                      properties:
                        url:
                          type: string
                        brand:
                          type: string
                        model:
                          type: string
                        image_url:
                          type: string
                        rental_ad:
                          type: boolean
                        auction_ad:
                          type: boolean
                        price_euro:
                          type: integer
                        product_id:
                          type: string
                        catalog_name:
                          type: string
                        company_name:
                          type: string
                        category_name:
                          type: string
                        location_city:
                          type: string
                        user_currency:
                          type: string
                        year_of_manufacture:
                          type: integer
                        location_country_code:
                          type: string
                        price_in_user_currency:
                          type: integer
                  pagination:
                    type: object
                    properties:
                      next:
                        type: integer
                      current:
                        type: integer
                      page_size:
                        type: integer
                      total_pages:
                        type: integer
                      has_next_page:
                        type: boolean
                      total_results:
                        type: integer
              examples:
                Belgian excavators (page 1):
                  value:
                    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
        '400':
          description: Bad Request — missing or invalid parameters.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Bad Request
        '401':
          description: Unauthorized — the API key is missing, invalid, inactive, or expired, or a rate limit was exceeded (`Rate limit exceeded…` message).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                invalidKey:
                  value:
                    error: Invalid API Key
                planRateLimit:
                  value:
                    error: 'Rate limit exceeded: You''ve exceeded the per second rate limit on your subscription'
                keyQuota:
                  value:
                    error: 'Rate limit exceeded for the API key: quota monthly'
        '402':
          description: Payment Required — your subscription or credit balance is insufficient.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Payment required
        '500':
          description: Internal Server Error — something went wrong on our side.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Internal Error
      tags:
      - Mascus
    post:
      summary: Mascus Search
      description: 'Search used equipment listings on Mascus from a category URL, with pagination that keeps country and category filters.


        **Credit cost:** 1 credit per call'
      operationId: post-mascus-search
      security:
      - ApiKeyAuth: []
      parameters:
      - $ref: '#/components/parameters/fields'
      - $ref: '#/components/parameters/is_async'
      - $ref: '#/components/parameters/soft_fail'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                query:
                  type: string
                  description: "Full Mascus category or search URL. The country site comes from the host (`mascus.be`, `mascus.nl`, `mascus.de`, `mascus.com`, …).\n\n**Recommended (pagination keeps category + country):**\n\n```\nhttps://www.mascus.be/bouw/graafmachines/be,country.html\n```\n\n```\nhttps://www.mascus.nl/bouw/graafmachines/nl,country.html\n```\n\n```\nhttps://www.mascus.de/baumaschinen/bagger/de,country.html\n```\n\n**Also supported:**\n\n    https://www.mascus.be/+/catalogs=construction&categories=excavators&countries=BE/1,relevance,search.html\n\nFilters from the URL are kept on page 2+."
                page:
                  type: number
                  description: 'Page number (default: `1`). About 40 results per page.


                    **Example:** `2`


                    Works with classic country browse URLs (`…/be,country.html`) and `+/catalogs=…/N,relevance,search.html` URLs. You can also put `?page=2` in the query URL.'
              required:
              - query
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  results:
                    type: array
                    items:
                      type: object
                      properties:
                        url:
                          type: string
                        brand:
                          type: string
                        model:
                          type: string
                        image_url:
                          type: string
                        rental_ad:
                          type: boolean
                        auction_ad:
                          type: boolean
                        price_euro:
                          type: integer
                        product_id:
                          type: string
                        catalog_name:
                          type: string
                        company_name:
                          type: string
                        category_name:
                          type: string
                        location_city:
                          type: string
                        user_currency:
                          type: string
                        year_of_manufacture:
                          type: integer
                        location_country_code:
                          type: string
                        price_in_user_currency:
                          type: integer
                  pagination:
                    type: object
                    properties:
                      next:
                        type: integer
                      current:
                        type: integer
                      page_size:
                        type: integer
                      total_pages:
                        type: integer
                      has_next_page:
                        type: boolean
                      total_results:
                        type: integer
              examples:
                Belgian excavators (page 1):
                  value:
                    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
        '400':
          description: Bad Request — missing or invalid parameters.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Bad Request
        '401':
          description: Unauthorized — the API key is missing, invalid, inactive, or expired, or a rate limit was exceeded (`Rate limit exceeded…` message).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                invalidKey:
                  value:
                    error: Invalid API Key
                planRateLimit:
                  value:
                    error: 'Rate limit exceeded: You''ve exceeded the per second rate limit on your subscription'
                keyQuota:
                  value:
                    error: 'Rate limit exceeded for the API key: quota monthly'
        '402':
          description: Payment Required — your subscription or credit balance is insufficient.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Payment required
        '500':
          description: Internal Server Error — something went wrong on our side.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Internal Error
      tags:
      - Mascus
components:
  parameters:
    fields:
      name: fields
      in: query
      required: false
      description: Comma-separated list of response fields to return, with dot notation for nested fields (e.g. `name,location.city`).
      schema:
        type: string
    is_async:
      name: is_async
      in: query
      required: false
      description: 'Run the request as a background job: the API answers `202` with a `job_id` to poll on `GET /v1/jobs/{id}`.'
      schema:
        type: boolean
        default: false
    soft_fail:
      name: soft_fail
      in: query
      required: false
      description: Return HTTP 200 even when the request fails; the error is in the `error` field of the body.
      schema:
        type: boolean
        default: false
  schemas:
    ErrorResponse:
      type: object
      required:
      - error
      properties:
        error:
          type: string
          description: Human-readable error message.
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: Your API key. Include it in the x-api-key header for every request.