# MachineryPete Scraper — Farm Equipment Prices & Seller Monitor (`crawloop/machinerypete-scraper`) Actor

Scrape MachineryPete US farm equipment listings for dealers, appraisers, and data teams: asking prices, hours, make/model/year, FSBO vs dealer, ZIP radius, and store inventory. Monitor new listings and price changes; export JSON or CSV from Python, Node.js, or MCP.

- **URL**: https://apify.com/crawloop/machinerypete-scraper.md
- **Developed by:** [Andrej Kiva](https://apify.com/crawloop) (community)
- **Categories:** E-commerce, Lead generation, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.50 / 1,000 scraped machinerypete listings

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## MachineryPete Scraper — Farm Equipment Prices, ZIP Radius & Seller Monitor

> **Disclaimer:** Unofficial tool — not affiliated with, sponsored by, or endorsed by MachineryPete or its affiliates. Data is read from publicly accessible pages only. No login. You are responsible for complying with applicable law (including GDPR where personal data appears) and the site’s terms. No warranty on accuracy or availability. Provided for informational and research use.

> **Contact-data controls:** Phone and email fields are omitted from the dataset by default. Enable `includePhones` / `includeEmails` only for values already published on public pages and only when you have a lawful basis. Any contact-field examples below assume that explicit opt-in; otherwise those fields are absent.

> **Crawloop Used Machinery Marketplace Suite** — US MachineryPete asking prices, FSBO vs dealer split, ZIP radius, and store inventory alerts. Pair with Fastline / EquipmentTrader for other US boards, TractorHouse for Sandhills farm stock, or Machineryline for European coverage.

| MachineryPete | Fastline | EquipmentTrader | TractorHouse |
| :--- | :--- | :--- | :--- |
| MachineryPete Scraper ◄── you are here | [Fastline Scraper](https://apify.com/crawloop/fastline-scraper) | [EquipmentTrader Scraper](https://apify.com/crawloop/equipmenttrader-scraper) | [TractorHouse Scraper](https://apify.com/crawloop/tractorhouse-scraper) |

| Machineryline | Machineseeker | Truck1 | Troostwijk | Surplex |
| :--- | :--- | :--- | :--- | :--- |
| [Machineryline Scraper](https://apify.com/crawloop/machineryline-scraper) | [Machineseeker Scraper](https://apify.com/crawloop/machineseeker-scraper) | [Truck1 Scraper](https://apify.com/crawloop/truck1-scraper) | [Troostwijk Scraper](https://apify.com/crawloop/troostwijk-scraper) | [Surplex Scraper](https://apify.com/crawloop/surplex-scraper) |

### What this MachineryPete scraper does

This **MachineryPete scraper** turns US farm equipment classifieds into a structured Apify dataset: asking price, make, model, year, hours, seller type (private / dealer / auction), dealer store URL, location, and images. Use it as a MachineryPete API alternative for dealers, appraisers, lenders, and data teams who need tractor, combine, hay, and implement comps in **Python**, **Node.js**, or **MCP** — export JSON / CSV / Excel without manual browsing.

Paste a category, dealer store, by-owner, or ZIP-filtered browse URL, or let the Actor build one from category / subcategory / make / ZIP. Run `listings` for fast catalog pulls (cards already include price, hours, and seller) or `details` for PDP gallery, seller comments, and serials when the page publishes them. Enable **`monitorMode`** on an Apify Schedule to track **new inventory** and **price changes**.

### When to use

- ZIP-radius comps around a farm, auction, or dealership (e.g. Des Moines 50266 / 250 miles)
- Dealer store inventory watch via `/store/{slug}` plus `monitorMode`
- Private-seller (FSBO / by-owner) vs dealer vs auction splits on the same category
- Asking-price comps for tractors, combines, hay/forage, tillage, and implements
- John Deere, Case IH, Kubota, and New Holland price scans by make + subcategory
- Outreach lists with published dealer phones (opt-in `includePhones`)
- Join US MachineryPete asking prices with [Fastline Scraper](https://apify.com/crawloop/fastline-scraper) or [EquipmentTrader Scraper](https://apify.com/crawloop/equipmenttrader-scraper)
- Join US MachineryPete asking prices with European stock from [Machineryline Scraper](https://apify.com/crawloop/machineryline-scraper)

#### When not to use

- You need keyword search / custom-search POST or auction-results tables — v1 uses browse, store, ZIP, and detail URLs only
- You only need European farm boards — start with Machineryline / Machineseeker / [TractorHouse Scraper](https://apify.com/crawloop/tractorhouse-scraper)
- You need construction-heavy auction lots — use Troostwijk or Surplex

### US farm classifieds workflow

```
MachineryPete (US classifieds)           Other US / Europe / auctions
──────────────────────────────           ───────────────────────────

  MachineryPete Scraper ◄── you are here
       │ ZIP radius, FSBO vs dealer, store watch
       │ asking prices, hours, monitor deltas
       ▼
  Fastline / EquipmentTrader ─────► other US farm & construction boards
  TractorHouse Scraper ───────────► Sandhills US + EU farm stock
  Machineryline Scraper ──────────► EU farm + heavy equipment
  Machineseeker Scraper ──────────► DE/EU regional boards
  Troostwijk / Surplex ───────────► auction lots & bids

  Join by make + model + year ──► comps, remarketing, residual checks
```

### Key features

- **Browse or filters** — paste a category / store / ZIP / by-owner URL, or build one from category, subcategory, make, model, store slug, seller type, and ZIP radius
- **Two modes** — `listings` (fast SSR cards with price, hours, seller) and `details` (PDP gallery, seller comments, serial when published)
- **Monitor mode** — seed fingerprints, then emit only `new` / `price_change` rows; optional Telegram alerts
- **Seller split** — `privateSeller`, `dealer`, or `auction` (dealer uses `no_auction` plus a DealerListing match)
- **ZIP radius** — `zipCode` + `zipMiles` (400+ maps to nationwide)
- **Residential-ready** — `curl_cffi` Chrome TLS; Apify US Residential recommended
- **Priced-only filter** — skip Call-for-price rows
- **Privacy opt-in** — phones and emails omitted unless you enable the flags

### Input

| Field | Type | Default | Description |
| :--- | :--- | :--- | :--- |
| `startUrls` | Array | 175–299 HP tractors sample | Category, store, by-owner, ZIP browse, or detail URLs |
| `category` / `subcategory` | String | — | e.g. `tractors` + `175-299-hp` |
| `make` / `model` | String | — | Brand and model slugs for a built browse URL |
| `storeSlug` | String | — | Dealer `/store/{slug}` inventory watch |
| `sellerType` | String | `any` | `any`, `privateSeller`, `dealer`, `auction` |
| `zipCode` / `zipMiles` | String / Integer | — | US ZIP radius; `zipMiles` is ignored without `zipCode` (400+ = nationwide) |
| `runMode` | String | `listings` | `listings` or `details` |
| `pricedOnly` | Boolean | `false` | Keep only rows with a published price |
| `maxItems` | Integer | `100` | Emit budget (seed run: fingerprint budget) |
| `maxPagesPerUrl` | Integer | `10` | Pages per start URL (~48 listings/page) |
| `includePhones` / `includeEmails` | Boolean | `false` | Opt-in contact fields already on public pages |
| `monitorMode` | Boolean | `false` | Delta tracking via named KV store |
| `monitorStoreName` | String | `machinerypete-monitor-state` | Distinct name per watch target |
| `proxyConfiguration` | Object | US Residential prefill | Apify proxy settings |

```json
{
  "startUrls": [
    {
      "url": "https://www.machinerypete.com/tractors/175-299-hp"
    }
  ],
  "runMode": "listings",
  "monitorMode": true,
  "monitorStoreName": "mp-tractors-175-299",
  "maxItems": 500,
  "maxPagesPerUrl": 20,
  "pricedOnly": true,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"],
    "apifyProxyCountry": "US"
  }
}
```

ZIP radius + dealer-only example:

```json
{
  "category": "tractors",
  "subcategory": "175-299-hp",
  "sellerType": "dealer",
  "zipCode": "50266",
  "zipMiles": 250,
  "runMode": "listings",
  "maxItems": 100,
  "pricedOnly": true,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"],
    "apifyProxyCountry": "US"
  }
}
```

By-owner (FSBO) example:

```json
{
  "sellerType": "privateSeller",
  "category": "tractors",
  "runMode": "listings",
  "maxItems": 50,
  "pricedOnly": true
}
```

With `monitorMode: true`, the first run seeds fingerprints and writes **no** dataset rows. Later scheduled runs emit only `changeType: "new"` or `"price_change"`.

### Output

| Field | Description |
| :--- | :--- |
| `id` | Listing id |
| `title` / `make` / `model` / `year` | Equipment identity |
| `price` / `currency` / `priceFormatted` | Asking price when published |
| `hours` / `serialNumber` | Hours from the card; serial when the detail page publishes it |
| `sellerType` / `sellerName` / `dealerStoreUrl` | `privateSeller`, `dealer`, or `auction` |
| `sellerPhone` | Public phone when `includePhones` is on |
| `location` / `city` / `state` | Machine location |
| `images` / `imageCount` | Photo URLs |
| `offers` | Card badges (financing, shipping, warranty, tires) |
| `specs` | Spec key/value map |
| `postedDate` | Card created-at date |
| `changeType` / `previousPrice` / `monitoredAt` | Monitor deltas only |

```json
{
  "id": "22289014",
  "title": "2000 John Deere 7810",
  "make": "John Deere",
  "model": "7810",
  "year": "2000",
  "price": 95900,
  "currency": "USD",
  "priceFormatted": "$95,900 USD",
  "category": "Tractors",
  "subcategory": "175-299 HP",
  "hours": "4227",
  "sellerType": "privateSeller",
  "location": "Washington, MI",
  "url": "https://www.machinerypete.com/details/175-299-hp/2000/john-deere/7810/22289014"
}
```

### Use cases

| Job | How |
| :--- | :--- |
| **Local comps** | `zipCode` + `zipMiles` + category, `pricedOnly`, export JSON or CSV |
| **Dealer store watch** | `storeSlug` + `monitorMode` on an Apify Schedule |
| **FSBO vs dealer scan** | `sellerType` filter on the same category URL |
| **John Deere / Case IH / Kubota price scan** | `make` + subcategory, `pricedOnly` |
| **Equipment valuation comps** | Filter by make/model/year/hours; join with Machineryline for EU stock |
| **MCP / AI research** | Ask an assistant via Apify MCP to run ZIP or store filters and summarize prices |

### Integration examples

#### Node.js

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('crawloop/machinerypete-scraper').call({
  category: 'tractors',
  subcategory: '175-299-hp',
  zipCode: '50266',
  zipMiles: 250,
  runMode: 'listings',
  maxItems: 50,
  pricedOnly: true,
  proxyConfiguration: {
    useApifyProxy: true,
    apifyProxyGroups: ['RESIDENTIAL'],
    apifyProxyCountry: 'US',
  },
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items.slice(0, 3));
```

#### Python

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_TOKEN")
run = client.actor("crawloop/machinerypete-scraper").call(
    run_input={
        "storeSlug": "deer-country-farm-lawn-inc-adamstown",
        "runMode": "listings",
        "maxItems": 80,
        "pricedOnly": True,
        "proxyConfiguration": {
            "useApifyProxy": True,
            "apifyProxyGroups": ["RESIDENTIAL"],
            "apifyProxyCountry": "US",
        },
    }
)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item.get("title"), item.get("price"), item.get("sellerType"), item.get("location"))
```

#### cURL

```bash
curl "https://api.apify.com/v2/acts/crawloop~machinerypete-scraper/runs?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d "{\"category\":\"tractors\",\"subcategory\":\"175-299-hp\",\"maxItems\":25,\"pricedOnly\":true}"
```

### MCP and AI assistants

Use this Actor from AI tools via [Apify MCP](https://docs.apify.com/platform/integrations/mcp). Connect your Apify account, then call this Actor by its Store ID / name (`crawloop/machinerypete-scraper`).

Example prompts:

- "Run MachineryPete Scraper for tractors 175-299 HP near ZIP 50266, max 40, priced only, and return title, price, hours, sellerType as JSON"
- "Scrape MachineryPete dealer store deer-country-farm-lawn-inc-adamstown and list title, price, hours, sellerPhone"
- "Monitor MachineryPete FSBO tractors and list only new or price-changed rows, then compare asking prices with Machineryline Scraper for the same make and model"

### Suite next step

After US MachineryPete asking prices, pull other US boards with [Fastline Scraper](https://apify.com/crawloop/fastline-scraper) or [EquipmentTrader Scraper](https://apify.com/crawloop/equipmenttrader-scraper), Sandhills farm stock with [TractorHouse Scraper](https://apify.com/crawloop/tractorhouse-scraper), European farm and heavy equipment with [Machineryline Scraper](https://apify.com/crawloop/machineryline-scraper) or [Machineseeker Scraper](https://apify.com/crawloop/machineseeker-scraper), or auction lots with [Troostwijk Scraper](https://apify.com/crawloop/troostwijk-scraper).

### FAQ

**Is this a MachineryPete API?**\
There is no official public bulk API for most users. This Actor is a structured scrape / API alternative that returns a dataset you can call from Python, Node.js, cURL, or MCP.

**How do I scrape MachineryPete farm equipment listings?**\
Paste a category, store, or ZIP-filtered URL into `startUrls`, set `maxItems`, and run. Or set `category` + `subcategory` (e.g. tractors `175-299-hp`) and let the Actor build the browse URL.

**How do I scrape MachineryPete with Python or Node.js?**\
Use the Apify client examples above. Pass `category` / `zipCode` or a browse URL, then read the default dataset as JSON.

**Does ZIP radius work?**\
Yes — set `zipCode` and `zipMiles`. The Actor sends both `zip` and `zip_code` plus `zip_miles`. Values of 400 miles or more map to nationwide. `zipMiles` is ignored unless `zipCode` is set.

**How do I watch one dealer?**\
Set `storeSlug` (from any dealer listing card) or paste a `/store/{slug}` URL, enable `monitorMode`, pick a unique `monitorStoreName`, and schedule the Actor.

**How do I get dealer-only or FSBO-only rows?**\
Set `sellerType` to `dealer` or `privateSeller`. Dealer uses `buying_format=no_auction` plus a DealerListing match because the site has no dealer-only radio. For all private sellers, you can also start from a by-owner browse URL.

**Do I need details mode for prices and hours?**\
Usually no — listing cards already expose price, hours, seller name/phone, and a thumbnail. Use `details` when you want a full gallery, seller comments, or a serial number if the PDP publishes one.

**Which proxy should I use?**\
Apify Residential with `apifyProxyCountry: "US"`. Datacenter IPs typically fail to load listing pages.

**Can I filter John Deere tractors only?**\
Yes — set `make` to `John Deere` with a category/subcategory, or paste an equivalent browse URL in `startUrls`.

**What about Case IH combines or Kubota hay equipment?**\
Same pattern: set `make` (`Case IH`, `Kubota`, …) and the matching category/subcategory, or paste that browse URL directly.

### Related Actors

| Actor | Role |
| :--- | :--- |
| MachineryPete Scraper ◄── you are here | US ZIP/FSBO farm classifieds + store monitor |
| [Fastline Scraper](https://apify.com/crawloop/fastline-scraper) | US Fastline farm & construction classifieds |
| [EquipmentTrader Scraper](https://apify.com/crawloop/equipmenttrader-scraper) | US EquipmentTrader construction & farm |
| [TractorHouse Scraper](https://apify.com/crawloop/tractorhouse-scraper) | Sandhills US + EU farm equipment |
| [Machineryline Scraper](https://apify.com/crawloop/machineryline-scraper) | EU heavy equipment + dealer contacts + monitor |
| [Machineseeker Scraper](https://apify.com/crawloop/machineseeker-scraper) | Machineseeker / Maschinensucher regional boards |
| [Truck1 Scraper](https://apify.com/crawloop/truck1-scraper) | European trucks & construction equipment |
| [Troostwijk Scraper](https://apify.com/crawloop/troostwijk-scraper) | European industrial auction lots |
| [Surplex Scraper](https://apify.com/crawloop/surplex-scraper) | European plant-closure auctions |

# Actor input Schema

## `includePhones` (type: `boolean`):

Off by default. Include phone fields already published on public pages only when you have a lawful basis.

## `includeEmails` (type: `boolean`):

Off by default. Include seller emails already published on public pages only when you have a lawful basis.

## `startUrls` (type: `array`):

Category, subcategory, dealer store, by-owner, ZIP-filtered browse, or listing detail URLs. Keyword search POST is not used in v1 — paste a browse/store URL instead.

## `category` (type: `string`):

Top-level category slug or name when building a browse URL (e.g. tractors, combines, hay).

## `subcategory` (type: `string`):

Horsepower band or subcategory slug (e.g. 175-299-hp). Combined with category when startUrls is empty.

## `make` (type: `string`):

Brand when building a browse URL (e.g. John Deere, Case IH, Kubota).

## `model` (type: `string`):

Model slug when building a browse URL (e.g. 7810, 7290R).

## `storeSlug` (type: `string`):

Watch one dealer inventory via /store/{slug} (from listing cards, e.g. deer-country-farm-lawn-inc-adamstown).

## `sellerType` (type: `string`):

Filter cards after parse. Dealer uses buying\_format=no\_auction plus a DealerListing match (there is no dealer-only radio on the site). Auction uses buying\_format=auction. Private seller uses fsbo / by-owner.

## `zipCode` (type: `string`):

US ZIP for radius browse (zip\_code + zip query params).

## `zipMiles` (type: `integer`):

Radius around zipCode (ignored without zipCode). Values of 400 or more map to nationwide (zip\_miles=100000).

## `baseUrl` (type: `string`):

Origin for built browse URLs.

## `runMode` (type: `string`):

listings = fast listing-wrapper cards (price, make/model, hours, seller, images). details = also visit each PDP for serial, gallery, and seller comments.

## `pricedOnly` (type: `boolean`):

Skip Call-for-price / missing-price rows.

## `maxItems` (type: `integer`):

Maximum dataset rows to emit (in monitor seed runs: max listings to fingerprint).

## `maxPagesPerUrl` (type: `integer`):

Maximum pagination pages per browse / store URL (48 listings per page).

## `proxyConfiguration` (type: `object`):

Apify Residential Proxies required — datacenter IPs typically get HTTP 470 from MachineryPete.

## `concurrencyLimit` (type: `integer`):

Parallel PDP fetches in details mode.

## `monitorMode` (type: `boolean`):

Delta tracking for category, ZIP, or dealer store URLs. First run seeds a named Key-Value store (no dataset rows / alerts). Later runs output only new listings and price changes. Pair with an Apify Schedule.

## `monitorStoreName` (type: `string`):

Named Key-Value store for fingerprints across scheduled runs. Use a distinct name per watch target (store, ZIP, or category).

## `telegramToken` (type: `string`):

Bot token for real-time alerts on new listings and price changes (monitorMode only).

## `telegramChatId` (type: `string`):

Telegram user or group chat ID that receives monitor alerts.

## `resetMonitorState` (type: `boolean`):

Clear stored listing fingerprints before this run (forces a fresh seed run).

## Actor input object example

```json
{
  "includePhones": false,
  "includeEmails": false,
  "startUrls": [
    {
      "url": "https://www.machinerypete.com/tractors/175-299-hp"
    }
  ],
  "category": "tractors",
  "subcategory": "175-299-hp",
  "make": "John Deere",
  "model": "7810",
  "storeSlug": "deer-country-farm-lawn-inc-adamstown",
  "sellerType": "any",
  "zipCode": "50266",
  "zipMiles": 250,
  "baseUrl": "https://www.machinerypete.com",
  "runMode": "listings",
  "pricedOnly": false,
  "maxItems": 100,
  "maxPagesPerUrl": 10,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  },
  "concurrencyLimit": 5,
  "monitorMode": false,
  "monitorStoreName": "machinerypete-monitor-state",
  "resetMonitorState": false
}
```

# Actor output Schema

## `results` (type: `string`):

Default dataset items: farm equipment listings with prices, hours, seller type, and images.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "startUrls": [
        {
            "url": "https://www.machinerypete.com/tractors/175-299-hp"
        }
    ],
    "baseUrl": "https://www.machinerypete.com",
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "US"
    },
    "monitorStoreName": "machinerypete-monitor-state"
};

// Run the Actor and wait for it to finish
const run = await client.actor("crawloop/machinerypete-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "startUrls": [{ "url": "https://www.machinerypete.com/tractors/175-299-hp" }],
    "baseUrl": "https://www.machinerypete.com",
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "US",
    },
    "monitorStoreName": "machinerypete-monitor-state",
}

# Run the Actor and wait for it to finish
run = client.actor("crawloop/machinerypete-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "startUrls": [
    {
      "url": "https://www.machinerypete.com/tractors/175-299-hp"
    }
  ],
  "baseUrl": "https://www.machinerypete.com",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  },
  "monitorStoreName": "machinerypete-monitor-state"
}' |
apify call crawloop/machinerypete-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,crawloop/machinerypete-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/y0koRmyc7mwhAjj7K/builds/VD4cu801ykGoYpaPB/openapi.json
