City, Lviv API

Free to Use Varies (check documentation)

Overview

City, Lviv is an open data portal providing free access to datasets from Lviv, Ukraine, including urban infrastructure, transport, and city services. No API key is required, making it easy to start querying data right away. It is a great resource for building local civic apps or exploring Eastern European urban datasets.

Beginner Tip

Browse the portal at opendata.city-adm.lviv.ua to find a dataset you want, then use its API endpoint directly in your requests—no sign-up needed.

Available Data

Use case: Integrate lviv(ua) city open data data into web and mobile applications
City, Lviv data via REST API

Example Response

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

Field Reference

success Indicates whether the API call completed successfully.
result The list of dataset names or records returned by the query.
help URL pointing to the documentation for the API action used.
error Present only when success is false; contains message describing what went wrong.

Implementation Example

Request
const url = "https://opendata.city-adm.lviv.ua/";
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 Not Found The dataset endpoint path is incorrect or the dataset slug has changed.
Browse the portal to verify the current dataset URL and slug before building your request.
Empty response body The requested dataset may have no published records or the filter returns zero results.
Try removing filters first to confirm the dataset has data, then narrow down your query.
Connection timeout The portal may experience intermittent downtime or slow responses under load.
Add a retry with exponential backoff and set a reasonable timeout (e.g., 10 seconds) in your HTTP client.

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 No Auth
HTTPS REQUIRED
CORS UNKNOWN
Category Government
Difficulty Beginner
Verified: 2026-04-04

Similar APIs

View All →