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

The kind of data this API exposes, based on its documentation. We could not call the endpoint to confirm the exact field names.

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

Example Response

Illustrative shape only — we were not able to call this endpoint (it requires credentials or exposes no public sample URL), so the fields below show the kind of data this API returns rather than a recorded response.

JSON Response · Illustrative
{
  "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

Calls a real endpoint of this API. Replace any placeholder credentials with your own key.

Request
const url = "https://data.nantesmetropole.fr/api/explore/v2.1/catalog/datasets?apikey=YOUR_API_KEY&limit=10";
// 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

Generated guidance based on this API's documentation, not observed by us. Treat it as a starting point and check against the provider's own error reference.

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.

Metadata Score Breakdown

Estimated from metadata — endpoint not independently tested

This score is estimated from observable metadata — HTTPS support, authentication model, declared CORS, and documentation reachability — because the API requires authentication or exposes no publicly testable endpoint. The five-signal breakdown is only shown for live-tested APIs.

Metadata estimate · endpoint not independently tested

Technical Specifications

Auth API Key
HTTPS REQUIRED
CORS UNKNOWN
Category Government
Difficulty Intermediate
Listing details not endpoint-verified

Similar APIs

View All →