# Telegram Marketplace Ads — Rentals, Sales, Jobs & Services (`telegrambest/telegram-classifieds`) Actor

Search dated public Telegram classifieds by country, type and keywords. Get price, explicit price period when known, city, direction and the original message link. Offers and wanted ads are labeled separately.

- **URL**: https://apify.com/telegrambest/telegram-classifieds.md
- **Developed by:** [TGDen — Telegram Intelligence](https://apify.com/telegrambest) (community)
- **Categories:** E-commerce, Social media, Lead generation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 listings

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## Telegram Marketplace Ads — Rentals, Sales, Jobs & Services

**Export recent public rental, resale, job and service ads with dates, direction and source links.**

Part of **TGDen — Telegram Intelligence**. No Telegram account, phone number or session is required.

### Try it

Use this input, run the Actor and open its dataset (JSON, CSV or the table view):

```json
{
  "country": "th",
  "listingType": "rent",
  "maxResults": 8
}
```

### Real output

A shortened row read on **23 October 2026** during owner-account acceptance testing. Results change as the corpus changes.

```json
[
  {
    "title": "Бутик-отель в стиле старой Кубы в центре Паттайи с бассейном и рестораном",
    "type": "rent",
    "direction": "offer",
    "category": "hotel",
    "price": null,
    "pricePeriod": "unknown",
    "currency": null,
    "location": "Pattaya",
    "country": "th",
    "postedAt": "2026-10-23T07:43:08Z",
    "postUrl": "https://t.me/galleryrealestatethailand/4024"
  }
]
```

The dataset contains the delivered rows. The run's `OUTPUT` record adds counts, an explicit outcome (`results`, `valid_zero_result`, `limited` or `incomplete`), source timings and any stop reason. A source failure fails the run; it is never presented as a successful empty search.

### Cost

**$0.005 per run start + $0.002 per listing delivered.** With the 256 MB memory limit there is one start event. Ten billable results cost about **$0.025** in Actor fees. Zero matches incur only the start fee. Prices and any platform charges shown by Apify at launch are authoritative.

Set **Maximum charge per run** before starting (default $0.50). Delivery stops when the remaining budget cannot pay for another result; duplicate results are not billed twice in a run. Apify free-plan accounts receive at most 50 billable results per run. The amount of data in a snapshot may be larger than your budget permits.

### Freshness and interpretation

Listings are limited by daysBack (default 14, maximum 60), with postedAt on every row. They are not revalidated in Telegram at run time.

Ads can be offers or wanted requests: choose direction=offer when comparing seller asking prices. pricePeriod=unknown is explicit uncertainty. Listings and AI extracted fields may be wrong or stale; verify the source. Keywords use AND matching. A sale amount is a one_off price.

### Why use it

Filter a dated cross-group classifieds catalog and export rows with their original posts.

This Actor reads public catalog data. It does not join groups, send messages or contact anyone. Verify the source and suitability before outreach or business decisions.

### Watch an example

![TGDen Classifieds: a place and a kind of ad go in, fresh ads with a price come out](https://api.apify.com/v2/key-value-stores/uL03GUEIHlMAysGVS/records/listings-motion?signature=KRWvJOcQThjOzNENdoQv)

### API and scheduled runs

Use the same JSON input with the public Actor API. Keep your Apify token in an environment variable.

```bash
curl -X POST \
  -H "Authorization: Bearer $APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  --data @input.json \
  "https://api.apify.com/v2/acts/telegrambest~telegram-classifieds/run-sync-get-dataset-items?memory=256&timeout=180&maxTotalChargeUsd=0.50"
```

For longer runs use Apify's asynchronous run endpoint and fetch the dataset after completion. Where available, `onlyNew=true` remembers delivered items for this Actor and your account so scheduled searches skip them. Keep it off when you want a full repeatable snapshot.

### The family

[Buyer Search](https://apify.com/telegrambest/telegram-lead-finder) · [Groups](https://apify.com/telegrambest/telegram-group-discovery) · [Similar Groups](https://apify.com/telegrambest/telegram-similar-groups) · [Channels](https://apify.com/telegrambest/telegram-channel-discovery) · [Bots](https://apify.com/telegrambest/telegram-bot-finder) · [Username Checker](https://apify.com/telegrambest/telegram-entity-enrichment) · [Marketplace Ads](https://apify.com/telegrambest/telegram-classifieds) · [Prices](https://apify.com/telegrambest/telegram-market-prices) · [Demand Map](https://apify.com/telegrambest/telegram-demand-map)

Questions or a bad result? Open an issue on this Actor and include the run link and expected behavior. Never post tokens or Telegram sessions.

# Actor input Schema

## `country` (type: `string`):

Where the ads are posted.

## `listingType` (type: `string`):

Which kind of ads: rent, sale, job or service. Any — all kinds.

## `direction` (type: `string`):

'Offer' — someone rents out, sells, hires or offers a service. 'Wanted' — someone is looking for it.

## `keywords` (type: `array`):

Optional. Every word must appear in the title, city or category — e.g. 'Marina', 'studio', 'Pattaya', 'scooter'.

## `categories` (type: `array`):

Optional. Category slugs as they appear in the results, e.g. 'condo', 'villa', 'room', 'car', 'scooter', 'electronics', 'driver', 'cleaning'.

## `daysBack` (type: `integer`):

Only ads posted in the last N days (up to 60).

## `maxResults` (type: `integer`):

Newest first. You pay only for listings delivered. On the Apify free plan a run returns at most 50.

## `onlyNew` (type: `boolean`):

Skip (and do not charge for) listings delivered to this account in earlier runs — schedule it hourly for a live feed.

## Actor input object example

```json
{
  "country": "ae",
  "listingType": "rent",
  "direction": "",
  "keywords": [
    "Marina"
  ],
  "categories": [
    "condo",
    "villa"
  ],
  "daysBack": 14,
  "maxResults": 100,
  "onlyNew": false
}
```

# Actor output Schema

## `overview` (type: `string`):

Ads from Telegram flea-market groups

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("telegrambest/telegram-classifieds").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("telegrambest/telegram-classifieds").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 '{}' |
apify call telegrambest/telegram-classifieds --silent --output-dataset

```

## MCP server setup

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

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/A9MwP8L0kRKlQQvTT/builds/bRORIeyZnfi1sJgXp/openapi.json
