{
  "openapi": "3.0.1",
  "info": {
    "title": "Malt Scraper: Freelance Day Rates (TJM) & Profiles",
    "description": "Median, P25/P75 and histogram of freelance day rates (TJM) by skill and city from Malt, plus freelancer profiles. France, Germany, Spain, Belgium.",
    "version": "0.1",
    "x-build-id": "uMm4SuS7XXenhXAlO"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/muira_datamasters~malt-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-muira_datamasters-malt-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/muira_datamasters~malt-scraper/runs": {
      "post": {
        "operationId": "runs-sync-muira_datamasters-malt-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/muira_datamasters~malt-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-muira_datamasters-malt-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "required": [
          "mode",
          "market"
        ],
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "marketReport",
              "searchProfiles",
              "enrichProfiles"
            ],
            "type": "string",
            "description": "<b>Market report</b>: day-rate distribution, experience mix and Super Malter share for the whole matching population (1 page per keyword × location). <b>Search profiles</b>: unique freelancer rows, fanned out across slices. <b>Enrich profiles</b>: full rows for profile URLs you provide.",
            "default": "marketReport"
          },
          "market": {
            "title": "Malt market",
            "enum": [
              "fr",
              "de",
              "es",
              "be",
              "nl",
              "com"
            ],
            "type": "string",
            "description": "Which Malt site to read. Also sets the residential proxy country.",
            "default": "fr"
          },
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "Skills or job titles, as you would type them in Malt's search box. One slice per keyword × location.",
            "items": {
              "type": "string"
            }
          },
          "locations": {
            "title": "Locations",
            "type": "array",
            "description": "City names as typed on Malt (e.g. Paris, Lyon). Leave empty for the whole country. Each city is geocoded the way Malt's search box does it, so market reports describe freelancers in that city. Profile search can also return remote freelancers from elsewhere; see the option below.",
            "items": {
              "type": "string"
            }
          },
          "experienceLevels": {
            "title": "Experience levels",
            "uniqueItems": true,
            "type": "array",
            "description": "Restrict to these levels (Malt's 'exp' filter). Empty = all.",
            "items": {
              "type": "string",
              "enum": [
                "ENTRY",
                "INTERMEDIATE",
                "EXPERT",
                "EXPERT_PLUS"
              ],
              "enumTitles": [
                "0–2 years",
                "3–7 years",
                "8–15 years",
                "15+ years"
              ]
            }
          },
          "minRate": {
            "title": "Minimum day rate",
            "minimum": 1,
            "type": "integer",
            "description": "In the market's currency (EUR). Sent to Malt as minPrice and re-checked on each row."
          },
          "maxRate": {
            "title": "Maximum day rate",
            "minimum": 1,
            "type": "integer",
            "description": "In the market's currency (EUR). Sent to Malt as maxPrice and re-checked on each row."
          },
          "searchUrls": {
            "title": "Malt search URLs",
            "type": "array",
            "description": "Optional. Paste search URLs copied from your browser on Malt (with any filters, including a location picked from Malt's suggestions). Each URL is one slice.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "profileUrls": {
            "title": "Profile URLs",
            "type": "array",
            "description": "For <b>Enrich profiles</b> mode: Malt profile links like https://www.malt.fr/profile/<slug>.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "maxResults": {
            "title": "Max profiles",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Hard stop for <b>Search profiles</b> mode.",
            "default": 100
          },
          "enrich": {
            "title": "Fetch full profile for each hit",
            "type": "boolean",
            "description": "Adds experiences, educations, languages, answer rate, ratings detail and availability dates. Charged as 'profile-enriched' instead of 'profile-row'. Available on malt.fr and malt.com; on other markets Malt gates profile pages, so search rows are delivered instead at the 'profile-row' price.",
            "default": false
          },
          "strictLocation": {
            "title": "Only keep freelancers based in the location",
            "type": "boolean",
            "description": "Malt also returns remote freelancers from elsewhere. Tick to keep only rows whose city starts with the location you typed.",
            "default": false
          },
          "onlyAvailable": {
            "title": "Only available freelancers",
            "type": "boolean",
            "description": "Keep only freelancers Malt shows as available (AVAILABLE or AVAILABLE_AND_VERIFIED).",
            "default": false
          },
          "onlySuperMalters": {
            "title": "Only Super Malters",
            "type": "boolean",
            "description": "Keep only Super Malters (Malt's top-rated badge). In profile search, the filter is also sent to Malt, so each results page holds more matches.",
            "default": false
          },
          "minRating": {
            "title": "Minimum rating",
            "minimum": 0,
            "maximum": 5,
            "type": "number",
            "description": "Keep freelancers rated at least this much (0–5). Freelancers without a rating are dropped."
          },
          "minMissions": {
            "title": "Minimum missions on Malt",
            "minimum": 0,
            "type": "integer",
            "description": "Keep freelancers with at least this many completed Malt missions."
          },
          "includeSample": {
            "title": "Attach the 24 sample profiles to each market slice",
            "type": "boolean",
            "description": "Market report mode: include Malt's top 24 profiles for the slice (no extra charge).",
            "default": true
          },
          "includeDescriptions": {
            "title": "Include free-text descriptions",
            "type": "boolean",
            "description": "Profile and experience descriptions written by the freelancer. Off by default to keep rows small and limit personal data.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Malt sits behind Cloudflare. Residential proxies in the market's country work best; the country is set automatically from the market unless you choose one.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ]
            }
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Parallel page requests. Keep it low (3–5): Malt rate-limits bursts.",
            "default": 3
          },
          "maxRequestsPerSession": {
            "title": "Requests per session",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Pages fetched per residential IP before rotating.",
            "default": 40
          },
          "maxSearchesPerSession": {
            "title": "Searches per session",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Search pages per visitor session before rotating. Malt shows anonymous visitors a sign-up wall after a few searches.",
            "default": 3
          },
          "debugSaveHtml": {
            "title": "Save raw pages (debug)",
            "type": "boolean",
            "description": "Store the first 30 fetched pages in the key-value store as PAGE-n.",
            "default": false
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}