# Colombia New Companies Feed - Nuevas Empresas S.A.S. (RUES) (`moment-data/colombia-new-companies-feed`) Actor

New and cancelled Colombian companies (S.A.S., Ltda., S.A., non-profits) from the official RUES open data by Confecámaras: NIT, name, legal form, chamber, CIIU sector, dates. Entity-only, filterable.

- **URL**: https://apify.com/moment-data/colombia-new-companies-feed.md
- **Developed by:** [Luke Miller](https://apify.com/moment-data) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 company records

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

## Colombia New Companies Feed - Nuevas Empresas S.A.S. (RUES)

Get **newly registered Colombian companies** - S.A.S., Ltda., S.A., foreign branches, cooperatives and non-profits (ESAL) - plus **cancellations**, from the official **RUES open-data extract published by Confecámaras** on datos.gov.co (CC BY-SA 4.0). No API key, no login, no scraping of RUES search pages.

Each record has the company name, **NIT** (with check digit, when assigned), registration number (matrícula), **chamber of commerce**, legal form, status, **CIIU Rev.4 activity codes + sector**, registration / renewal / cancellation dates. Around **450 new legal entities per working day** (~9,500 per month) and ~70 cancellations per working day.

> **Español:** Listado de **nuevas empresas y sociedades en Colombia** (S.A.S., Ltda., S.A., ESAL) y **cancelaciones**, desde los datos abiertos oficiales del RUES (Confecámaras, datos.gov.co): NIT, razón social, cámara de comercio, tipo de organización, código CIIU y fechas. Ver la [sección en español](#español).

### Who uses it

- **B2B sales & agencies**: reach companies in their first weeks - accountants (contadores), banks, insurers, software, payroll, POS / payments, logistics, marketing.
- **Fintech, KYB & credit**: fresh NITs for onboarding; cancellations to clean customer and supplier lists.
- **Researchers & journalists**: monthly formation and closure counts by city, sector or legal form.

### Freshness - read this first

Confecámaras refreshes this open-data extract **about monthly** (latest extract: 2 October 2026, containing registrations up to that day). This is a **monthly feed**, not same-day. Every record carries `dataUpdatedAt` so you know which extract was used.

### Quick start

- **Default (`{}`)**: the latest 7 days of the newest extract, newest first, 30 records.
- **New software/ICT companies in Bogotá, last 30 days**:

```json
{ "eventTypes": ["newRegistration"], "chambers": ["Bogotá"], "ciiuSections": ["J"], "daysBack": 30, "maxItems": 300 }
```

- **Monthly schedule, only records you have not received yet** (named key-value store `colombia-new-companies-feed-state`):

```json
{ "mode": "sinceLastRun", "stateKey": "antioquia-construction", "chambers": ["Medellín", "Aburrá Sur"], "ciiuSections": ["F"], "maxItems": 1000 }
```

- **Cancelled S.A.S. in a fixed month**: `{ "eventTypes": ["cancellation"], "legalForms": ["sas"], "fromDate": "2026-09-01", "toDate": "2026-09-30", "maxItems": 5000 }`

### Input

| Field | Description |
|---|---|
| `mode` | `window` (stateless, default) or `sinceLastRun` |
| `eventTypes` | `newRegistration`, `cancellation` (empty = both; same-day ties list new registrations first) |
| `daysBack` | Window ending on the newest registration date in the extract (default 7; 45 in sinceLastRun) |
| `fromDate` / `toDate` | Fixed event-date range |
| `legalForms` | `sas`, `ltda`, `sa`, `partnership`, `foreign`, `cooperative`, `nonprofit`, `other` |
| `chambers` | Chamber of commerce names or codes (Bogotá, Medellín, Cali, Barranquilla, Aburrá Sur, 04...) |
| `ciiuSections` / `ciiuPrefixes` | CIIU Rev.4 section letters (A-U) or code prefixes (62, 4111, 5611) |
| `keywords` / `excludeKeywords` | Words in the name or acronym (accent-insensitive) |
| `maxItems` | Max records (default 30) - each is one billed event |
| `stateKey` | Separate memory per saved search in sinceLastRun mode |

### Output example

```json
{
  "eventType": "newRegistration",
  "eventDate": "2026-10-02",
  "companyName": "VAISETT S.A.S.",
  "acronym": null,
  "nit": null,
  "registrationNumber": "85952112",
  "chamberCode": "21",
  "chamber": "Medellín para Antioquia",
  "legalFormKey": "sas",
  "legalForm": "Sociedad por Acciones Simplificada",
  "legalFormEn": "Simplified stock company (S.A.S.)",
  "companyType": "Sociedad Comercial",
  "status": "Activa",
  "registrationDate": "2026-10-02",
  "cancellationDate": null,
  "lastRenewalDate": "2026-10-02",
  "lastRenewedYear": 2026,
  "ciiuPrimary": "7490",
  "ciiuSecondary": "8559",
  "sectionCode": "M",
  "sectionName": "Professional, scientific & technical",
  "sectionNameEs": "Actividades profesionales, científicas y técnicas",
  "registry": "Registro Único Empresarial y Social (RUES) - Confecámaras",
  "dataUpdatedAt": "2026-10-02T21:41:49.000Z",
  "attribution": "Fuente / Source: Registro Único Empresarial y Social (RUES) - Confecámaras, \"Personas Natu ...",
  "retrievedAt": "2026-11-02T06:14:06.713Z"
}
```

A run summary (window, extract date, counts by event type, legal form and chamber, filtered-out counts) is saved as `OUTPUT` in the key-value store.

### Pricing

Pay only for what you get (pay-per-event):

| Event | Price | Charged |
|---|---|---|
| Actor start | $0.005 | Once per run |
| Company record | $0.003 | Per new registration or cancellation delivered |

The default run (30 records) costs about **$0.095**. A monthly Bogotá ICT watch (~150 companies) costs about **$0.46 per month**. No separate platform-usage charges. Set a maximum cost per run and the Actor stops before exceeding it.

### Data source, licence & privacy

- Source: [Personas Naturales, Personas Jurídicas y Entidades Sin Ánimo de Lucro - datos.gov.co](https://www.datos.gov.co/d/c82u-588k), published by Confecámaras from the Registro Único Empresarial y Social (RUES). Licence: **CC BY-SA 4.0** - every record carries the attribution; if you republish the data, keep the attribution and share it under the same licence.
- Polite access via the public Socrata open-data endpoint (1 request/second, declared user agent).
- **Legal entities only.** The source also lists natural persons (merchants) with names and ID numbers: this Actor **never requests those columns**, filters out *personas naturales* and *empresas unipersonales* on the server side, and drops companies whose name contains a person's name (e.g. "Inversiones Juan Pérez S.A.S."). No legal representatives, addresses, phones or emails are output.
- Not affiliated with or endorsed by Confecámaras or the Government of Colombia.

### Tips & FAQ

- **Why is the NIT empty for some new companies?** The DIAN had not assigned/synchronised the NIT when the extract was produced.
- **City vs chamber**: the extract gives the chamber of commerce (e.g. "Medellín para Antioquia", "Aburrá Sur"), not the municipality.
- **Speed**: typical runs take 3-10 seconds.

***

### Español

**Nuevas empresas de Colombia y cancelaciones** desde el extracto de datos abiertos del RUES publicado por Confecámaras en datos.gov.co (licencia CC BY-SA 4.0).

- **Qué entrega**: razón social, sigla, NIT con dígito de verificación, matrícula, cámara de comercio, organización jurídica, estado, códigos CIIU y sector, fechas de matrícula, renovación y cancelación.
- **Actualización**: Confecámaras actualiza el extracto **mensualmente**; cada registro incluye `dataUpdatedAt`.
- **Uso típico**: prospección B2B (contadores, bancos, seguros, software, nómina), KYB/fintech, depuración de bases con cancelaciones, estudios de emprendimiento.
- **Filtros**: tipo de evento, organización jurídica (S.A.S., Ltda., S.A., ESAL...), cámara de comercio, sección o código CIIU, palabras clave, rango de fechas; modo `sinceLastRun` para recibir solo registros nuevos.
- **Privacidad**: solo personas jurídicas. Nunca se consultan los nombres ni documentos de personas naturales ni representantes legales; se excluyen personas naturales, empresas unipersonales y sociedades cuya razón social contiene el nombre de una persona.
- **Precio**: $0,005 USD por ejecución + $0,003 USD por registro entregado (ejecución por defecto, 30 registros: ~$0,095 USD). Sin cargos adicionales por uso de plataforma.

Ejemplo - nuevas empresas de tecnología en Bogotá (últimos 30 días):

```json
{ "eventTypes": ["newRegistration"], "chambers": ["Bogotá"], "ciiuSections": ["J"], "daysBack": 30 }
```

Fuente: RUES - Confecámaras, datos.gov.co (CC BY-SA 4.0). Actor no afiliado a Confecámaras ni al Gobierno de Colombia.

# Actor input Schema

## `mode` (type: `string`):

Since last run remembers delivered records in a named key-value store, so scheduled runs only return new ones.

## `eventTypes` (type: `array`):

Empty = both.

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

Window length counted back from the newest registration date in the extract. Default 7 (window) or 45 (since last run).

## `fromDate` (type: `string`):

Optional fixed range start (event date).

## `toDate` (type: `string`):

Optional fixed range end (event date).

## `legalForms` (type: `array`):

Empty = all legal entities. Natural persons and empresas unipersonales are never output.

## `chambers` (type: `array`):

City / chamber names or codes, e.g. Bogotá, Medellín, Cali, Barranquilla, Aburrá Sur, Bucaramanga, 04. Empty = all Colombia.

## `ciiuSections` (type: `array`):

CIIU Rev.4 section letters A-U, e.g. F (construction), J (ICT), I (hospitality), L (real estate).

## `ciiuPrefixes` (type: `array`):

Primary CIIU code prefixes, e.g. 62 (software), 4111 (residential construction), 5611 (restaurants).

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

Keep companies whose name or acronym contains any of these words (accent-insensitive).

## `excludeKeywords` (type: `array`):

Drop companies whose name contains any of these words.

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

Maximum records (newest first). Each record is one billed event.

## `stateKey` (type: `string`):

Separate memory per saved filter set in Since last run mode.

## Actor input object example

```json
{
  "mode": "window",
  "eventTypes": [],
  "legalForms": [],
  "chambers": [],
  "ciiuSections": [],
  "ciiuPrefixes": [],
  "keywords": [],
  "excludeKeywords": [],
  "maxItems": 30,
  "stateKey": "default"
}
```

# Actor output Schema

## `companies` (type: `string`):

One record per new registration or cancellation.

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

Window, extract date, counts by event type, legal form and chamber, notes.

# 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("moment-data/colombia-new-companies-feed").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("moment-data/colombia-new-companies-feed").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 moment-data/colombia-new-companies-feed --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,moment-data/colombia-new-companies-feed"
        }
    }
}
```

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/hUlSf0b4ocoHCz8CM/builds/pZgpbJ8tz0WzXpzzo/openapi.json
