# EDQM Certificates of Suitability (CEP) Scraper (`viktorov_aa/edqm-cep-certificates`) Actor

Export the official EDQM CEP database: substance, holder, country, status and dates. Filter the daily file. Commercial reuse needs attribution. No API key.

- **URL**: https://apify.com/viktorov_aa/edqm-cep-certificates.md
- **Developed by:** [Andrey Viktorov](https://apify.com/viktorov_aa) (community)
- **Categories:** Other, Lead generation
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.70 / 1,000 certificates

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/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

## EDQM Certificates of Suitability (CEP) Scraper

Export the EDQM Certification Online Database, the public list of Certificates of Suitability (CEP) to the monographs of the European Pharmacopoeia. The Actor downloads the [official daily text file](https://extranet.edqm.eu/publications/recherches_CEP.shtml) and returns one row per certificate: substance, CEP type, holder, country, CEP number, status and the issue, renewal, end and closure dates. You can filter by substance, holder, country, status and issue date.

No API key and no login. Every row carries the credit and disclaimer that EDQM asks for.

### What does it do?

- Substance, CEP type (for example Chemical) and monograph number.
- Holder name and a two-letter country code taken from the holder cell.
- CEP number with its revision and the status (Valid, Expired, Suspended, Withdrawn and so on).
- Issue, renewal-due, end and closure dates, both in ISO form and as EDQM printed them (`*Text` fields).
- A `source` field with the credit and the disclaimer.

### Why use it

A CEP is how many active-substance manufacturers show that their substance meets the European Pharmacopoeia. Buyers and regulatory teams look up who holds a valid CEP for a substance. The EDQM site is built for single searches, while the daily file has about 9,600 rows. A filtered dataset gives you a supplier shortlist, and monitor mode tells you when a certificate changes.

### Who is it for

- **Pharma sourcing and supplier-qualification teams:** shortlist holders of valid CEPs for one substance, such as paracetamol or metformin.
- **Regulatory and quality teams:** check whether a supplier certificate is still valid, suspended or withdrawn.
- **Market analysts:** count certificates by country or holder.
- **Data teams:** keep a clean daily copy of the database.

### How to use it

1. Open the Actor and keep the prefill (25 valid certificates), or enter a `substance` such as `paracetamol`, a `country` code such as `IN`, or both.
2. Click **Start**. The prefilled input is a real, small example, so the first run finishes in seconds.
3. Open the **Output** tab and view the table, or download the dataset as CSV, Excel, JSON or HTML. To use the data in other tools, see the integrations below.

### Input

| Field | What it does |
| --- | --- |
| `substance` | Keep certificates whose substance contains this text. |
| `holder` | Keep certificates whose holder name contains this text. |
| `country` | Two-letter code taken from the end of the holder name. |
| `status` | Case-insensitive match inside the EDQM status. `Valid` keeps valid certificates. `Suspended` keeps every suspended status. Empty keeps all. |
| `dateFrom` / `dateTo` | Inclusive bounds on the issue date, `YYYY-MM-DD`. |
| `maxRecords` | Cap after filters, newest issue date first. Prefill is 25. Default is 1000. The daily file has about 9,600 rows. If the cap or the run's cost limit cuts the result, `SUMMARY` and the run log say so. |
| `onlyNew` | When true, skip certificates already stored for this same filter. The first run keeps the matches and records a fingerprint of number, status and dates, so a later status change is treated as new. State lives in the named key-value store `monitor`. |
| `fileUrl` | Optional. Pin the text file. Leave empty to discover the current download link. |

The form prefill keeps 25 valid certificates.

Example input:

```json
{
  "status": "Valid",
  "country": "IN",
  "maxRecords": 25
}
```

### Output

One dataset row per result. This is a real row from one of our runs:

```json
{
  "monographNumber": 49,
  "substance": "Paracetamol",
  "cepType": "Chemical",
  "holder": "SRI KRISHNA PHARMACEUTICALS LIMITED Hyderabad IN",
  "country": "IN",
  "holderSporId": "100015104 / 100023787",
  "cepNumber": "CEP 2000-144 - Rev 07",
  "issueDate": "2026-08-05",
  "issueDateText": "05/08/2026",
  "status": "Valid",
  "renewalDue": null,
  "renewalDueText": null,
  "endDate": null,
  "endDateText": null,
  "closureDate": "2026-08-05",
  "closureDateText": "05/08/2026",
  "source": "EDQM Certification Online Database (https://extranet.edqm.eu/publications/recherches_CEP.shtml). Credit: EDQM / Council of Europe. The EDQM/Council of Europe bears no liability for any consequence arising from this use.",
  "sourceUrl": "https://extranet.edqm.eu/4DLink1/4DCGI/EXPORT_WEB_CEP.txt"
}
```

All output fields:

| Field | What it contains |
| --- | --- |
| `substance` | Substance name as published by EDQM. |
| `cepNumber` | Certificate number, including the revision. |
| `holder` | Certificate holder, including the country code. |
| `country` | Two-letter code taken from the end of the holder name. |
| `status` | EDQM status, for example Valid or Withdrawn by Holder. |
| `cepType` | Chemical, TSE, Chemical and TSE, or Herbal. |
| `issueDate` | Issue date as YYYY-MM-DD. |
| `renewalDue` | Renewal due date as YYYY-MM-DD. |
| `endDate` | End date as YYYY-MM-DD. |
| `monographNumber` | Monograph number. |
| `holderSporId` | Holder SPOR ORG-ID / SPOR LOC-ID when published. |
| `source` | EDQM attribution and the liability disclaimer. |
| `sourceUrl` | Text file URL that was read. |
| `error` | Reason on error rows. |

### How much does it cost?

You pay per result, not for compute time. The Actor uses pay-per-event pricing with the event **`certificate`**: $0.001 for each certificate that is stored in the dataset. Failed or error rows are not charged. On top of that, every run is charged a tiny start fee of $0.00005 per start event. Apify counts the events by the memory of the run, so a small run is one event and a memory-heavy run is a few.

| Run size | Calculation | Cost for results |
| --- | --- | --- |
| The prefill | 25 × $0.001 | $0.025 |
| Valid certificates for one substance | 50 × $0.001 | $0.05 |
| The default cap | 1,000 × $0.001 | $1.00 |
| The whole daily file, about 9,600 rows | 9,600 × $0.001 | $9.60 |

Use `maxRecords` and a substance, holder, country or status filter to keep a run within budget. A run that cannot read the EDQM file fails before any charge. The exact prices, including the Apify platform fee, are shown on the Pricing tab of the Actor and apply to your plan. Apify's free plan includes monthly platform credits, so you can try a small run without paying. To cap spending, set **Maximum cost per run** in the run options. The Actor stops adding results when that limit is reached, and it says so: the run log gets a warning, the run status message starts with `INCOMPLETE`, and the `SUMMARY` record in the key-value store has `complete: false`, `matched`, `delivered`, `omitted` and the reason (`stoppedBy`).

#### Getting the whole file in one go

Rows are sent newest issue date first, so a run that hits the cost cap delivers the newest certificates and leaves out the oldest. Apify sets the cap for you when you do not: on a plan with limited monthly credit it equals the credit you have left, so the whole file ($9.60) does not fit into a Free plan run. Two ways to get everything: raise **Maximum cost per run** above $9.65, or split the download into several runs with `dateFrom` / `dateTo` (for example one run per period) and merge the datasets. Check `complete` in `SUMMARY` before you count anything: a partial file gives wrong shares by country, holder or year.

### Watch for new or changed certificates

1. Run the Actor once with your filter and `onlyNew` set to `true`. The first run stores the matches together with a fingerprint of number, status and dates.
2. Schedule the same input daily or weekly.
3. Later runs return only certificates that are new for that filter, and a later status change counts as new. State lives in the named key-value store `monitor`.

### Integrations

You can run this Actor from the Apify Console, on a schedule, or from your own code and tools. Results land in a standard Apify dataset, so every integration below reads the same rows.

#### API

Run the Actor and get the rows back in one HTTP call. Replace `<YOUR_APIFY_TOKEN>` with your token from Apify Console, Settings, Integrations:

```bash
curl -X POST "https://api.apify.com/v2/acts/viktorov_aa~edqm-cep-certificates/run-sync-get-dataset-items?token=<YOUR_APIFY_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{"status": "Valid", "country": "IN", "maxRecords": 25}'
```

The synchronous endpoint waits for the run to finish and Apify limits it to 5 minutes. For bigger runs, start the Actor with `POST /v2/acts/viktorov_aa~edqm-cep-certificates/runs`, then read the dataset when the run has finished (or let a webhook tell you).

Python, with the [Apify client](https://docs.apify.com/api/client/python):

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("viktorov_aa/edqm-cep-certificates").call(run_input={
    "status": "Valid",
    "country": "IN",
    "maxRecords": 25
})
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(row)
```

JavaScript, with the [Apify client](https://docs.apify.com/api/client/js):

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });
const run = await client.actor('viktorov_aa/edqm-cep-certificates').call({
    "status": "Valid",
    "country": "IN",
    "maxRecords": 25
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

#### AI agents and MCP

The Actor works as a tool for AI agents through the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp). Point an MCP client that supports remote servers at this URL, sign in with your Apify account, and the agent can call the Actor with the input fields above:

```text
https://mcp.apify.com?tools=viktorov_aa/edqm-cep-certificates
```

Ask the agent in plain language, for example: "Use EDQM Certificates of Suitability (CEP) Scraper with my filter and summarize the rows." The agent sees the input schema and the output fields, so it fills the fields for you.

#### Make, Zapier, n8n and Google Sheets

Apify has official apps for Make, Zapier and n8n. In each one, choose the action that runs an Actor, select `viktorov_aa/edqm-cep-certificates`, paste the input JSON, then map the dataset items to the next step. The Apify integration for Google Sheets can send a finished dataset to a spreadsheet. Webhooks on the Actor let you start your own process as soon as a run succeeds, and Apify schedules start it daily or weekly with no code.

### FAQ

#### Is it allowed to reuse the EDQM data?

EDQM allows the information to be used, including commercially, when three conditions are met: credit the database, do not alter or distort the information, and add the disclaimer that EDQM/Council of Europe bears no liability. Every row has the credit and disclaimer in `source`. Check the conditions yourself for your use case.

#### How fresh is the data?

EDQM refreshes the file daily, and the Actor reads it once per run. Statuses can change between runs, so schedule a run if you need to track them.

#### How is the country determined?

It is the two-letter code at the end of the holder cell (IN, CN, US, DE and so on). It is derived, not a separate EDQM column.

#### Why are there two date fields?

The ISO fields are a convenience. The `*Text` fields keep the date exactly as EDQM printed it, and they are the reference if the two ever differ.

#### What does the `status` filter match?

A case-insensitive match inside the EDQM status. `Valid` keeps valid certificates, and `Suspended` keeps every suspended status. Leave it empty to keep all.

#### Does it include the CEP dossier?

No. This is the public certificate directory, not the dossier.

#### Do I need a proxy or an API key?

No. The EDQM file answered without a proxy in our runs.

### Limitations

- The full file is published by EDQM and is refreshed daily. The Actor reads that file once per run.
- Status values include Valid, Expired, Withdrawn by Holder, Suspended by Holder, and the EDQM withdrawal and suspension reasons for GMP or CEP procedure.
- This is the public certificate directory. It is not the CEP dossier itself.

### Source, attribution and disclaimer

EDQM allows this information to be used, including for commercial purposes, when three conditions are met: proper credit is given to the database, the original information is not altered or distorted, and the use is accompanied by the disclaimer that the EDQM/Council of Europe bears no liability for any consequence arising from that use.

Every output row carries that credit and disclaimer in the `source` field. Dates are also kept as EDQM printed them (`issueDateText` and the other `*Text` fields). The ISO fields are a convenience and do not replace the original text. Country is the two-letter code at the end of the holder cell (IN, CN, US, DE and so on). It is derived, not a separate EDQM column.

### More actors by the same author

Same publisher, same pay-per-result pricing, same no-login approach. Pick the ones that fit your workflow:

- [FDA Drug Master Files (DMF) Directory Scraper](https://apify.com/viktorov_aa/fda-drug-master-files-scraper) — the public DMF list: number, holder, type, status and subject.
- [FDA Paragraph IV Patent Certifications Scraper](https://apify.com/viktorov_aa/fda-paragraph-iv-scraper) — the Paragraph IV certifications list, with 180-day exclusivity status and first-filer dates.
- [FDA Guidance Documents Search Scraper](https://apify.com/viktorov_aa/fda-guidance-documents) — the FDA guidance catalog, final or draft, by center and topic.
- [FDA OPDP Untitled Letters Scraper](https://apify.com/viktorov_aa/fda-untitled-letters) — untitled letters on prescription-drug promotion, with company, product, date and letter PDF.
- [SEC No-Action and Interpretive Letters Scraper](https://apify.com/viktorov_aa/sec-no-action-letters) — SEC staff no-action, interpretive and exemptive letters by division, company and rule.

The full catalog with use-case pages is at [legion-factory.dev/actors](https://legion-factory.dev/actors/).

### Support

Found a problem, or need a field or a filter that is missing? Open an issue in the **Issues** tab of this Actor page. Publisher: [legion-factory.dev](https://legion-factory.dev/actors/).

# Actor input Schema

## `substance` (type: `string`):

Keep certificates whose substance contains this text, case-insensitive. Empty keeps every substance.

## `holder` (type: `string`):

Keep certificates whose holder name contains this text, case-insensitive. Empty keeps every holder.

## `country` (type: `string`):

Two-letter code at the end of the holder name, for example IN, CN, US or DE. Empty keeps every country.

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

Match inside the EDQM status. Valid keeps valid certificates. Suspended keeps every suspended status. Empty keeps all.

## `dateFrom` (type: `string`):

Keep certificates issued on or after this day.

## `dateTo` (type: `string`):

Keep certificates issued on or before this day.

## `maxRecords` (type: `integer`):

Cap after filters, newest issue date first. The prefill is 25. The default when omitted is 1000. The daily file has about 9,600 rows. A run also stops when its maximum cost per run is reached; the log and SUMMARY then say INCOMPLETE.

## `onlyNew` (type: `boolean`):

When true, skip certificates already stored for this same filter in the named key-value store monitor. The first run stores the matches. Error rows are not recorded.

## `fileUrl` (type: `string`):

Override discovery of the daily EXPORT_WEB_CEP.txt link. Leave empty to use the current file.

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

The official source answers without a proxy. Turn on Apify Proxy only if a run is blocked.

## Actor input object example

```json
{
  "substance": "",
  "holder": "",
  "country": "",
  "status": "Valid",
  "dateFrom": "",
  "dateTo": "",
  "maxRecords": 25,
  "onlyNew": false,
  "fileUrl": "",
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

Default dataset in the overview table: substance, number, holder, country, status, type and issue date.

# 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 = {
    "substance": "",
    "holder": "",
    "country": "",
    "status": "Valid",
    "dateFrom": "",
    "dateTo": "",
    "maxRecords": 25,
    "onlyNew": false,
    "fileUrl": "",
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("viktorov_aa/edqm-cep-certificates").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 = {
    "substance": "",
    "holder": "",
    "country": "",
    "status": "Valid",
    "dateFrom": "",
    "dateTo": "",
    "maxRecords": 25,
    "onlyNew": False,
    "fileUrl": "",
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("viktorov_aa/edqm-cep-certificates").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 '{
  "substance": "",
  "holder": "",
  "country": "",
  "status": "Valid",
  "dateFrom": "",
  "dateTo": "",
  "maxRecords": 25,
  "onlyNew": false,
  "fileUrl": "",
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call viktorov_aa/edqm-cep-certificates --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,viktorov_aa/edqm-cep-certificates"
        }
    }
}
```

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/rUfaeehnLa4zr8hZf/builds/ITjdBQBRdxuBAt8K0/openapi.json
