# CarroYa Colombia Scraper API: carros, precios y anuncios (`latinamericadata/carroya-colombia`) Actor

Extrae anuncios de CarroYa Colombia: precios en COP, marca, modelo, año, kilometraje y ubicación publicados. Paginación y exportación API, JSON, CSV o Excel.

- **URL**: https://apify.com/latinamericadata/carroya-colombia.md
- **Developed by:** [Latin America Data](https://apify.com/latinamericadata) (community)
- **Categories:** E-commerce
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.50 / 1,000 anuncios únicos entregados

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

## CarroYa Colombia Scraper API: carros, precios y anuncios

[CarroYa Colombia](https://www.carroya.com)

API pública de búsqueda `find-filters` del dominio oficial de servicios CarroYa. Valida la palabra consultada, página y totales; recorre los grupos destacados y novedades de la misma página y deduplica anuncios globalmente.

### Ejemplo

```json
{"term": "renault", "maxItems": 3}
```

### Datos y límites

Una fila por vehículo publicado: ID, marca, modelo, versión, año, kilómetros, transmisión, combustible, color, ciudad/departamento, condición anunciada, imagen y precio en COP. No sustituye el precio por una cuota de crédito. El estado vendido se conserva tal como lo informa la fuente; no se promete stock ni vigencia independiente. No entrega nombres de particulares, teléfonos, correos, placas ni comentarios libres. Algunos anuncios antiguos tienen enlaces de detalle mal formados: `detail_url` queda vacío, `source_detail_link_valid` es false y `source_url` apunta a la página real de búsqueda que contiene el anuncio; nunca se inventa un enlace de detalle. Anuncios sin precio verificable no se cobran. Los totales de la fuente pueden incluir destacados repetidos o anuncios sin precio.

### Búsqueda

Usa una palabra, marca o modelo en `term`, por ejemplo `renault` o `porsche`. `searchTerms` sustituye la búsqueda individual y deduplica globalmente; mayúsculas/minúsculas mantienen el mismo criterio de búsqueda. Se validan los parámetros que devuelve la fuente para evitar resultados de una consulta diferente.

### Ejecución y precio

Sin `maxItems` ni `maxPages` no hay un tope oculto de resultados. El tiempo predeterminado es 240 segundos, configurable hasta 7200, además del presupuesto de gasto de Apify. Entrega resultados únicos por página o lotes de hasta 100. Si falla una página posterior, conserva las anteriores con estado `partial`. `startPage` permite retomar la paginación. Proxies y recuperación automáticos, sin configuración técnica del cliente. USD 0.0025 por resultado real único entregado, más consumo de plataforma a cargo del usuario. No cobra resúmenes, errores, duplicados ni búsquedas vacías.

`RUN_SUMMARY` informa `success`, `no_results`, `partial`, `blocked` o `failed`, junto con paginación y rendimiento. Los campos no publicados quedan vacíos. Exporta JSON, CSV o Excel y ejecuta por la API de Apify. Herramienta independiente, sin afiliación oficial con la marca.

# Actor input Schema

## `term` (type: `string`):

Palabra, marca o modelo, por ejemplo renault. Busca en el catálogo público de vehículos, sin cuentas del cliente.

## `searchTerms` (type: `array`):

Sustituye la búsqueda individual. La deduplicación es global.

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

Opcional. Sin este valor no hay un límite fijo oculto de resultados.

## `maxPages` (type: `integer`):

Opcional. Sin este valor sigue todas las páginas disponibles.

## `startPage` (type: `integer`):

Primera página de la fuente.

## `maxRuntimeSecs` (type: `integer`):

Presupuesto de tiempo independiente de la cantidad de resultados.

## `requestTimeoutSecs` (type: `integer`):

Tiempo máximo por respuesta de la fuente.

## Actor input object example

```json
{
  "term": "renault",
  "startPage": 1,
  "maxRuntimeSecs": 240,
  "requestTimeoutSecs": 30
}
```

# Actor output Schema

## `summary` (type: `string`):

No description

## `diagnostics` (type: `string`):

No description

## `listings` (type: `string`):

No description

# 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("latinamericadata/carroya-colombia").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("latinamericadata/carroya-colombia").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 latinamericadata/carroya-colombia --silent --output-dataset

```

## MCP server setup

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

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/jlqfi2YMO7776T7wJ/builds/2RV4GvqWSP81kiHqJ/openapi.json
