{
  "openapi": "3.0.1",
  "info": {
    "title": "Interencheres Scraper — Hammer Prices & Auction Results",
    "description": "Extract French auction data from interencheres.com including realized HAMMER PRICES (results mode), bilingual AI image captions, auctioneer GPS + email, and vehicle history flags. JSON API based — fast, no browser, no login.",
    "version": "0.1",
    "x-build-id": "CyEFt4zRsaGUaEiWf"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/dr1ms~interencheres-auction-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-dr1ms-interencheres-auction-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/dr1ms~interencheres-auction-scraper/runs": {
      "post": {
        "operationId": "runs-sync-dr1ms-interencheres-auction-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/dr1ms~interencheres-auction-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-dr1ms-interencheres-auction-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"
        ],
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "lots",
              "results",
              "sales",
              "organizations",
              "tracker"
            ],
            "type": "string",
            "description": "What to extract. `lots` = upcoming/current lots. `results` = SOLD lots with realized hammer prices (premium data). `sales` = auction sales calendar. `organizations` = auction houses directory. `tracker` = incremental scan of lots whose SALE DATE falls in the window since the last run (the window bound is persisted between runs).",
            "default": "results"
          },
          "query": {
            "title": "Search query",
            "type": "string",
            "description": "Full-text search keyword (e.g. `montre`, `Rolex`, `Peugeot 205`). Leave empty to scan the whole index."
          },
          "filters": {
            "title": "API filters",
            "type": "object",
            "description": "Typed pass-through filters, validated before any network call. Supported keys: `auctioned` (0/1), `sale` (id), `organization` (id), `area` (department number), `country` (e.g. FR), `category_leaves_ids` (id or list), `estimates_lower`/`estimates_upper` (EUR), `estimates_range` (\"min,max\"), `datetime_range` (\"fromISO,toISO\"), `location` ({\"lat\",\"lon\",\"distance\":\"50km\"}), `live_is_on_air`/`live_has_started`/`live_limited`/`highlight`/`sale_states_canceled` (0/1)."
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Maximum number of items to push to the dataset. 0 = everything available (the run is always bounded by the real total reported by the API).",
            "default": 100
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 8,
            "type": "integer",
            "description": "Simultaneous API requests. The measured safe pace is 3-5 req/s; raising this above 5 is rarely useful.",
            "default": 4
          },
          "maxRequestRetries": {
            "title": "Max retries per request",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Retries with exponential backoff on network errors, 429 and 5xx.",
            "default": 4
          },
          "locale": {
            "title": "Locale",
            "enum": [
              "fr-FR",
              "en-US"
            ],
            "type": "string",
            "description": "API locale. Must be a full tag (`fr-FR` or `en-US`) — the short form `fr` is rejected by the API. Titles and descriptions are returned in BOTH languages regardless.",
            "default": "fr-FR"
          },
          "pastSales": {
            "title": "Past sales (results history)",
            "type": "boolean",
            "description": "In `sales` mode only: query the history of ENDED sales with their results PDF (23k+ sales) instead of the upcoming sales calendar.",
            "default": false
          },
          "trackerSince": {
            "title": "Tracker: start of window",
            "type": "string",
            "description": "In `tracker` mode only: ISO 8601 lower bound of the scan window (e.g. `2026-06-10T00:00:00Z`). If empty, the bound persisted by the previous tracker run is used (default window: last 24h)."
          },
          "enrichOrganizations": {
            "title": "Enrich auction houses (SIREN/NAF)",
            "type": "boolean",
            "description": "Premium: fuzzy-match each auction house against the official French companies registry (recherche-entreprises.api.gouv.fr) and add `siren`, `nafCode`, `companyCategory`. No-match is tolerated and never blocks the run.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Apify proxy is required on the platform: Cloudflare rejects direct connections from Apify datacenter IPs. Defaults to Apify proxy automatically when left empty. Switch to RESIDENTIAL (FR) groups only if datacenter IPs start getting blocked."
          },
          "enableTelemetry": {
            "title": "Operator telemetry (logs only)",
            "type": "boolean",
            "description": "Prints an end-of-run cost/efficiency report in the run log. Nothing is ever sent to any external service — disabled by default.",
            "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}