France Postal Code Search avatar

France Postal Code Search

Pricing

from $2.00 / 1,000 items

Go to Apify Store
France Postal Code Search

France Postal Code Search

Get location data including commune from French postal codes (zip codes).

Pricing

from $2.00 / 1,000 items

Rating

0.0

(0)

Developer

bite-sized-insights

bite-sized-insights

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

5 hours ago

Last modified

Categories

Share

Get location data including commune name and INSEE code from French postal codes.

Simply provide a list of postal codes and get back structured location data for each one.

No login required. No cookies needed. Pay-per-event pricing.

Why Choose This Actor?

"Enrich your data with French location information in seconds"

Our France Postal Code Search provides:

  • Very Fast Responses: Parallel processing for large batches
  • Cost-Effective: Pay only for the rows you get back: $2.00 / 1k rows (one postal code can return several rows)
  • Complete Data: Get commune name, INSEE code, routing label, and complement

Quick Start

  1. Open the actor on Apify and go to the Input tab.
  2. Paste the example input below (or edit the prefilled list).
  3. Click Start and wait for the run to finish.
  4. Open the Output (dataset) tab to view or export the results as JSON, CSV or Excel.
{
"postalcodes": ["75001"]
}

Example output item:

{
"postalcode": "75001",
"commune_insee_code": "75101",
"commune_name": "PARIS 01",
"routing_label": "PARIS",
"complement": "",
"error": null
}

Usage Examples

Resolve a Single Postal Code

{
"postalcodes": ["75001"]
}

Resolve Multiple Postal Codes

{
"postalcodes": ["75001", "13001", "69001"]
}

Returns one row per commune/locality (a single postal code can return many rows). Example row:

{
"postalcode": "75001",
"commune_insee_code": "75101",
"commune_name": "PARIS 01",
"routing_label": "PARIS",
"complement": "",
"error": null
}

Input Parameters

ParameterTypeRequiredDefaultDescription
postalcodesarrayYes-List of French postal codes (zip codes) to resolve (5 digits each). 1-1000 per run; duplicates are ignored, invalid or too many codes fail the run

Output Fields

FieldTypeDescription
postalcodestring5-digit French postal code
commune_insee_codestring5-character INSEE commune code
commune_namestringCommune name
routing_labelstringDelivery routing label (libellé d'acheminement), usually the commune name
complementstringAdditional address line for hamlets/localities (ligne 5), often empty
errornull/stringError message if lookup failed

Free plan

Free-plan users get 5 runs in total. Each free run processes only the first 10 codes in your input (the rest is ignored without an error) and returns at most 10 results.

Pricing

CostDescription
$0.0001 / startCharged per actor run
$2.00 / 1,000 rowsCharged per row returned; one postal code can return multiple rows

API Integration

Python

from apify_client import ApifyClient
client = ApifyClient("YOUR_API_TOKEN")
run = client.actor("bite-sized-insights/france-zip-codes").call(
run_input={
"postalcodes": ["75001", "13001", "69001", "33000"]
}
)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(f"{item['postalcode']}: {item['commune_name']}")

JavaScript

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_API_TOKEN' });
const run = await client.actor('bite-sized-insights/france-zip-codes').call({
postalcodes: ['75001', '13001', '69001']
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach(item => {
console.log(`${item.postalcode}: ${item.commune_name}`);
});

Use Cases

  • Data Enrichment: Add location data to customer records using postal codes or zip codes
  • Address Validation: Verify French postal codes (zip codes) exist
  • Geographic Analysis: Map postal codes to communes and INSEE codes
  • Logistics: Determine delivery regions from postal codes

Going global?

Looking for postal code data in other countries? Check out our other actors:

Notes

  • Postal codes (zip codes) must be provided as strings (e.g., "75001" not 75001)
  • French postal codes are 5 digits, covering metropolitan France, overseas departments/territories, and Monaco
  • A single postal code can map to multiple communes (e.g. rural areas sharing one postal code) — expect more than one result per code in some cases
  • Invalid or non-existent postal codes will not appear in results
  • Results are returned in no particular order
  • Large requests are automatically split into batches and processed in parallel

Need help? Open an issue on the actor's repository or contact support through Apify Console.