City, Nantes Open Data API

Government / API Key Intermediate HTTPS
Varies by plan (check documentation)

Overview

City, Nantes Open Data gives developers access to datasets published by Nantes Métropole in France, covering transport, environment, and urban planning. You will need a free API key from the portal to authenticate your requests. It is a good starting point for exploring French municipal open data in your projects.

💡

Beginner Tip

Register for a free API key on the Nantes Open Data portal and include it as a query parameter (e.g., ?apikey=YOUR_API_KEY) in each request.

Available Data

Response fields: nantesmetropole fr
Use case: Integrate nantes(fr) city open data data into web and mobile applications
City, Nantes Open Data data via REST API
JSON-formatted response data
Requires API key authentication

Example Response

JSON Response
{
  "status": "success",
  "data": {
    "result": "Data from City, Nantes Open Data",
    "description": "Nantes(FR) City Open Data",
    "timestamp": "2025-01-15T10:00:00Z"
  }
}

Field Reference

total_count Total number of matching records available in the dataset.
results Array of dataset or record objects returned for the current page.
links Pagination links including next and previous page URLs.
nhits Number of hits (records) in the current response page.

Implementation Example

const url = "https://data.nantesmetropole.fr/pages/home/";
// Replace headers or query params with the values required by this API.
const response = await fetch(url, {
  headers: {
  "X-API-Key": "YOUR_API_KEY"
  }
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data);

What Can You Build?

Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.

Common Errors & Troubleshooting

401 Unauthorized Missing or invalid API key in the request.
Check that your API key is correctly passed as the apikey query parameter or Authorization header.
400 Bad Request Malformed query parameters such as an invalid filter expression.
Validate your query string against the API documentation and URL-encode any special characters.
Rate limit exceeded Too many requests sent in a short time window.
Add delays between requests and check the portal documentation for your plan's rate limit.

Matrix Score Breakdown

🌐 Reachability 30/30
⚡ Speed 2/20
🔒 Security 15/15
🛠 Developer XP 12/20
✓ Reliability 10/15

Partially tested on Apr 5, 2026

Technical Specifications

Auth API Key
HTTPS REQUIRED
CORS UNKNOWN
Category Government
Difficulty Intermediate
Verified: 2026-04-04

Similar APIs

View All →