---
id: "es_bdns_code"
kind: "datatype"
status: "draft"
is_pii: false
name: "Spanish grant call code (BDNS)"
regexp: "^\\d{3,7}$"
categories: ["government", "finances"]
country: ["ES"]
langs: ["common"]
quality: 90
url: "https://registry.apicrafter.io/datatype/es_bdns_code"
---

# Spanish grant call code (BDNS) (`es_bdns_code`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

Number of a call for grants in the Spanish national database of grants (Base de Datos Nacional de Subvenciones, BDNS), where every public body must register its calls. It is a plain number given in order of registration, six digits in the current series (604968 for a call of January 2022); the first calls of 2014 have three digits. The number is the key of the page of the call (infosubvenciones.es/bdnstrans/GE/es/convocatorias/604968), and municipalities publish it in their tables of grants (Código BDNS).

- Parent datatype: [`id`](https://registry.apicrafter.io/datatype/id.md)
- Personal data (PII): no
- Categories: Government related (government), Finances and banking (finances)
- Countries: Spain (ES)
- Languages: Common to most languages (common)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^\d{3,7}$
```

## Examples

- `604968` — a call of the Ayuntamiento de Arganda del Rey registered in January 2022
- `302000` — a call registered in March 2016
- `BDNS604968` (invalid example)

## Metacrafter rules

1 rules: 1 match the field name, 0 match values.

- `esbdnscodebyname` (field, `es/es_codes.yaml`)

## Supported by tools

- [`metacrafter`](https://registry.apicrafter.io/tool/metacrafter.md)

## Translations

- es: Código BDNS de convocatoria
- ru: Код конкурса субсидий в базе BDNS (Испания)

## Sources

- doc: <https://www.infosubvenciones.es/bdnstrans/GE/es/convocatorias>

## Quality

Score 90/100. Missing: mapping (Wikidata, Schema.org, ...).

JSON: <https://registry.apicrafter.io/api/v1/datatypes/es_bdns_code.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/ES/government/es_bdns_code.yaml>
