# Find Underpriced Tesla Model 3 Listings

**Use case:** 

Compare marketplace listings and surface vehicles priced below comparable offers, with discount percentage and evidence.

## Input

```json
{
  "records": [
    {
      "id": "deal",
      "title": "Tesla Model 3 2021",
      "make": "Tesla",
      "model": "Model 3",
      "year": 2021,
      "price": 15000,
      "currency": "USD",
      "publishedAt": "2026-08-20"
    },
    {
      "id": "a",
      "title": "Tesla Model 3 2021",
      "make": "Tesla",
      "model": "Model 3",
      "year": 2021,
      "price": 20500,
      "currency": "USD"
    },
    {
      "id": "b",
      "title": "Tesla Model 3 2021",
      "make": "Tesla",
      "model": "Model 3",
      "year": 2021,
      "price": 21000,
      "currency": "USD"
    },
    {
      "id": "c",
      "title": "Tesla Model 3 2021",
      "make": "Tesla",
      "model": "Model 3",
      "year": 2021,
      "price": 21500,
      "currency": "USD"
    }
  ],
  "sourceActorInput": {},
  "historyStoreName": "marketplace-deal-alerts-history",
  "minComparableCount": 3,
  "minDiscountPercent": 10,
  "maxResults": 20,
  "maxSourceItems": 10000
}
```

## Output

```json
{
  "title": {
    "label": "Title",
    "format": "string"
  },
  "price": {
    "label": "Price",
    "format": "number"
  },
  "currency": {
    "label": "Currency",
    "format": "string"
  },
  "comparableMedian": {
    "label": "Comparable median",
    "format": "number"
  },
  "discountPercent": {
    "label": "Discount percent",
    "format": "number"
  },
  "priceDropPercent": {
    "label": "Price drop percent",
    "format": "number"
  },
  "dealScore": {
    "label": "Deal score",
    "format": "number"
  },
  "comparableCount": {
    "label": "Comparable count",
    "format": "integer"
  },
  "url": {
    "label": "Url",
    "format": "string"
  },
  "reasons": {
    "label": "Reasons",
    "format": "array"
  }
}
```

## About this Actor

This example demonstrates how to use [Marketplace Deal Alerts & Price Drops](https://apify.com/signal_lab/marketplace-deal-alerts) with a specific input configuration. Visit the [Actor detail page](https://apify.com/signal_lab/marketplace-deal-alerts) to learn more, explore other use cases, and run it yourself.


## 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.
This Task's input is already configured above — use it as-is rather than inventing a new one.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/signal_lab/marketplace-deal-alerts.md

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).
