# French Flea Market Events (`bovi/vide-greniers-events`) Actor

Collect vide-greniers events from vide-greniers.org agenda pages. Get dates, venues, coordinates, organizers, and URLs. Use agenda URLs; no source login or API key. Pricing: $0.0035 per result plus $0.00005 per Actor Start event on the Free plan.

- **URL**: https://apify.com/bovi/vide-greniers-events.md
- **Developed by:** [Vitalii Bondarev](https://apify.com/bovi) (community)
- **Categories:** E-commerce, Travel
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.50 / 1,000 french flea market events

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

## France Flea Market Events Scraper

Extract upcoming flea-market, brocante, and vide-grenier events from the public vide-greniers.org agenda by French department. Pricing: $0.0035 per result on the Free plan, plus a small per-run start charge of $0.00005 on the Free plan. The Free plan returns up to 25 events per run.

- Collect one flattened dataset row per event with dates, venue, town, coordinates, organizer, and status.
- Build regional calendars from one or more French department agenda URLs.
- Find events near a point using the returned latitude and longitude.
- Create organizer lead lists or research second-hand and antiques events in France.
- Run without a source login or API key, using the recommended French residential proxy configuration.

### What you get

A successful run produces one dataset item per event. The Actor reads schema.org Event data embedded in the public agenda page, converts French dates from `DD/MM/YYYY` to `YYYY-MM-DD`, shortens schema.org status and attendance values, removes duplicates by event ID, and flattens address and location data.

Values not shown on the event page are returned as `null`.

| Field | Type | What it contains |
| --- | --- | --- |
| `eventId` | string or null | Event identifier used for deduplication. |
| `name` | string or null | Event name. |
| `description` | string or null | Event description from the agenda. |
| `url` | string or null | Source URL for the event. |
| `startDate` | string or null | Start date in ISO `YYYY-MM-DD` format. |
| `endDate` | string or null | End date in ISO `YYYY-MM-DD` format. |
| `eventStatus` | string or null | Shortened schema.org event status, such as `EventScheduled`. |
| `attendanceMode` | string or null | Shortened schema.org attendance mode, such as `OfflineEventAttendanceMode`. |
| `isFree` | boolean or null | Whether the event is marked as accessible for free. |
| `placeName` | string or null | Venue or place name. |
| `addressLocality` | string or null | Town or locality. |
| `addressRegion` | string or null | Region or department value from the event address. |
| `addressCountry` | string or null | Country from the event address. |
| `latitude` | number or null | Latitude from the event's geographic coordinates. |
| `longitude` | number or null | Longitude from the event's geographic coordinates. |
| `organizer` | string or null | Organizer name, URL, or identifier supplied by the event data. |
| `imageUrl` | string or null | Event image URL, when present. |
| `department` | string or null | Department extracted from the agenda URL, with the address region used as a fallback. |
| `query` | string or null | Agenda URL used for the extraction. |
| `scrapedAt` | string or null | UTC timestamp for when the record was normalized. |
| `parse_confidence` | number | Share from `0` to `1` of the core fields found: `eventId`, `name`, `url`, `startDate`, and `addressLocality`. |

### Sample output

The following is one complete record from the successful dataset sample.

```json
{
  "eventId": "379726", "name": "Marché aux livres Paris",
  "description": "Bourse de seconde main Île-de-France - Paris - Paris -  9h/18h Exposants professionnels uniquement. Sous la Halle aux Chevaux-René Froment depuis 1985.",
  "url": "https://vide-greniers.org/evenement/379726/20261010", "startDate": "2026-10-10",
  "endDate": "2026-10-10", "eventStatus": "EventScheduled",
  "attendanceMode": "OfflineEventAttendanceMode", "isFree": false,
  "placeName": "Marché du Livre ancien et d'occasion de Paris, 104 Rue Brancion, Quartier Saint-Lambert",
  "addressLocality": "Paris-75", "addressRegion": "Paris",
  "addressCountry": "France", "latitude": 48.8309,
  "longitude": 2.30205, "organizer": "Marchédulivre",
  "imageUrl": "https://assets.agenda.org/photo/3/777142.webp",
  "department": "Paris", "query": "https://vide-greniers.org/evenements/Paris",
  "scrapedAt": "2026-10-10T12:22:27Z", "parse_confidence": 1
}
```

### Pricing

You pay per event.

| Charge event | Unit and condition | Price |
| --- | --- | --- |
| `apify-actor-start` | A small charge when a run starts: one event per GB of memory, minimum one. | $0.00005 per event on the Free plan |
| `apify-default-dataset-item` | One result row containing all fields. | $0.0035 per result on the Free plan |

The charge event `event-result` has no price, so you are not charged for it.

Examples on the Free plan: 1,000 x $0.0035 = $3.50 and 10,000 x $0.0035 = $35.00 for results, plus $0.00005 for the start of a one-GB run. The Free plan returns up to 25 events per run, so use a paid Apify plan for larger runs.

Compute, Apify Proxy traffic (including residential) and storage are included in these prices and paid by the Actor developer. This Actor does not use the `Pay per event + usage` setting, so you pay nothing extra for platform usage.

### How to use

1. Choose one or more vide-greniers.org department agenda URLs, such as the Paris, Nord, or Alpes-Maritimes agenda.
2. Set `maxItems` to the maximum number of events to return across all URLs, or `0` for no input cap. The Free plan still returns at most 25 events per run, even with `maxItems` set to 100 or `0`.
3. Configure the recommended French residential proxy, or use the default `RESIDENTIAL` and `FR` configuration.
4. Run the Actor to fetch each agenda URL once, read its embedded schema.org Event data, remove duplicate event IDs, and save flattened records.
5. Review the dataset fields, including ISO dates, event URLs, coordinates, organizer, department, and `parse_confidence`.
6. Repeat the run through Apify Schedules, using daily as a starting point for an upcoming-event agenda.

```json
{
  "startUrls": [
    "https://vide-greniers.org/evenements/Paris",
    "https://vide-greniers.org/evenements/Alpes-Maritimes"
  ],
  "maxItems": 100,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"],
    "apifyProxyCountry": "FR"
  }
}
```

Export the dataset as JSON or CSV, or read it through the Apify dataset API.

### Input parameters

| Parameter | What it does | Default |
| --- | --- | --- |
| `startUrls` | Array of vide-greniers.org department agenda URLs to fetch. Each agenda page lists the upcoming events for that French department. | Paris, Nord, and Alpes-Maritimes agenda URLs |
| `maxItems` | Maximum number of events returned across all URLs. `0` means no cap in the input logic. | `100` |
| `proxyConfiguration` | Proxy configuration used to reach the public vide-greniers.org pages. | Apify proxy with `RESIDENTIAL` group and country `FR` |

### Limits and edge cases

| Condition | What you see | What to do |
| --- | --- | --- |
| Free plan run | Output is capped at 25 events, even if `maxItems` is higher or `0`. | Use a paid Apify plan for more. |
| `maxItems` is a positive number | The Actor stops after that many events across all URLs. | Raise it, or use `0` for no input cap. |
| The same event ID appears in several URLs | Only one dataset item is saved for it. | Use distinct department URLs. |
| A field is missing on an event page | The value is `null` and `parse_confidence` can be below `1`. | Check the source event page if the field matters. |
| A malformed event block | That block is skipped; other events are still processed. | Rerun if a missing event matters. |
| A request fails or the response is blocked (HTTP `401`, `403`, `429`, `503`), is too small, or has no event data | The URL is retried up to three attempts, then skipped. Rows already pushed from earlier URLs stay in the dataset. | Check the URL and proxy configuration, then run again. |
| An agenda page yields no parseable events | No rows are added for that URL. | Check that it is a department agenda URL and use the recommended French residential proxy. |

Each department agenda page is fetched once; the Actor does not paginate results.

### FAQ

#### How much does it cost to scrape vide-greniers.org?

See the Pricing section: $0.0035 per result on the Free plan, plus the small start charge.

#### What happens if an event field is missing?

The missing value is returned as `null`. The `parse_confidence` field reports the share of five core fields that were found: `eventId`, `name`, `url`, `startDate`, and `addressLocality`.

#### Why did my run return no events?

The supplied URL may not be a department agenda URL, or the request may have been skipped after transport or access errors. Check the URL, keep the recommended `RESIDENTIAL` proxy configuration for France, and run the Actor again. A URL that remains unavailable after its retries is skipped.

#### Do I need a login or API key?

No source login or API key is required. Provide the agenda URLs; the recommended proxy configuration is the default.

#### Is it legal to use data from vide-greniers.org?

The Actor extracts public agenda data from vide-greniers.org. Whether a particular use is legal or allowed depends on the source terms and the applicable law for your use case, so review those terms and requirements before using the data.

### Related actors

- [Eventbrite Events Scraper](https://apify.com/bovi/eventbrite-events) — related event-listing extraction.
- [Resident Advisor Events Scraper — Lineups, Venues & Guests](https://apify.com/bovi/residentadvisor-events-scraper) — related event data with lineups, venues, and guests.
- [Time Out Events & Things-To-Do Scraper](https://apify.com/bovi/timeout-events-scraper) — related events and things-to-do data.

# Actor input Schema

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

vide-greniers.org department agenda URLs to walk. Each page lists every upcoming event for that French department. Examples: 'https://vide-greniers.org/evenements/Paris', 'https://vide-greniers.org/evenements/Alpes-Maritimes', or any department URL copied from the site.

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

Maximum number of events to return across all URLs (0 = no cap, return every event on each page).

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

Proxy used to reach the public vide-greniers.org pages. RESIDENTIAL (France) is the recommended default for a stable local egress.

## Actor input object example

```json
{
  "startUrls": [
    "https://vide-greniers.org/evenements/Paris",
    "https://vide-greniers.org/evenements/Nord",
    "https://vide-greniers.org/evenements/Alpes-Maritimes"
  ],
  "maxItems": 100,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "FR"
  }
}
```

# Actor output Schema

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

Dataset of events (name, startDate, endDate, venue, full address, GPS, region, department, organizer, status, url, eventId).

# 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": [
        "https://vide-greniers.org/evenements/Paris",
        "https://vide-greniers.org/evenements/Nord",
        "https://vide-greniers.org/evenements/Alpes-Maritimes"
    ],
    "maxItems": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("bovi/vide-greniers-events").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": [
        "https://vide-greniers.org/evenements/Paris",
        "https://vide-greniers.org/evenements/Nord",
        "https://vide-greniers.org/evenements/Alpes-Maritimes",
    ],
    "maxItems": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("bovi/vide-greniers-events").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": [
    "https://vide-greniers.org/evenements/Paris",
    "https://vide-greniers.org/evenements/Nord",
    "https://vide-greniers.org/evenements/Alpes-Maritimes"
  ],
  "maxItems": 100
}' |
apify call bovi/vide-greniers-events --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,bovi/vide-greniers-events"
        }
    }
}
```

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/4hW4u9DSGQsL2bcAO/builds/X1PqxOsLj7Hhc2e36/openapi.json
