{"adoption": {"forks": 358, "observed_at": "2026-08-28T04:06:33.259660+00:00", "stars": 2273}, "canonical_url": "https://ross.abutalabs.com/products/restcountries", "card": {"archived": true, "artifact_type": "service", "description": "Get information about countries via a RESTful API", "domain": ["apis", "web-development", "backend", "self-hosted"], "enriched": true, "function": ["http-server", "api-framework", "search-engine"], "health_score": 10, "homepage": "https://restcountries.eu", "language": "Java", "license": "MPL-2.0", "license_family": "copyleft", "maturity": "maintenance", "member_repos": ["apilayer/restcountries"], "name": "apilayer/restcountries", "platform": ["jvm", "self-hosted", "cross-platform"], "pushed_at": "2023-11-27T06:33:03+00:00", "repo": "apilayer/restcountries", "stars": 2273, "tags": ["rest-api", "country-data", "iso-3166", "geolocation", "-api", "open-data", "geospatial", "web-server"], "topics": ["rest-countries", "rest", "java", "countries", "rest-api"], "urls": [], "use_cases": ["get country data by iso code in my app", "look up countries by currency or language", "populate a country dropdown with capitals and flags", "self-host a free countries rest api", "filter countries by region or regional bloc", "find a country by its calling code", "fetch country names and translations in"], "what_it_is": "REST Countries is a Java-based RESTful API that serves information about world countries, including names, ISO codes, currencies, languages, capitals, calling codes, regions, and flags, queryable via endpoints like /name, /alpha, /currency, and /region. It can be self-hosted from this repository, while the hosted version has been commercialized by apilayer as countrylayer.", "when_to_avoid": ["you need frequently updated demographic or economic data rather than static reference data", "you want a managed commercial API with support and SLAs (consider countrylayer)", "you need geocoding or address-level data instead of country-level facts"], "when_to_choose": ["you need free, structured country reference data without licensing hassle", "you want to self-host the API and control availability and rate limits", "your app needs lookups by name, code, currency, language, capital, calling code, or region"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/restcountries", "repo": "apilayer/restcountries", "role": "main", "score": 10}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:06:33.259660+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:41:40.304242+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e3ba130ae238f61018e471b27f8ccb8de75c1f9311ac9ab9b4e0d5adf0ee9982", "fetched_at": "2026-08-28T04:06:33.259660+00:00", "kind": "readme", "missing": false, "url": "https://github.com/apilayer/restcountries"}, {"content_hash": "10b0826982a2beb7508f83ce0363b17caa0e1dfe404195b9cf7737f9936777f0", "fetched_at": "2026-08-29T10:22:16.716958+00:00", "kind": "homepage", "missing": false, "url": "https://restcountries.eu"}, {"content_hash": "e559b9d4af3b10624be83806bed2a9bdb141552fe20a6b0747df93b06c556aeb", "fetched_at": "2026-08-29T10:22:16.726194+00:00", "kind": "site_page", "missing": false, "url": "https://countrylayer.com/pricing"}, {"content_hash": "8e858ea873a69eedd95473c4a7cf2ba8b81c102a28132b4414f718770a802347", "fetched_at": "2026-08-29T10:22:16.727904+00:00", "kind": "site_page", "missing": false, "url": "https://countrylayer.com/faq"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:06:33.259660+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:41:40.304242+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e3ba130ae238f61018e471b27f8ccb8de75c1f9311ac9ab9b4e0d5adf0ee9982", "fetched_at": "2026-08-28T04:06:33.259660+00:00", "kind": "readme", "missing": false, "url": "https://github.com/apilayer/restcountries"}, {"content_hash": "10b0826982a2beb7508f83ce0363b17caa0e1dfe404195b9cf7737f9936777f0", "fetched_at": "2026-08-29T10:22:16.716958+00:00", "kind": "homepage", "missing": false, "url": "https://restcountries.eu"}, {"content_hash": "e559b9d4af3b10624be83806bed2a9bdb141552fe20a6b0747df93b06c556aeb", "fetched_at": "2026-08-29T10:22:16.726194+00:00", "kind": "site_page", "missing": false, "url": "https://countrylayer.com/pricing"}, {"content_hash": "8e858ea873a69eedd95473c4a7cf2ba8b81c102a28132b4414f718770a802347", "fetched_at": "2026-08-29T10:22:16.727904+00:00", "kind": "site_page", "missing": false, "url": "https://countrylayer.com/faq"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:41:40.304242+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e3ba130ae238f61018e471b27f8ccb8de75c1f9311ac9ab9b4e0d5adf0ee9982", "fetched_at": "2026-08-28T04:06:33.259660+00:00", "kind": "readme", "missing": false, "url": "https://github.com/apilayer/restcountries"}, {"content_hash": "10b0826982a2beb7508f83ce0363b17caa0e1dfe404195b9cf7737f9936777f0", "fetched_at": "2026-08-29T10:22:16.716958+00:00", "kind": "homepage", "missing": false, "url": "https://restcountries.eu"}, {"content_hash": "e559b9d4af3b10624be83806bed2a9bdb141552fe20a6b0747df93b06c556aeb", "fetched_at": "2026-08-29T10:22:16.726194+00:00", "kind": "site_page", "missing": false, "url": "https://countrylayer.com/pricing"}, {"content_hash": "8e858ea873a69eedd95473c4a7cf2ba8b81c102a28132b4414f718770a802347", "fetched_at": "2026-08-29T10:22:16.727904+00:00", "kind": "site_page", "missing": false, "url": "https://countrylayer.com/faq"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:06:33.259660+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:06:33.259660+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:06:33.259660+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:41:40.304242+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e3ba130ae238f61018e471b27f8ccb8de75c1f9311ac9ab9b4e0d5adf0ee9982", "fetched_at": "2026-08-28T04:06:33.259660+00:00", "kind": "readme", "missing": false, "url": "https://github.com/apilayer/restcountries"}, {"content_hash": "10b0826982a2beb7508f83ce0363b17caa0e1dfe404195b9cf7737f9936777f0", "fetched_at": "2026-08-29T10:22:16.716958+00:00", "kind": "homepage", "missing": false, "url": "https://restcountries.eu"}, {"content_hash": "e559b9d4af3b10624be83806bed2a9bdb141552fe20a6b0747df93b06c556aeb", "fetched_at": "2026-08-29T10:22:16.726194+00:00", "kind": "site_page", "missing": false, "url": "https://countrylayer.com/pricing"}, {"content_hash": "8e858ea873a69eedd95473c4a7cf2ba8b81c102a28132b4414f718770a802347", "fetched_at": "2026-08-29T10:22:16.727904+00:00", "kind": "site_page", "missing": false, "url": "https://countrylayer.com/faq"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:06:33.259660+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:06:33.259660+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:41:40.304242+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e3ba130ae238f61018e471b27f8ccb8de75c1f9311ac9ab9b4e0d5adf0ee9982", "fetched_at": "2026-08-28T04:06:33.259660+00:00", "kind": "readme", "missing": false, "url": "https://github.com/apilayer/restcountries"}, {"content_hash": "10b0826982a2beb7508f83ce0363b17caa0e1dfe404195b9cf7737f9936777f0", "fetched_at": "2026-08-29T10:22:16.716958+00:00", "kind": "homepage", "missing": false, "url": "https://restcountries.eu"}, {"content_hash": "e559b9d4af3b10624be83806bed2a9bdb141552fe20a6b0747df93b06c556aeb", "fetched_at": "2026-08-29T10:22:16.726194+00:00", "kind": "site_page", "missing": false, "url": "https://countrylayer.com/pricing"}, {"content_hash": "8e858ea873a69eedd95473c4a7cf2ba8b81c102a28132b4414f718770a802347", "fetched_at": "2026-08-29T10:22:16.727904+00:00", "kind": "site_page", "missing": false, "url": "https://countrylayer.com/faq"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:06:33.259660+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:06:33.259660+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:06:33.259660+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:41:40.304242+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e3ba130ae238f61018e471b27f8ccb8de75c1f9311ac9ab9b4e0d5adf0ee9982", "fetched_at": "2026-08-28T04:06:33.259660+00:00", "kind": "readme", "missing": false, "url": "https://github.com/apilayer/restcountries"}, {"content_hash": "10b0826982a2beb7508f83ce0363b17caa0e1dfe404195b9cf7737f9936777f0", "fetched_at": "2026-08-29T10:22:16.716958+00:00", "kind": "homepage", "missing": false, "url": "https://restcountries.eu"}, {"content_hash": "e559b9d4af3b10624be83806bed2a9bdb141552fe20a6b0747df93b06c556aeb", "fetched_at": "2026-08-29T10:22:16.726194+00:00", "kind": "site_page", "missing": false, "url": "https://countrylayer.com/pricing"}, {"content_hash": "8e858ea873a69eedd95473c4a7cf2ba8b81c102a28132b4414f718770a802347", "fetched_at": "2026-08-29T10:22:16.727904+00:00", "kind": "site_page", "missing": false, "url": "https://countrylayer.com/faq"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:06:33.259660+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:06:33.259660+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:41:40.304242+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e3ba130ae238f61018e471b27f8ccb8de75c1f9311ac9ab9b4e0d5adf0ee9982", "fetched_at": "2026-08-28T04:06:33.259660+00:00", "kind": "readme", "missing": false, "url": "https://github.com/apilayer/restcountries"}, {"content_hash": "10b0826982a2beb7508f83ce0363b17caa0e1dfe404195b9cf7737f9936777f0", "fetched_at": "2026-08-29T10:22:16.716958+00:00", "kind": "homepage", "missing": false, "url": "https://restcountries.eu"}, {"content_hash": "e559b9d4af3b10624be83806bed2a9bdb141552fe20a6b0747df93b06c556aeb", "fetched_at": "2026-08-29T10:22:16.726194+00:00", "kind": "site_page", "missing": false, "url": "https://countrylayer.com/pricing"}, {"content_hash": "8e858ea873a69eedd95473c4a7cf2ba8b81c102a28132b4414f718770a802347", "fetched_at": "2026-08-29T10:22:16.727904+00:00", "kind": "site_page", "missing": false, "url": "https://countrylayer.com/faq"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:41:40.304242+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e3ba130ae238f61018e471b27f8ccb8de75c1f9311ac9ab9b4e0d5adf0ee9982", "fetched_at": "2026-08-28T04:06:33.259660+00:00", "kind": "readme", "missing": false, "url": "https://github.com/apilayer/restcountries"}, {"content_hash": "10b0826982a2beb7508f83ce0363b17caa0e1dfe404195b9cf7737f9936777f0", "fetched_at": "2026-08-29T10:22:16.716958+00:00", "kind": "homepage", "missing": false, "url": "https://restcountries.eu"}, {"content_hash": "e559b9d4af3b10624be83806bed2a9bdb141552fe20a6b0747df93b06c556aeb", "fetched_at": "2026-08-29T10:22:16.726194+00:00", "kind": "site_page", "missing": false, "url": "https://countrylayer.com/pricing"}, {"content_hash": "8e858ea873a69eedd95473c4a7cf2ba8b81c102a28132b4414f718770a802347", "fetched_at": "2026-08-29T10:22:16.727904+00:00", "kind": "site_page", "missing": false, "url": "https://countrylayer.com/faq"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:41:40.304242+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e3ba130ae238f61018e471b27f8ccb8de75c1f9311ac9ab9b4e0d5adf0ee9982", "fetched_at": "2026-08-28T04:06:33.259660+00:00", "kind": "readme", "missing": false, "url": "https://github.com/apilayer/restcountries"}, {"content_hash": "10b0826982a2beb7508f83ce0363b17caa0e1dfe404195b9cf7737f9936777f0", "fetched_at": "2026-08-29T10:22:16.716958+00:00", "kind": "homepage", "missing": false, "url": "https://restcountries.eu"}, {"content_hash": "e559b9d4af3b10624be83806bed2a9bdb141552fe20a6b0747df93b06c556aeb", "fetched_at": "2026-08-29T10:22:16.726194+00:00", "kind": "site_page", "missing": false, "url": "https://countrylayer.com/pricing"}, {"content_hash": "8e858ea873a69eedd95473c4a7cf2ba8b81c102a28132b4414f718770a802347", "fetched_at": "2026-08-29T10:22:16.727904+00:00", "kind": "site_page", "missing": false, "url": "https://countrylayer.com/faq"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:41:40.304242+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e3ba130ae238f61018e471b27f8ccb8de75c1f9311ac9ab9b4e0d5adf0ee9982", "fetched_at": "2026-08-28T04:06:33.259660+00:00", "kind": "readme", "missing": false, "url": "https://github.com/apilayer/restcountries"}, {"content_hash": "10b0826982a2beb7508f83ce0363b17caa0e1dfe404195b9cf7737f9936777f0", "fetched_at": "2026-08-29T10:22:16.716958+00:00", "kind": "homepage", "missing": false, "url": "https://restcountries.eu"}, {"content_hash": "e559b9d4af3b10624be83806bed2a9bdb141552fe20a6b0747df93b06c556aeb", "fetched_at": "2026-08-29T10:22:16.726194+00:00", "kind": "site_page", "missing": false, "url": "https://countrylayer.com/pricing"}, {"content_hash": "8e858ea873a69eedd95473c4a7cf2ba8b81c102a28132b4414f718770a802347", "fetched_at": "2026-08-29T10:22:16.727904+00:00", "kind": "site_page", "missing": false, "url": "https://countrylayer.com/faq"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["archived"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4711, "days_push": 1010, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 10, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}