The Spanish tax agency (AEAT) publishes a list of large debtors under article 95 bis of the General Tax Law: debts over EUR 600,000. The API matches that list to company records by NIF and serves each match as a tax_debt risk flag, with the amount, the reference date and a link to the official source. It is a point-in-time snapshot, not a live balance, and every flag says how its identifier was read.
Check one company: GET /companies/search?nif=NIF&country=ES returns the id, then GET /companies/{id}?country=ES&include=risk_flags returns a risk_flags array with amount_eur, severity, reference_date, published_date, source_url, identifier_source and is_point_in_time. List every flagged company: GET /companies/search?country=ES&risk_flag_type=tax_debt (or has_risk_flag=true, which is Spain only), paged with next_cursor.
It is not the company's current position with the tax agency. For that, ask the company for its AEAT certificate of being up to date with its tax obligations. It is not a credit score and not a sanctions or insolvency check: corporate insolvency notices are a separate endpoint, corporate only, for nine markets (FR, DE, GB, AT, CH, NO, FI, US, NL), and Spain's concursal data is on /search.
Free: 14-day trial, 1,000 API calls per month, no credit card. Then Starter at €9.99/month (10,000 calls), Professional at €29.99/month and Scale at €99.99/month. See pricing. Parameters: company detail in the docs.
Read the full page · Versión en español · Strike-off risk API · Get a free API key
| Field | What it holds |
|---|---|
flag_type | tax_debt for this list. On a Spanish company the array can also hold the registry_compliance entry, so pick the flag by type, not by position. |
amount_eur | The amount the list publishes, in euros. |
reference_date, as_of | The date the list's balances refer to. as_of repeats it. |
published_date | When the list was published. |
source_url | The official source, for you to verify at. |
identifier_source, name_match_score | How the identifier was read: direct_read, or name_corroborated with a name match score. |
is_point_in_time, note | Always true, and a plain statement that this is a snapshot. |