{"id":21390046,"url":"https://github.com/k0swe/dxcc-json","last_synced_at":"2025-07-13T16:31:57.905Z","repository":{"id":44156930,"uuid":"329699969","full_name":"k0swe/dxcc-json","owner":"k0swe","description":"JSON reference for amateur radio DXCC entities","archived":false,"fork":false,"pushed_at":"2024-11-11T01:44:28.000Z","size":40,"stargazers_count":24,"open_issues_count":4,"forks_count":6,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-11-11T02:32:32.976Z","etag":null,"topics":["amateur-radio","dxcc","json"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/k0swe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-14T18:23:25.000Z","updated_at":"2024-11-11T01:44:32.000Z","dependencies_parsed_at":"2024-11-03T17:19:33.209Z","dependency_job_id":null,"html_url":"https://github.com/k0swe/dxcc-json","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k0swe%2Fdxcc-json","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k0swe%2Fdxcc-json/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k0swe%2Fdxcc-json/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k0swe%2Fdxcc-json/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/k0swe","download_url":"https://codeload.github.com/k0swe/dxcc-json/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225901193,"owners_count":17542183,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["amateur-radio","dxcc","json"],"created_at":"2024-11-22T13:15:10.235Z","updated_at":"2024-11-22T13:15:10.701Z","avatar_url":"https://github.com/k0swe.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DXCC JSON\n\nThis repository contains a JSON reference for amateur radio\n[DX Century Club (DXCC)](https://www.arrl.org/dxcc) entities as maintained by the\n[Amateur Radio Relay League (ARRL)](https://www.arrl.org). This is intended for consumption by other\namateur radio software.\n\nThe reference data started from the\n[ARRL Country Lists \u0026 Prefixes](https://www.arrl.org/country-lists-prefixes) page, specifically the\n[February 2020 text listing](https://www.arrl.org/files/file/DXCC/2020%20Current_Deleted.txt). That\ndocument was imported into a\n[Google Spreadsheet](https://docs.google.com/spreadsheets/d/1N1eMxi54yTwvizOzVeugWtLxfXGfK92WOavEjnfIdFw/edit#gid=0)\nfor formatting and cleansing. I added country codes, unicode flag glyphs and callsign prefix regular\nexpressions (regexes), and exported the spreadsheet as the CSV contained in this repository.\nFinally, the included python script generates the JSON file.\n\nOne simple way to generate a smaller file with just what you need is to use the `jq` utility.\n\n```commandline\n$ \u003c dxcc.json jq -c '{dxcc: [ .dxcc[] | select( .deleted==false ) | \n    {id: .entityCode, name: .name, prefixRegex: .prefixRegex, flag: .flag} ]}' \u003e dxcc-filter.json\n\n{\n  \"dxcc\": [\n    {\n      \"id\": 1,\n      \"name\": \"Canada\",\n      \"prefixRegex\": \"^V[A-GOY][A-Z0-9/]*$\",\n      \"flag\": \"🇨🇦\"\n    },\n    {\n      \"id\": 3,\n      \"name\": \"Afghanistan\",\n      \"prefixRegex\": \"^(YA|T6)[A-Z0-9/]*$\",\n      \"flag\": \"🇦🇫\"\n    },\n...\n    {\n      \"id\": 522,\n      \"name\": \"Kosovo\",\n      \"prefixRegex\": \"^Z6[A-Z0-9/]*$\",\n      \"flag\": \"🇽🇰\"\n    }\n  ]\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk0swe%2Fdxcc-json","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fk0swe%2Fdxcc-json","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk0swe%2Fdxcc-json/lists"}