# Colombia Mining Registry, RUCOM Traders & Royalties (ANM) (`churches2908/colombia-anm-mining-registry`) Actor

Verify 24,800+ RUCOM certified gold/emerald/coal mineral traders, query 37,700+ RMN mining titles, track 79,100+ official royalty & production filings, and fetch UPME mineral base prices from Colombia ANM.

- **URL**: https://apify.com/churches2908/colombia-anm-mining-registry.md
- **Developed by:** [Brayan Iglesias](https://apify.com/churches2908) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 anm mining 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 Mining Registry, RUCOM Traders & Royalties API (ANM / UPME)

Query, bulk-verify, and monitor **147,600+ official Colombian mining & commodities records** from the **Agencia Nacional de Minería (ANM)** and **UPME** (`datos.gov.co`) — covering **RUCOM certified gold/emerald/coal traders**, **RMN mining titles**, **mineral exploitation & royalty payments**, and **official UPME mineral base reference prices**.

Built for **precious-metal refineries, OECD responsible-sourcing / AML compliance teams, commodities analysts, mining law firms, ESG researchers, n8n/Make workflows, and AI agents (MCP)**.

***

### Covered Official ANM & UPME Datasets (147,600+ Live Records)

| Mode | Official Dataset (`datos.gov.co`) | Records |
| :--- | :--- | ---: |
| `rucom_search` / `rucom_bulk_verify` | ANM RUCOM Comercializadores/Consumidores Certificados (`xjzv-xx6n`) | 24,850+ |
| `mining_titles` | ANM Títulos Mineros — Anotaciones RMN (`si2v-pbq5`) | 37,760+ |
| `royalties_production` | ANM Volumen de Explotación y Pagos de Regalías (`r85m-vv6c`) | 79,150+ |
| `mineral_prices` | UPME Precios Base de Minerales para Regalías (`ni93-8mm5`) | 5,860+ |

***

### Example Inputs

#### 1. Bulk Verify Gold / Mineral Suppliers Against Official RUCOM Registry

```json
{
  "mode": "rucom_bulk_verify",
  "suppliersToVerify": ["RUCOM-2025061731337", "JULIO CESAR ALZATE GOMEZ"]
}
```

#### 2. Query Gold Production & Royalties Paid in Antioquia

```json
{
  "mode": "royalties_production",
  "mineral": "ORO",
  "department": "ANTIOQUIA",
  "maxResults": 100
}
```

#### 3. Latest Official UPME Mineral Reference Prices (2026)

```json
{
  "mode": "mineral_prices",
  "year": "2026",
  "maxResults": 50
}
```

***

### Pay-per-Event Pricing

Supports Apify **Pay-per-Event (`mining-record`)** billing with automatic `maxTotalChargeUsd` budget protection and zero proxy/CAPTCHA overhead.

# Actor input Schema

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

Choose which official Colombia ANM / UPME mining dataset workflow to execute.

## `query` (type: `string`):

Search trader/company name, RUCOM radicado, mining title observation, or mining project name.

## `mineral` (type: `string`):

Filter by mineral name (e.g., 'ORO', 'PLATINO', 'ESMERALDA', 'CARBON', 'NIQUEL', 'COBRE', 'CALIZA').

## `status` (type: `string`):

Filter RUCOM status (e.g., 'Certificado') or RMN title legal status (e.g., 'Activo', 'Terminado').

## `expedienteCode` (type: `string`):

Exact or partial RMN expediente code (e.g., 'ABQ-101').

## `modality` (type: `string`):

Filter by title modality (e.g., 'CONCESION', 'LICENCIA', 'AUTORIZACION').

## `department` (type: `string`):

Filter production/royalties by Colombian department (e.g., 'ANTIOQUIA', 'CESAR', 'LA GUAJIRA', 'CHOCO', 'BOYACA', 'BOLIVAR').

## `municipality` (type: `string`):

Filter production/royalties by municipality name (e.g., 'SEGOVIA', 'BURITICA', 'EL BAGRE').

## `year` (type: `string`):

Filter by year (e.g., '2026', '2025', '2024'). Leave empty for all years.

## `suppliersToVerify` (type: `array`):

List of up to 200 trader/company names or RUCOM radicado numbers (e.g., \['RUCOM-2025061731337', 'MINEROS S.A.']).

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

Maximum number of records to return (1 to 25,000).

## `socrataAppToken` (type: `string`):

Optional datos.gov.co Socrata App Token for very large extractions.

## Actor input object example

```json
{
  "mode": "rucom_search",
  "maxResults": 50
}
```

# Actor output Schema

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

Normalized RUCOM, mining title, royalty, or mineral price records.

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

Aggregate counts by record type, mineral, compliance verdict, and total COP royalties.

# 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 = {
    "maxResults": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("churches2908/colombia-anm-mining-registry").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 = { "maxResults": 50 }

# Run the Actor and wait for it to finish
run = client.actor("churches2908/colombia-anm-mining-registry").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 '{
  "maxResults": 50
}' |
apify call churches2908/colombia-anm-mining-registry --silent --output-dataset

```

## MCP server setup

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

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/2ORKJ9eTVNoEtLsHD/builds/8f3S15htYD0qG9FVf/openapi.json
