City, Gdańsk API

Free to Use
72 B
Measured Score 0 50 100 Speed 13/30 Consistency 20/20 Security 20/20 Browser access 15/15 Transparency 4/15 TESTED 2026-08-10

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.

Measurement Record

What actually happened when we called this API from our own infrastructure. Every value below was recorded by the request, not copied from the provider's documentation.

Request
GET https://ckan.multimediagdansk.pl/api/3/action/package_list
Result
HTTP 200 · application/json · 2,101 bytes
Response time
294 ms (median of 3) · fastest 289 ms
Transport
TLSv1.3 · TLS_AES_256_GCM_SHA384 · certificate issued by cyber_Folks S.A.
Browser CORS
Allowed — Access-Control-Allow-Origin: *
Served by
nginx/1.18.0 (Ubuntu)
Recorded
2026-08-10

Fields Returned

Top-level fields present in the response we captured, with the type and value we actually received.

Field Type Value received
help string (url) https://ckan.multimediagdansk.pl/api/3/action…
success boolean true
result array [1 item]

Captured Response

Captured from a real request to https://ckan.multimediagdansk.pl/api/3/action/package_list on 2026-08-10. Long arrays and nested objects are truncated to keep the shape readable.

JSON Response · Captured
{
  "help": "https://ckan.multimediagdansk.pl/api/3/action/help_show?name=package_list",
  "success": true,
  "result": [
    "baza-noclegowa-w-gdansku"
  ]
}

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

Implementation Example

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

Request
const url = "https://ckan.multimediagdansk.pl/api/3/action/package_list";
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.

How This API Fails

We deliberately sent this API a broken request and recorded exactly what came back on 2026-08-10. Knowing the shape of an error before you hit it makes error handling much easier to write.

HTTP 404 Requesting a path that does not exist text/html

Returned an HTML error page rather than JSON — worth knowing if your client assumes every response can be parsed as JSON.

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.

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

Measured Score Breakdown

Live HTTP request to the API endpoint

Speed 13/30
Consistency 20/20
Security 20/20
Browser access 15/15
Transparency 4/15
Endpoint Response Time 294ms

Fully tested on Aug 10, 2026

Technical Specifications

Auth No Auth
HTTPS REQUIRED
CORS UNKNOWN
Category Government
Difficulty Beginner
Endpoint last called: 2026-08-10

Similar APIs

View All →