REST API and MCP connector

French postal code API: every city in one call.

Send a French postal code, get its cities with their municipality code and delivery label. Send a city name, get its postal codes. Names are matched the way mail is addressed: no accents, SAINT becomes ST, and Lyon finds LYON 01, LYON 02…

Find the cities of a postal code
$ curl https://api.all-apis.net/v1/geography/fr/postal-codes/74000

[
  {
    "municipalityCode": "74010",
    "name": "ANNECY",
    "postalCode": "74000",
    "deliveryLabel": "ANNECY",
    "locality": null
  }
]

Operations and MCP tools

Prefill the city of an address form, check a postal code and city pair before shipping, or let an AI agent look up the right city instead of guessing it.

REST API

  • GET /v1/geography/fr/postal-codes/{postalCode}
  • GET /v1/geography/fr/cities/{code}
  • GET /v1/geography/fr/cities?name=&postalCode=
  • GET /v1/geography/fr/distance?from=&to=

MCP connector

  • find_french_cities_by_postal_code
  • find_french_postal_codes_by_city
  • measure_distance_between_french_cities

Data freshness

Refreshed as soon as a new edition is out. Answers come from our own snapshot.

Price

This domain comes with every plan at no extra cost: 1,000 free trial calls (30 days), then Starter at 20 € excl. VAT / month for 50,000 capped calls. One MCP tool call counts as one API call.

See every plan