Search published Spanish legal entities
Corporate-only search over the immutable company_public_v2 projection. It resolves an exact corporate CIF, an exact canonical/safe-alias slug, or a bounded name-prefix pool. DNI/NIE, malformed identifier-shaped input and ambiguous/quarantined CIFs return zero items; there is no raw companies/search_idx or disk-index fallback.
Query parameters
Search query: company name, alias or CIF.
Maximum number of results.
Bounded pagination offset. Values above 1000 fail with 422; future deep pagination requires a generation-bound cursor.
Headers
Optional RFC 9110 entity-tag validator. Weak validators, comma-separated validator lists and * are accepted.
Response
Search results
Example response
{
"items": [
{
"slug": "mercadona-sa",
"name": "MERCADONA SA",
"cif": "A46103834"
}
]
}Changes
Changed in 1 of the 3 revisions of this API.285
- ●
for the
queryrequest parameterq, the maxLength was set to120request-parameter-max-length-set
- ●
for the
queryrequest parameteroffset, the max was set to1000.00request-parameter-max-set
- ○
api operation id
getSearchwas addedapi-operation-id-added
- ○
the endpoint scheme security
apiKeywas added to the APIapi-security-added
- ○
the endpoint scheme security
bearerAuthwas added to the APIapi-security-added
- ○
added the new optional
headerrequest parameterIf-None-Matchnew-optional-request-parameter
- ○
added the non-success response with the status
304response-non-success-status-added
- ○
added the non-success response with the status
422response-non-success-status-added
- ○
added the non-success response with the status
503response-non-success-status-added
- ○
added the optional property
_alias_ofto the response with the400statusresponse-optional-property-added
- ○
added the optional property
_alias_ofto the response with the429statusresponse-optional-property-added
- ○
added the optional property
actionto the response with the400statusresponse-optional-property-added
- ○
added the optional property
actionto the response with the429statusresponse-optional-property-added
- ○
added the optional property
allowedto the response with the400statusresponse-optional-property-added
- ○
added the optional property
allowedto the response with the429statusresponse-optional-property-added
- ○
added the optional property
allowed_parametersto the response with the400statusresponse-optional-property-added
- ○
added the optional property
allowed_parametersto the response with the429statusresponse-optional-property-added
- ○
added the optional property
codeto the response with the400statusresponse-optional-property-added
- ○
added the optional property
codeto the response with the429statusresponse-optional-property-added
- ○
added the optional property
daily_limitto the response with the400statusresponse-optional-property-added
- ○
added the optional property
daily_limitto the response with the429statusresponse-optional-property-added
- ○
added the optional property
dateto the response with the400statusresponse-optional-property-added
- ○
added the optional property
dateto the response with the429statusresponse-optional-property-added
- ○
added the optional property
detailto the response with the400statusresponse-optional-property-added
- ○
added the optional property
detailto the response with the429statusresponse-optional-property-added
- ○
added the optional property
fieldsto the response with the400statusresponse-optional-property-added
- ○
added the optional property
fieldsto the response with the429statusresponse-optional-property-added
- ○
added the optional property
items/items/capital_centsto the response with the200statusresponse-optional-property-added
- ○
added the optional property
items/items/cnae_codeto the response with the200statusresponse-optional-property-added
- ○
added the optional property
items/items/cnae_sectionto the response with the200statusresponse-optional-property-added
- ○
added the optional property
items/items/first_seento the response with the200statusresponse-optional-property-added
- ○
added the optional property
items/items/matched_aliasto the response with the200statusresponse-optional-property-added
- ○
added the optional property
items/items/provinceto the response with the200statusresponse-optional-property-added
- ○
added the optional property
keyto the response with the400statusresponse-optional-property-added
- ○
added the optional property
keyto the response with the429statusresponse-optional-property-added
- ○
added the optional property
limitto the response with the400statusresponse-optional-property-added
- ○
added the optional property
limitto the response with the429statusresponse-optional-property-added
- ○
added the optional property
limited_byto the response with the400statusresponse-optional-property-added
- ○
added the optional property
limited_byto the response with the429statusresponse-optional-property-added
- ○
added the optional property
login_urlto the response with the400statusresponse-optional-property-added
- ○
added the optional property
login_urlto the response with the429statusresponse-optional-property-added
- ○
added the optional property
max_bytesto the response with the400statusresponse-optional-property-added
- ○
added the optional property
max_bytesto the response with the429statusresponse-optional-property-added
- ○
added the optional property
maximumto the response with the400statusresponse-optional-property-added
- ○
added the optional property
maximumto the response with the429statusresponse-optional-property-added
- ○
added the optional property
neededto the response with the400statusresponse-optional-property-added
- ○
added the optional property
neededto the response with the429statusresponse-optional-property-added
- ○
added the optional property
okto the response with the400statusresponse-optional-property-added
- ○
added the optional property
okto the response with the429statusresponse-optional-property-added
- ○
added the optional property
parameterto the response with the400statusresponse-optional-property-added
- ○
added the optional property
parameterto the response with the429statusresponse-optional-property-added
- ○
added the optional property
planto the response with the400statusresponse-optional-property-added
- ○
added the optional property
planto the response with the429statusresponse-optional-property-added
- ○
added the optional property
projectionto the response with the400statusresponse-optional-property-added
- ○
added the optional property
projectionto the response with the429statusresponse-optional-property-added
- ○
added the optional property
reasonto the response with the400statusresponse-optional-property-added
- ○
added the optional property
reasonto the response with the429statusresponse-optional-property-added
- ○
added the optional property
remainingto the response with the400statusresponse-optional-property-added
- ○
added the optional property
remainingto the response with the429statusresponse-optional-property-added
- ○
added the optional property
reset_atto the response with the400statusresponse-optional-property-added
- ○
added the optional property
reset_atto the response with the429statusresponse-optional-property-added
- ○
added the optional property
reset_at_humanto the response with the400statusresponse-optional-property-added
- ○
added the optional property
reset_at_humanto the response with the429statusresponse-optional-property-added
- ○
added the optional property
retry_afterto the response with the400statusresponse-optional-property-added
- ○
added the optional property
retry_afterto the response with the429statusresponse-optional-property-added
- ○
added the optional property
retry_after_sto the response with the400statusresponse-optional-property-added
- ○
added the optional property
retry_after_sto the response with the429statusresponse-optional-property-added
- ○
added the optional property
shortfallto the response with the400statusresponse-optional-property-added
- ○
added the optional property
shortfallto the response with the429statusresponse-optional-property-added
- ○
added the optional property
slugto the response with the400statusresponse-optional-property-added
- ○
added the optional property
slugto the response with the429statusresponse-optional-property-added
- ○
added the optional property
source_catalog_versionto the response with the400statusresponse-optional-property-added
- ○
added the optional property
source_catalog_versionto the response with the429statusresponse-optional-property-added
- ○
added the optional property
statusto the response with the400statusresponse-optional-property-added
- ○
added the optional property
statusto the response with the429statusresponse-optional-property-added
- ○
added the optional property
upgradeto the response with the400statusresponse-optional-property-added
- ○
added the optional property
upgradeto the response with the429statusresponse-optional-property-added
- ○
added the optional property
upgrade_urlto the response with the400statusresponse-optional-property-added
- ○
added the optional property
upgrade_urlto the response with the429statusresponse-optional-property-added
- ○
added the optional property
validto the response with the400statusresponse-optional-property-added
- ○
added the optional property
validto the response with the429statusresponse-optional-property-added
- ○
the response property
errorbecame required for the status400response-property-became-required
- ○
the response property
errorbecame required for the status429response-property-became-required
- ○
the response property
items/items/acts_countbecame required for the status200response-property-became-required
- ○
the response property
items/items/cifbecame required for the status200response-property-became-required
- ○
the response property
items/items/namebecame required for the status200response-property-became-required
- ○
the response property
items/items/slugbecame required for the status200response-property-became-required
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●