Discover/Einforma API
live

Einforma APIeinforma.com

Search Spanish companies, autónomos, and executives via the Einforma API. Access company profiles with CNAE codes, legal form, address, financials, and report availability.

Endpoint health
verified 1d ago
search_executives
search_companies
search_autonomos
get_company_detail
4/4 passing latest checkself-healing
Endpoints
4
Updated
26d ago

What is the Einforma API?

The Einforma API exposes 4 endpoints covering Spain's business directory, letting you search companies by name, NIF/CIF, or DUNS number, look up self-employed individuals (autónomos) by NIF, and find executives by name. The get_company_detail endpoint returns a company's full profile including identification fields, constitution date, CNAE activity, sales evolution data, and a list of available commercial reports with their pricing.

Try it
Number of results per page.
Search term (company name, NIF, or DUNS number).
Starting offset for pagination.
JSON object string containing filters. Keys include codProvinci (province code, e.g. '{"codProvinci": "(28)"}' for Madrid).
api.parse.bot/scraper/0dbd141e-b0b3-421c-acf4-dd335ceecf5c/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/0dbd141e-b0b3-421c-acf4-dd335ceecf5c/search_companies?rows=5&query=Telefonica&start=0' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace einforma-com-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

"""Walkthrough: eInforma SDK — search companies, drill into detail, search autónomos and executives."""
from parse_apis.einforma_api import Einforma, CompanySummary, Company, Autonomo, Executive, CompanyNotFound

client = Einforma()

# Search for companies by name — limit= caps total items fetched.
for summary in client.companysummaries.search(query="Telefonica", rows=5, limit=5):
    print(summary.denominacion, summary.provincia, summary.ventas)

# Drill-down: take ONE company summary with .first(), then fetch full detail.
summary = client.companysummaries.search(query="Iberdrola", limit=1).first()
if summary:
    detail = summary.details()
    print(detail.denominacion, detail.situacion, detail.forma_juridica, detail.total_empleados)

# Fetch company detail directly by ID.
company = client.companies.get(id="kLfOC5ZktKdR5Ub9ALlHug")
print(company.denominacion, company.cnae, company.provincia)

# Search autónomos (self-employed individuals)
for autonomo in client.autonomos.search(query="Garcia", rows=3, limit=3):
    print(autonomo.denominacion, autonomo.cnae, autonomo.provincia)

# Search executives and see how many companies they administer
for exec_ in client.executives.search(query="Lopez", rows=3, limit=3):
    print(exec_.nombre_adm, exec_.count_adm)

# Typed error handling for company detail lookup
try:
    company = client.companies.get(id="INVALID_ID_XYZ")
    print(company.denominacion)
except CompanyNotFound as exc:
    print(f"Company not found: {exc.company_id}")

print("exercised: companysummaries.search / summary.details / companies.get / autonomos.search / executives.search")
All endpoints · 4 totalmissing one? ·

Full-text search over Spanish companies (empresas) by name, NIF/CIF, or DUNS number. Returns paginated results with facets for filtering by province, sector, legal form, and denomination type. Pagination is offset-based via start/rows.

Input
ParamTypeDescription
rowsintegerNumber of results per page.
queryrequiredstringSearch term (company name, NIF, or DUNS number).
startintegerStarting offset for pagination.
filtersstringJSON object string containing filters. Keys include codProvinci (province code, e.g. '{"codProvinci": "(28)"}' for Madrid).
Response
{
  "type": "object",
  "fields": {
    "total": "integer total number of matching companies",
    "facets": "object containing filtering facets keyed by codSector, formaJuridica, codTipoDeno, codProvinci each with title and data array",
    "results": "array of company summary objects"
  },
  "sample": {
    "data": {
      "total": 2343,
      "facets": {
        "codSector": {
          "data": [
            {
              "cod": "08",
              "name": "Telecomunicaciones",
              "count": "1.329"
            }
          ],
          "title": "Actividad"
        },
        "codProvinci": {
          "data": [
            {
              "cod": "28",
              "name": "Madrid",
              "count": "1.590"
            }
          ],
          "title": "Provincia"
        }
      },
      "results": [
        {
          "id": "kLfOC5ZktKdR5Ub9ALlHug",
          "cnae": "Actividades de sociedades holding",
          "ventas": "GRAN",
          "codCnae": "6421",
          "provincia": "Madrid",
          "codProvincia": "28",
          "denominacion": "TELEFONICA, SA",
          "tipoDenominacion": "Denominación principal"
        }
      ]
    },
    "status": "success"
  }
}

About the Einforma API

Search Endpoints

The search_companies endpoint accepts a required query string (company name, NIF/CIF, or DUNS number) and returns a total count, paginated results with per-company summary objects, and a facets object. Facets are keyed by codSector, formaJuridica, codTipoDeno, and codProvinci, each containing a title and an array of filterable values. You can narrow results by passing a JSON-serialized filters string — for example, {"codProvinci": "(28)"} restricts results to Madrid. Pagination is offset-based via start and rows.

search_autonomos targets self-employed individuals rather than registered companies. It takes the same query, start, and rows parameters and returns a total plus a results array of autónomo summaries. search_executives searches by executive or director name and returns the matched person alongside the count of companies they administer — useful for mapping corporate control networks.

Company Detail

get_company_detail takes a company_id obtained from search_companies results and returns a data array containing a single detail object. That object includes identificacion (name, address, phone numbers, website URLs), cabecera (headline summary fields), informacionEmpresa (legal form, CNAE activity code, constitution date), listaProductos (available report products with associated pricing), and ultimosCambiosEmpresa (recent changes logged against the company record). The outResponse object carries API-level metadata including result.rdo and result.codRdo status codes.

Coverage and Scope

All four endpoints cover Spanish entities only. Company searches support facet filtering by province code, sector, legal form, and denomination type. Financial data surfaced via get_company_detail is limited to sales evolution and report availability — full balance sheet figures are gated behind the commercial report products listed in listaProductos, not returned as raw JSON fields.

Reliability & maintenanceVerified

The Einforma API is a managed, monitored endpoint for einforma.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when einforma.com changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official einforma.com API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
1d ago
Latest check
4/4 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Qualify Spanish B2B leads by filtering search_companies results by province (codProvinci) and sector (codSector) before outreach
  • Map executive relationships by querying search_executives and cross-referencing the number of companies each director administers
  • Verify a Spanish company's legal identity by looking up its NIF/CIF directly in search_companies
  • Check available due-diligence report products for a target company via the listaProductos field in get_company_detail
  • Monitor recent corporate changes by polling ultimosCambiosEmpresa in get_company_detail for registered entities
  • Identify self-employed contractors or freelancers in Spain by NIF using search_autonomos
  • Enrich a CRM with address, phone, website, and CNAE activity data pulled from get_company_detail identification fields
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does Einforma have an official developer API?+
Einforma does not publish a documented public developer API. The company offers commercial data products and reports through its website, but there is no openly documented REST or GraphQL API for programmatic access to its directory data.
What filters does `search_companies` support, and how do you apply them?+
The filters parameter accepts a JSON object string. Supported filter keys are codProvinci (province code), codSector (sector), formaJuridica (legal form), and codTipoDeno (denomination type). Pass the desired key-value pair as a serialized string, for example {"codProvinci": "(28)"} for Madrid. The facets object in the response enumerates valid values for each key, so you can build a filter UI dynamically from a first unfiltered query.
Does `get_company_detail` return full financial statements like balance sheets or profit-and-loss figures?+
Not currently. The endpoint returns sales evolution data and a listaProductos array listing available commercial report products (with pricing), but raw balance sheet or P&L line items are not returned as structured JSON fields. You can fork this API on Parse and revise it to add an endpoint that fetches the report data if Einforma exposes it through additional detail pages.
Does the API cover companies outside Spain, such as Portuguese or Latin American entities?+
Not currently. All four endpoints — search_companies, search_autonomos, search_executives, and get_company_detail — cover Spanish-registered entities only. You can fork this API on Parse and revise it to point at a different regional business directory if you need coverage beyond Spain.
How does pagination work across the search endpoints?+
Pagination is offset-based for all three search endpoints. Pass start as the zero-based record offset and rows as the page size. The total field in each response tells you the overall match count, so you can calculate the number of pages and iterate accordingly. There is no cursor or token-based pagination.
Page content last updated . Spec covers 4 endpoints from einforma.com.
Related APIs in B2b DirectorySee all →
paginasamarillas.es API
Search and discover Spanish businesses with detailed information including contact details, social links, and customer reviews, with specialized features for finding restaurants and getting search suggestions. Access comprehensive business profiles to find exactly what you're looking for in Spain's leading business directory.
infobel.com API
Search and retrieve business and person contact information from Infobel directories across the globe to find phone numbers, addresses, and other details. Quickly locate companies or individuals by name to build targeted contact lists or verify business information worldwide.
registroimprese.it API
Search Italian companies by name or ID to instantly access official business registration details including company status, founding information, and corporate structure from the authoritative Italian Business Registry. Get comprehensive company profiles with verified legal and operational data all in one place.
dnb.com API
Search millions of companies in Dun & Bradstreet's global business directory to find detailed company profiles and verify D-U-N-S numbers. Look up key business information like company details and identifiers to support due diligence, sales prospecting, and business intelligence needs.
thecompaniesapi.com API
Enrich your company database with 80+ data points per company, search by industry or company details, and discover email patterns to drive your business intelligence. Find verified company information, get pricing data, and ask contextual questions about any organization to fuel your sales, marketing, or research efforts.
europages.fr API
Search for European suppliers and products, retrieve detailed company information and catalogs, and discover business listings across thousands of manufacturers and distributors on Europages. Find the right B2B partners by filtering suppliers, accessing company profiles, and browsing their product offerings all in one place.
drimble.nl API
Search and access detailed business information from Drimble.nl, including company addresses, SBI classifications, and activity descriptions. Find specific companies or browse listings to get comprehensive details about Dutch businesses.
caixabank.es API
Access CaixaBank's full catalogue of financial products — accounts, cards, loans, mortgages, savings, investments, insurance, and pension plans — along with real-time pricing, TAE/TIN interest rates, and branch or ATM locations across Spain.