---
title: "Company geocode projection (unavailable)"
method: GET
path: "/api/v1/company/{slug}/geocode"
tags: ["Companies"]
deprecated: true
---

# Company geocode projection (unavailable)

`GET /api/v1/company/{slug}/geocode`

## Request

- Base URL: `https://openmercantil.es`
- URL: `https://openmercantil.es/api/v1/company/{slug}/geocode`
- Auth: none declared
- TypeScript: <https://skmtc.dev/openmercantil/apis/openmercantil-public-api/docs/api/v1/company/:slug/geocode/get.ts> (a function with typed inputs; its response is checked against the schema)

> **Deprecated.**

Fail-closed route. Address parsing and Nominatim access are forbidden in the request path; it always returns 503 until an approved offline `company_geocode_v1` projection exists. Enabling the source policy alone cannot activate network or database writes.

## Path parameters

- `slug` string, required

## Other responses

- `404`: Resource not found
- `429`: Rate limit exceeded
- `503`: Controlled fail-closed denial: the required dataset or legal layer is absent, invalid, unsupported or not authorized for this public surface.

## Changes

- **2026-07-26** `996f96a11758`: 1 breaking, 1 warning, 5 info
  - removed the success response with the status `200`
  - deleted the `query` request parameter `force`
  - api operation id `getCompanyBySlugGeocode` was added
  - endpoint deprecated
  - …3 more

[Operation history](https://skmtc.dev/openmercantil/apis/openmercantil-public-api/changes/api/v1/company/:slug/geocode/get.md)

---

[API](https://skmtc.dev/openmercantil/apis/openmercantil-public-api.md) - [All operations](https://skmtc.dev/openmercantil/apis/openmercantil-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/openmercantil/apis/openmercantil-public-api/revisions/601ff6123c86?raw)
