← Files APIEmpresasARCHIVED FILE
plugin.json
5.61 KB · Nov 30, 2026 · 07:44 UTC
{
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
"name": "apiempresas-spanish-companies",
"version": "1.0.0",
"description": "Look up Spanish companies by name or tax ID (CIF): registry status, legal form, LEI, revoked tax IDs and company filing statistics.",
"author": {
"name": "APIEmpresas",
"url": "https://apiempresas.es"
},
"extensions": {
"com.openai": {
"interface": {
"displayName": "APIEmpresas",
"shortDescription": "Spanish company data by CIF",
"longDescription": "APIEmpresas gives ChatGPT read-only access to public data about Spanish companies (sociedades), built from the Mercantile Registry gazette (BORME), the official state gazette (BOE) and other public registers, and updated daily.\n\nWith this app you can:\n- Find a Spanish company by name and get its tax ID (CIF), province and status.\n- Get the basic record of a company from its tax ID: legal name, status (active, dissolved, extinguished, in insolvency), legal form with ISO 20275 code, LEI code, activity code (CNAE), province and incorporation date.\n- Check whether the Spanish Tax Agency has revoked a company's tax ID, with the date and the link to the official gazette.\n- Get monthly or yearly statistics of company filings in Spain or in one province since 2009: incorporations, dissolutions, extinctions, insolvencies, capital changes, address changes and mergers.\n\nNo account or sign-in is needed. All tools are read-only. The company status is derived from official publications and is not a certificate from the Mercantile Registry. Sole traders (aut\u00f3nomos) are not included. The app does not return street addresses or directors.",
"developerName": "APIEmpresas",
"category": "Productivity",
"capabilities": [],
"websiteURL": "https://apiempresas.es",
"supportURL": "https://apiempresas.es/contact",
"privacyPolicyURL": "https://apiempresas.es/privacidad",
"termsOfServiceURL": "https://apiempresas.es/terminos",
"defaultPrompt": [
"Find the Spanish company Mercadona and give me its tax ID",
"Is the Spanish company with CIF A46103834 active?",
"How many companies were created in Valencia in 2025?"
],
"brandColor": "#1D4ED8",
"logo": "./assets/logo.png"
},
"review": {
"test_cases": {
"positive": [
{
"description": "Find a Spanish company by name",
"prompt": "Find the Spanish company Mercadona and tell me its tax ID.",
"tools_triggered": "search_companies",
"expected_behavior": "Calls search_companies with the name and answers that MERCADONA SA has tax ID (CIF) A46103834, is in the province of Valencia and is active."
},
{
"description": "Check the status of a company from its tax ID",
"prompt": "Is the Spanish company with CIF A46103834 active?",
"tools_triggered": "get_company",
"expected_behavior": "Calls get_company with cif A46103834 and answers that MERCADONA SA is active (status ACTIVA), noting that the status is derived from Mercantile Registry gazette publications."
},
{
"description": "Check whether a tax ID has been revoked",
"prompt": "Has the Spanish Tax Agency revoked the tax ID A46103834?",
"tools_triggered": "check_tax_id_revocation",
"expected_behavior": "Calls check_tax_id_revocation with cif A46103834 and answers that no revocation has been published in the official gazette (tax_id_revocation is null)."
},
{
"description": "Company filing statistics for a province and year",
"prompt": "How many companies were incorporated in the province of Valencia in 2025?",
"tools_triggered": "get_borme_stats",
"expected_behavior": "Calls get_borme_stats with province VALENCIA, from 2025, to 2025 and group year, and answers with the number of incorporations published in 2025 (7,917 at the time of submission), optionally with the other totals."
},
{
"description": "Chain search and record lookup",
"prompt": "What are the legal form and the LEI code of Mercadona?",
"tools_triggered": "search_companies, get_company",
"expected_behavior": "Calls search_companies to find the tax ID A46103834, then get_company, and answers that it is a sociedad an\u00f3nima (SA, ISO 20275 code 5RDO) with LEI 959800G1STVUPYU6NU22."
}
],
"negative": [
{
"description": "Unrelated request: the app must not be used for topics other than Spanish companies.",
"prompt": "What will the weather be like in Madrid tomorrow?"
},
{
"description": "Company outside Spain: the app only covers Spanish companies and must not be used; ChatGPT should say it cannot look up foreign registries with this app.",
"prompt": "Look up the UK company number of Tesco PLC at Companies House."
},
{
"description": "Write action: all tools are read-only, so the app cannot change registry data and must not be invoked to do so.",
"prompt": "Change the registered address of my Spanish company in the Mercantile Registry."
}
]
}
},
"publication": {
"release_notes": "First version: four read-only tools over public Spanish company data, no sign-in required."
},
"apps": "./.app.json"
}
}
}
SHA-256: f665e39a762822eb4bfe1b19786eb7be88e7e25d085a6d60a015457c9a333af7