City, Gdynia API

Free to Use Varies (check documentation)

Overview

The City of Gdynia Open Data portal provides free access to public datasets from Gdynia, Poland. You can browse and download data on public transport, city infrastructure, and administrative information in structured formats. The portal uses an open data standard and requires no registration to access.

💡

Beginner Tip

Start by visiting the API documentation page to browse available datasets and their identifiers before making programmatic requests.

Available Data

Use case: Integrate gdynia (pl) city open data data into web and mobile applications
City, Gdynia data via REST API
JSON-formatted response data
Freely accessible without authentication

Example Response

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

Field Reference

success Indicates whether the API request completed successfully
result List of dataset identifiers or dataset objects depending on the endpoint called
title Title of the dataset in Polish
name URL-safe unique name used to identify the dataset in API calls
resources Array of data files attached to the dataset, each containing url and format keys

Implementation Example

const url = "http://otwartedane.gdynia.pl/en/";
const response = await fetch(url);
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

HTTP instead of HTTPS connection warning The Gdynia portal uses HTTP rather than HTTPS on some endpoints
This is expected for this portal; if your HTTP client enforces HTTPS, configure it to allow HTTP for this domain
Resource download fails Individual dataset file URLs may be hosted on a separate server
Follow the resource URL from the dataset metadata rather than constructing URLs manually
Polish text encoding issues Dataset fields contain Polish characters that need UTF-8 decoding
Specify UTF-8 encoding when reading response strings to correctly display characters like a, e, o, z

Matrix Score Breakdown

🌐 Reachability 30/30
⚡ Speed 15/20
🔒 Security 5/15
🛠 Developer XP 15/20
✓ Reliability 7/15
Response Time 290ms

Fully tested on Apr 5, 2026

Technical Specifications

Auth No Auth
HTTPS NO
CORS UNKNOWN
Category Government
Difficulty Beginner
Verified: 2026-04-04

Similar APIs

View All →