# Search by postal code in Spain

**URL:** <https://ask.openrouteservice.org/t/search-by-postal-code-in-spain/5906>\
**Category:** opengeocoder\
**Created:** [March 24, 2024, 4:38pm UTC](https://ask.openrouteservice.org/t/search-by-postal-code-in-spain/5906 "2024-03-24T16:38:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MrCawet](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/mrcawet/32/2920_2.png) [@MrCawet](https://ask.openrouteservice.org/u/MrCawet)\
**Post date:** [March 24, 2024, 4:38pm UTC](https://ask.openrouteservice.org/t/search-by-postal-code-in-spain/5906/1 "2024-03-24T16:38:06Z")

</div>

Hi,

I started to implement the geocoder service of the public ORS API server in a Spanish service, when I realize that it’s not working at all with postal code.  
There is no postal code in the properties returned, and searching by postal code give no result at all. exemple :

> **[OpenRouteService route planner - directions, isochrones and places](https://maps.openrouteservice.org/#/search/25001/%4042.66748,2.88134/z/5)**
>
> Openrouteservice is a open source route planner with plenty of features for car, heavy vehicles, hiking, cycling and wheelchair

(25001 is the postal code for Lérida, you can see in the link below that there is no result in spain.)

However,nomiatim give some good result: [25001 | OpenStreetMap](https://www.openstreetmap.org/search?query=25001#map=19/41.60693/0.63384) so that make me think that is not a problem of data source. Also it’s working pretty well for other country like France, so that make me think that it’s not a problem with postal code in Open Route Service in general.

So what’s wrong with postal code in Spain in Open route service? It’s there something that we can do?

EDIT : My bad, the postal code is returned for some layer like address. But it’s not working when searching by postal code
