City, Gdańsk API

Free to Use Varies (check documentation)

Overview

The City of Gdansk Open Data portal provides free public datasets from Gdansk, Poland, powered by the CKAN platform. You can access information on urban infrastructure, public transport, culture, and city services in structured formats. No API key is needed to start exploring the data.

💡

Beginner Tip

Use the CKAN API endpoint /api/3/action/package_search to search datasets by keyword; the portal supports English, so English search terms work well here.

Available Data

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

Example Response

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

Field Reference

success True if the CKAN API call was successful
result Array of dataset name strings when using package_list, or dataset objects when using package_search
name URL-safe slug identifier for the dataset
title Display title of the dataset, often in Polish
resources List of file resources attached to the dataset, each with url and format fields

Implementation Example

const url = "https://ckan.multimediagdansk.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

404 on individual resource URL Data file URLs in the catalog may be moved when datasets are updated
Always fetch package metadata dynamically using the package_show endpoint to get the current resource URL
Encoding issues in text fields Polish characters may not render correctly if charset is not handled
Ensure your HTTP client treats responses as UTF-8 encoded; most modern libraries do this automatically
Empty search results The query term does not match any dataset names or descriptions
Try browsing the package_list first and then use exact dataset names to retrieve specific records

Matrix Score Breakdown

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

Fully tested on Apr 5, 2026

Technical Specifications

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

Similar APIs

View All →