{"id":47790007,"url":"https://github.com/fu-hsi/pjp-api","last_synced_at":"2026-04-03T15:29:25.125Z","repository":{"id":87058624,"uuid":"166091574","full_name":"fu-hsi/pjp-api","owner":"fu-hsi","description":"Polish Air Quality API (REST).","archived":false,"fork":false,"pushed_at":"2019-01-25T16:18:48.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-01-30T13:27:40.140Z","etag":null,"topics":["air-quality","aqi","caqi","dust","pm10","pollution"],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fu-hsi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2019-01-16T18:40:21.000Z","updated_at":"2019-01-29T21:15:34.000Z","dependencies_parsed_at":"2023-03-02T07:45:20.117Z","dependency_job_id":null,"html_url":"https://github.com/fu-hsi/pjp-api","commit_stats":{"total_commits":2,"total_committers":1,"mean_commits":2.0,"dds":0.0,"last_synced_commit":"d99f05f7b7f6aabee22ce32e11ee459e3d6b5809"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fu-hsi/pjp-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fu-hsi%2Fpjp-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fu-hsi%2Fpjp-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fu-hsi%2Fpjp-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fu-hsi%2Fpjp-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fu-hsi","download_url":"https://codeload.github.com/fu-hsi/pjp-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fu-hsi%2Fpjp-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31360697,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-03T15:19:21.178Z","status":"ssl_error","status_checked_at":"2026-04-03T15:19:20.670Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["air-quality","aqi","caqi","dust","pm10","pollution"],"created_at":"2026-04-03T15:29:24.498Z","updated_at":"2026-04-03T15:29:25.113Z","avatar_url":"https://github.com/fu-hsi.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# PJP API\r\nPolish Air Quality API (REST).\r\n\r\n## Official API\r\nNo special requirements. Available only GET method.\r\n```\r\nhttp://api.gios.gov.pl/pjp-api/rest/station/findAll\r\nhttp://api.gios.gov.pl/pjp-api/rest/station/sensors/{stationId}\r\nhttp://api.gios.gov.pl/pjp-api/rest/data/getData/{sensorId}\r\nhttp://api.gios.gov.pl/pjp-api/rest/aqindex/getIndex/{stationId}\r\n```\r\nMore information: http://powietrze.gios.gov.pl/pjp/content/api.\r\n\r\n### Measuring stations\r\n\r\n**Request**\r\n```\r\nhttp://api.gios.gov.pl/pjp-api/rest/station/findAll\r\n```\r\n**Response**\r\n```\r\n[{\r\n    \"id\": 14,\r\n    \"stationName\": \"Działoszyn\",\r\n    \"gegrLat\": \"50.972167\",\r\n    \"gegrLon\": \"14.941319\",\r\n    \"city\": {\r\n        \"id\": 192,\r\n        \"name\": \"Działoszyn\",\r\n        \"commune\": {\r\n            \"communeName\": \"Bogatynia\",\r\n            \"districtName\": \"zgorzelecki\",\r\n            \"provinceName\": \"DOLNOŚLĄSKIE\"\r\n        }\r\n    },\r\n    \"addressStreet\": null\r\n}]\r\n```\r\n\r\n### Sensors\r\n\r\n**Request**\r\n```\r\nhttp://api.gios.gov.pl/pjp-api/rest/station/sensors/14\r\n```\r\n\r\n**Response**\r\n\r\n```\r\n[{\r\n    \"id\": 92,\r\n    \"stationId\": 14,\r\n    \"param\": {\r\n        \"paramName\": \"pył zawieszony PM10\",\r\n        \"paramFormula\": \"PM10\",\r\n        \"paramCode\": \"PM10\",\r\n        \"idParam\": 3\r\n    }\r\n},\r\n{\r\n    \"id\": 88,\r\n    \"stationId\": 14,\r\n    \"param\": {\r\n        \"paramName\": \"dwutlenek azotu\",\r\n        \"paramFormula\": \"NO2\",\r\n        \"paramCode\": \"NO2\",\r\n        \"idParam\": 6\r\n    }\r\n}]\r\n```\r\n\r\n### Measurements\r\n\r\n**Request**\r\n```\r\nhttp://api.gios.gov.pl/pjp-api/rest/data/getData/92\r\n```\r\n\r\n**Response**\r\n\r\n```\r\n{\r\n    \"key\": \"PM10\",\r\n    \"values\": [\r\n    {\r\n        \"date\": \"2017-03-28 11:00:00\",\r\n        \"value\": 30.3018\r\n    },\r\n    {\r\n        \"date\": \"2017-03-28 12:00:00\",\r\n        \"value\": 27.5946\r\n    }]\r\n}\r\n```\r\n\r\n### Air Quality Index\r\n\r\n**Request**\r\n```\r\nhttp://api.gios.gov.pl/pjp-api/rest/aqindex/getIndex/52\r\n```\r\n\r\n**Response**\r\n\r\n```\r\n{\r\n    \"id\": 52,\r\n    \"stCalcDate\": \"2017-03-28 12:00:00\",\r\n    \"stIndexLevel\": {\r\n        \"id\": 2,\r\n        \"indexLevelName\": \"Umiarkowany\"\r\n    },\r\n    \"stSourceDataDate\": \"2017-03-28 12:00:00\",\r\n    \"so2CalcDate\": \"2017-03-28 12:00:00\",\r\n    \"so2IndexLevel\": null,\r\n    \"so2SourceDataDate\": \"2017-03-28 12:00:00\",\r\n    \"no2CalcDate\": \"2017-03-28 12:00:00\",\r\n    \"no2IndexLevel\": null,\r\n    \"no2SourceDataDate\": \"2017-03-28 12:00:00\",\r\n    \"coCalcDate\": \"2017-03-28 12:00:00\",\r\n    \"coIndexLevel\": null,\r\n    \"coSourceDataDate\": \"2017-03-28 12:00:00\",\r\n    \"pm10CalcDate\": \"2017-03-28 12:00:00\",\r\n    \"pm10IndexLevel\": null,\r\n    \"pm10SourceDataDate\": \"2017-03-28 12:00:00\",\r\n    \"pm25CalcDate\": \"2017-03-28 12:00:00\",\r\n    \"pm25IndexLevel\": null,\r\n    \"pm25SourceDataDate\": null,\r\n    \"o3CalcDate\": \"2017-03-28 12:00:00\",\r\n    \"o3IndexLevel\": null,\r\n    \"o3SourceDataDate\": \"2017-03-28 12:00:00\",\r\n    \"c6h6CalcDate\": \"2017-03-28 12:00:00\",\r\n    \"c6h6IndexLevel\": null,\r\n    \"c6h6SourceDataDate\": \"2017-03-28 12:00:00\"\r\n}\r\n```\r\n\r\n## Demo\r\nhttp://pjp.powietrze.lomza.pl/\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffu-hsi%2Fpjp-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffu-hsi%2Fpjp-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffu-hsi%2Fpjp-api/lists"}