Spain AEMPS Medicines Registry (CIMA)
Pricing
from $13.40 / 1,000 registry records
Spain AEMPS Medicines Registry (CIMA)
One record per authorized medicine from the official CIMA REST API — national code, name, laboratory, authorization status; presentation/route/document links passed through only when present, never invented.
Pricing
from $13.40 / 1,000 registry records
Rating
0.0
(0)
Developer
NexGen Watch
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
2 days ago
Last modified
Categories
Share
🔔 Spain AEMPS Medicines Registry (CIMA)
One record per authorized medicine from the official CIMA REST API — national code, name, laboratory, authorization status; presentation/route/document links passed through only when present, never invented.
Public, robots-honoured, keyless.
Output is one es_medicine_record row per result; billing is pay-per-event, the value event being one registry record (a $0.02 start fee per run, then $0.02 per registry record). Source: cima.aemps.es.
No login, no API key and no CAPTCHA solving are involved: the source is read logged-out with an identified contact User-Agent.
📊 Sample Output
Real rows from run goieb8YaW7shdvNro on build 0.1.6 (2026-09-18), the same input as the Quick start below — every value is as the source published it (emails masked, long text shortened):
| lab_holder | lab_marketer | authorization_status | authorization_status_ts | prescription_note | pharma_form |
|---|---|---|---|---|---|
| Laboratorio Stada S.L. | Laboratorio Stada S.L. | autorizado | -118458000000 | Medicamento Sujeto A Prescripción Médica. Tratamiento De Larga Duració | COMPRIMIDO |
| Laboratorio Stada S.L. | Laboratorio Stada S.L. | autorizado | -118458000000 | Sin Receta | COMPRIMIDO |
| Reddy Pharma Iberia S.A. | Reddy Pharma Iberia S.A. | autorizado | 1466978400000 | Diagnóstico Hospitalario | COMPRIMIDO RECUBIERTO CON PELÍCULA |
| Glenmark Arzneimittel Gmbh | Glenmark Farmaceutica S.L.U | autorizado | 1510527600000 | Diagnóstico Hospitalario | COMPRIMIDO RECUBIERTO CON PELÍCULA |
| Kern Pharma S.L. | Kern Pharma S.L. | revocado | 1774518549000 | Diagnóstico Hospitalario | COMPRIMIDO RECUBIERTO CON PELÍCULA |
| Sandoz Farmaceutica S.A. | Sandoz Farmaceutica S.A. | revocado | 1699874550000 | Uso Hospitalario | COMPRIMIDO RECUBIERTO CON PELÍCULA |
| Laboratorio Stada S.L. | Laboratorio Stada S.L. | revocado | 1653318293000 | Uso Hospitalario | COMPRIMIDO RECUBIERTO CON PELÍCULA |
| Glenmark Arzneimittel Gmbh | Glenmark Farmaceutica S.L.U | autorizado | 1631031199000 | Diagnóstico Hospitalario | COMPRIMIDO RECUBIERTO CON PELÍCULA |
The run finished with the status message: NORMAL: 50 unique rows (0 duplicates collapsed). billable=50
✅ What you get
Each row is flat JSON with these fields (from the dataset schema and the sample run; a field the source does not publish for a given row is null):
record_type(string) — e.g.es_medicine_recordnational_code(string/null) — e.g.42991name(string/null) — e.g.A.A.S. 100 mg COMPRIMIDOSlab_holder(string/null) — e.g.Laboratorio Stada S.L.lab_marketer(string/null) — e.g.Laboratorio Stada S.L.authorization_status(string/null) — e.g.autorizadoauthorization_status_ts(number/null) — e.g.-118458000000marketed(boolean/null) — e.g.Trueprescription_required(boolean/null) — e.g.Trueprescription_note(string/null) — e.g.Medicamento Sujeto A Prescripción Médica. Tratamiento De Larga Duracióngeneric(boolean/null) — e.g.Falseorphan(boolean/null) — e.g.Falsebiosimilar(boolean/null) — e.g.Falseadditional_monitoring(boolean/null) — e.g.Falsepharma_form(string/null) — e.g.COMPRIMIDOroutes(array/null) — e.g.["VÍA ORAL"]document_links(array/null) — e.g.["https://cima.aemps.es/cima/pdfs/ft/42991/FT_42991.pdf", "https://cima.aemps.essource(string/null) — e.g.spain-aemps-medicines-registryrelease_date(string/null) — null in every sample rowsource_url(string/null) — e.g.https://cima.aemps.es/cima/rest/medicamentosobserved_at(string/null) — e.g.2026-09-18T06:17:31Zterminal(string/integer/null) — null in every sample rowreported_total(string/integer/null) — null in every sample rowraw_seen(string/integer/null) — null in every sample rowduplicates(string/integer/null) — null in every sample rowunique_found(string/integer/null) — null in every sample rowdelivered(string/integer/null) — null in every sample rowscope(string/integer/null) — null in every sample rownote(string/integer/null) — null in every sample row
What you get
One registry_record per entity, deduplicated on the source-native id. Fields the source does not publish are honest null. A run_receipt row carries the source URL, scope, reconciliation counts, and delivered/duplicate totals.
⚙️ Sample inputs
1. Quick start — the Store example (this is what the sample above came from)
{"maxRecords": 50,"maxPages": 5}
The sample run charged exactly: 1 × $0.02 apify-actor-start + 50 × $0.02 registry_record = $1.02 on the Free tier — every delivered row was billed.
2. A smaller, narrowed run
{"maxRecords": 5,"maxPages": 5}
Caps the run at 5 rows — about $0.12 on the Free tier ($0.02 start + 5 × $0.02).
3. A full-size run
{"maxRecords": 2000,"maxPages": 5}
Up to 2000 rows (the schema default for maxRecords) — about $40.02 on the Free tier ($0.02 start + 2000 × $0.02) if the source has that many.
🧾 JSON sample record
One real record from run goieb8YaW7shdvNro, exactly as it lands in the dataset (emails masked, long text shortened):
{"record_type": "es_medicine_record","national_code": "42991","name": "A.A.S. 100 mg COMPRIMIDOS","lab_holder": "Laboratorio Stada S.L.","lab_marketer": "Laboratorio Stada S.L.","authorization_status": "autorizado","authorization_status_ts": -118458000000,"marketed": true,"prescription_required": true,"prescription_note": "Medicamento Sujeto A Prescripción Médica. Tratamiento De Larga Duración","generic": false,"orphan": false,"biosimilar": false,"additional_monitoring": false,"pharma_form": "COMPRIMIDO","routes": ["VÍA ORAL"],"document_links": ["https://cima.aemps.es/cima/pdfs/ft/42991/FT_42991.pdf","https://cima.aemps.es/cima/pdfs/p/42991/P_42991.pdf"],"source": "spain-aemps-medicines-registry","release_date": null,"source_url": "https://cima.aemps.es/cima/rest/medicamentos","observed_at": "2026-09-18T06:17:31Z"}
🔧 How it works
Transport. Plain HTTPS from the Apify platform, no proxy. robots.txt is read first and a disallowed path is never fetched. Every request carries an identified contact User-Agent.
Charging. Each registry record is charged at the moment it is pushed (registry_record); a row that fails to charge is not delivered, so the dataset count always equals the charged count.
How it behaves
Pages of the CIMA medicamentos endpoint are pulled to maxRecords/maxPages; the server totalFilas is reconciled against emitted national codes. A first-page failure charges nothing.
Source
https://cima.aemps.es/cima/rest/medicamentos
What is not done. No login, no cookie or CAPTCHA bypass, no private or personal-account data, no browser automation.
💰 Pricing example
| Event | Free | Bronze | Silver | Gold |
|---|---|---|---|---|
Actor Start (apify-actor-start) | $0.02 | $0.02 | $0.02 | $0.02 |
Registry record (registry_record) | $0.02 | $0.02 | $0.02 | $0.01 |
Worked at the live Free-tier price:
- 8 registry records: $0.02 start + 8 × $0.02 = $0.18
- 25 registry records: $0.02 start + 25 × $0.02 = $0.52
- 2000 registry records: $0.02 start + 2000 × $0.02 = $40.02
A run that delivers zero rows charges the $0.02 start fee only. A BLOCKED run (source refused) fails loud and charges no value event. The start fee is charged once per GB of run memory; the default run memory is 4096 MB.
Yield on the sample run: NORMAL: 50 unique rows (0 duplicates collapsed). billable=50. maxRecords is a hard ceiling on what is delivered and billed, never a target.
⚖️ Legal & ToS
This actor reads public, logged-out pages and feeds published by cima.aemps.es. It collects only what the source publishes to any visitor, keeps to the source's robots rules (checked on every run), identifies itself with a contact User-Agent, and does not access accounts, private data or anything behind authentication. Use the output in line with the source's terms and your local law; the intended use is B2B research and monitoring.
❓ FAQ
Q: Do I need an API key or a login?
A: No. The source (cima.aemps.es) is read logged-out; the input schema has no key field and the actor carries no secrets.
Q: Why did my run return 0 rows?
A: Read the run's status message. GENUINE_EMPTY means the source was read and had nothing in scope for your input; BLOCKED means the source refused and the run failed without billing a value event — retry later or narrow the input. A zero-row run bills the start fee only.
Q: How many rows can one run return?
A: Up to maxRecords (default 2000). Raise the cap for a bigger run; you pay per delivered row.
Q: How fresh is the data?
A: Every run reads the source live at run time; nothing is cached between runs. Put it on a schedule for a continuous feed.
Q: What formats can I export?
A: The dataset downloads as JSON, CSV, Excel, XML or RSS from the run's Dataset tab or the Apify API, and any run can push to a webhook or integration.
Q: How is this different from the other NexGen Watch actors actors?
A: Same output shape and billing model; this one covers cima.aemps.es. The siblings under Related Actors cover the other sources or slices — run several on one schedule for a combined feed.
Q: Are there rate limits?
A: The actor paces itself against the source and honours its robots rules; there is no per-buyer limit beyond your Apify plan's concurrency.
🆘 Troubleshooting
- Run FAILED with BLOCKED → the source refused the request or changed its page shape → nothing was billed beyond the start fee; retry after a while, and if it persists open an Issue with the run id.
- Status says CAPPED → your cap (
maxRecords) was reached → raise it for a bigger run. - Input validation error on start → a field is outside the schema's allowed values → start from the Quick start block and change one field at a time.
- Run TIMED-OUT → a very wide request on a slow day → raise the run timeout in Run options or narrow the input; what was delivered before the timeout is still in the dataset.
🔗 Related Actors
- NYC DCWP Business Licence Registry — One structured registryrecord per record from the NYC Open Data DCWP licences resource (Socrata w7w3-xahh, ~69,885 rows). Public, logged-out, robots-…
- Poland KRS Company Registry — One structured registryrecord per record from the keyless api-krs.ms.gov.pl current-extract JSON (OdpisAktualny), logged-out. Public, logged-out, rob…
- Slovakia Public-Sector Partners Register — Slovakia Public-Sector Partners Register
- Spain BORME Company Acts — One structured registryrecord per record from the boe.es open-data BORME daily summary (JSON) → per-province section XML chain, logged-out. Public, l…
- Spain CNMC Numbering Assignments — One structured registryrecord per record from the official public source, logged-out. Public, robots-honoured, keyless
- UK Licensed Sponsor Register (Workers) — One structured sponsorrecord per row of the Home Office official versioned CSV of every organisation licensed to sponsor Worker and Temporary Worker…
- 🏢 About NexGenData — NexGen Watch is NexGenData's fleet of 256 public monitoring and lookup actors built on official sources, pay-per-result. Browse the catalog at apify.com/nexgenwatch.
⭐ Found this useful?
If this actor saved you a manual check, a quick review on the Apify Store helps other teams find it. Feature request or a source that changed? Open it from the Issues tab — every one is read.
