{"id":37022998,"url":"https://github.com/cryptocontrol/java-api","last_synced_at":"2026-01-14T02:45:22.687Z","repository":{"id":33045765,"uuid":"134536401","full_name":"cryptocontrol/java-api","owner":"cryptocontrol","description":"Java Client - Crypto News Api ","archived":false,"fork":false,"pushed_at":"2022-05-20T20:50:00.000Z","size":69,"stargazers_count":16,"open_issues_count":6,"forks_count":5,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-08-04T07:54:29.755Z","etag":null,"topics":["api","blockchain","cryptocurrencies","cryptocurrency","java","maven","news"],"latest_commit_sha":null,"homepage":"https://cryptocontrol.io/apis","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cryptocontrol.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}},"created_at":"2018-05-23T08:14:56.000Z","updated_at":"2024-05-28T08:43:03.000Z","dependencies_parsed_at":"2022-08-29T19:11:59.139Z","dependency_job_id":null,"html_url":"https://github.com/cryptocontrol/java-api","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/cryptocontrol/java-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptocontrol%2Fjava-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptocontrol%2Fjava-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptocontrol%2Fjava-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptocontrol%2Fjava-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cryptocontrol","download_url":"https://codeload.github.com/cryptocontrol/java-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptocontrol%2Fjava-api/sbom","scorecard":{"id":310217,"data":{"date":"2025-08-11","repo":{"name":"github.com/cryptocontrol/java-api","commit":"1ca9fd3fd78e9ff0cc011297b63973ff923479f9"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.8,"checks":[{"name":"Code-Review","score":0,"reason":"Found 1/29 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: GNU General Public License v3.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":8,"reason":"2 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-4jrv-ppp4-jm57","Warn: Project is vulnerable to: GHSA-7r82-7xv7-xcpj"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 2 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-17T23:03:29.861Z","repository_id":33045765,"created_at":"2025-08-17T23:03:29.861Z","updated_at":"2025-08-17T23:03:29.861Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28408735,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T01:52:23.358Z","status":"online","status_checked_at":"2026-01-14T02:00:06.678Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["api","blockchain","cryptocurrencies","cryptocurrency","java","maven","news"],"created_at":"2026-01-14T02:45:22.094Z","updated_at":"2026-01-14T02:45:22.676Z","avatar_url":"https://github.com/cryptocontrol.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"Java Client - CryptoControl Crypto News Api\n===========================================\n\nOfficial Java client for the [CryptoControl.io](https://cryptocontrol.io) API. The CryptoControl java client lets developers access rich formatted articles from crypto news sources from all around the world.\nIt also allows developers to get access to a rich database of information (website, coin summary, blockexplorers, extra links etc..) for the top 2000 cryptocurrencies on CoinMarketCap.\n\nSprecial thanks to our contributors\n- [PrograMonks](https://play.google.com/store/apps/developer?id=PrograMonks\u0026hl=en) for pointing out a serialization issue when using with Progaurd\n\n## Installation\nAdd this dependency into your `pom.xml` file.\n\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003eio.cryptocontrol\u003c/groupId\u003e\n    \u003cartifactId\u003ecrypto-news-api\u003c/artifactId\u003e\n    \u003cversion\u003e2.5.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\nor use with gradle\n\n```\ncompile 'io.cryptocontrol:crypto-news-api:2.5.0'\n```\n\n\n## Usage\nFirst make sure that you've recieved an API key by visiting [https://cryptocontrol.io/apis](https://cryptocontrol.io/apis). With the API key, you can write the following code.\n\n```java\n// Connect to the CryptoControl API\nCryptoControlApi api = new CryptoControlApi(\"API_KEY\");\n\n// Connect to a self-hosted proxy server (to improve performance) that points to cryptocontrol.io\nCryptoControlApi proxyApi = new CryptoControlApi(\"API_KEY\", \"http://cryptocontrol_proxy/api/v1/public\");\n\n// Enable sentiment datapoints\napi.enableSentiment();\n\n// Get top crypto news\napi.getTopNews(new CryptoControlApi.OnResponseHandler\u003cList\u003cArticle\u003e\u003e() {\n    public void onSuccess(List\u003cArticle\u003e body) {\n        for (Article article : body) {\n            System.out.println(article.getTitle());\n        }\n    }\n\n\n    public void onFailure(Exception e) {\n        e.printStackTrace();\n    }\n});\n\n// Get latest tweets for bitcoin\napi.getLatestTweetsByCoin(\"bitcoin\", new CryptoControlApi.OnResponseHandler\u003cList\u003cTweet\u003e\u003e() {\n    @Override public void onSuccess(List\u003cTweet\u003e body) {\n        for (Tweet post : body) {\n            System.out.println(post.getId());\n        }\n    }\n\n\n    @Override public void onFailure(Exception e) {\n        e.printStackTrace();\n    }\n});\n\n// Get latest russian crypto news\napi.getLatestNews(Language.RUSSIAN, new CryptoControlApi.OnResponseHandler\u003cList\u003cArticle\u003e\u003e() {\n    @Override public void onSuccess(List\u003cArticle\u003e body) {\n        for (Article article : body) {\n            System.out.println(article.getTitle());\n        }\n    }\n\n\n    @Override public void onFailure(Exception e) {\n\n    }\n});\n\n// Get rich metadata (wallets, blockexplorers, twitter handles etc..) for ethereum\napi.getCoinDetails(\"ethereum\", new CryptoControlApi.OnResponseHandler\u003cCoinDetail\u003e() {\n    @Override public void onSuccess(CoinDetail body) {\n        System.out.println(body.getDescription());\n    }\n\n\n    @Override public void onFailure(Exception e) {\n        e.printStackTrace();\n    }\n});\n\n```\n\n\n## Available Functions\n\n- **getTopNews(lang?: enum)** Get the top news articles.\n- **getLatestNews(lang?: enum)** Get the latest news articles.\n- **getTopNewsByCategory(lang?: enum)** Get news articles grouped by category.\n- **getTopNewsByCoin(lang?: enum, coin: String)** Get the top news articles for a specific coin from the CryptoControl API.\n- **getLatestNewsByCoin(lang?: enum, coin: String)** Get the latest news articles for a specific coin.\n- **getTopNewsByCoinCategory(lang?: enum, coin: String)** Get news articles grouped by category for a specific coin.\n- **getTopRedditPostsByCoin(lang?: enum, coin: String)** Get top reddit posts for a particular coin\n- **getLatestRedditPostsByCoin(lang?: enum, coin: String)** Get latest reddit posts for a particular coin\n- **getTopTweetsByCoin(lang?: enum, coin: String)** Get top tweets for a particular coin\n- **getLatestTweetsByCoin(lang?: enum, coin: String)** Get latest tweets for a particular coin\n- **getTopFeedByCoin(lang?: enum, coin: String)** Get a combined feed (reddit/tweets/articles) for a particular coin (sorted by time)\n- **getLatestFeedByCoin(lang?: enum, coin: String)** Get a combined feed (reddit/tweets/articles) for a particular coin (sorted by relevance)\n- **getCoinDetails(coin: String)** Get all details about a particular coin (links, description, subreddits, twitter etc..)\n- **enableSentiment()** Get the sentiment datapoints\n\n\n`lang` allows developers to choose which language they'd like to get the feed. Currently the CryptoControl API supports the following languages:\n- English (`en` default)\n- Chinese/Mandarin (`cn`)\n- German (`de`)\n- Italian (`it`)\n- Japanese (`jp`)\n- Korean (`ko`)\n- Portuguese (`po`)\n- Russian (`ru`)\n- Spanish (`es`)\n\nThe coin slugs are the coin id's used from the CoinMarketCap api. You can see the full list of coins here: [https://api.coinmarketcap.com/v1/ticker/?limit=2000](https://api.coinmarketcap.com/v1/ticker/?limit=2000)\n\n`enableSentiment()` will tell CrpytoControl to return articles/reddit/twitter with sentiment datapoints as well (ie. how much +ve/-ve an article is). This feature is for [CryptoControl premium users](https://cryptocontrol.io/en/about/premium) only.\n\n## Sample response from the server\n\n```\n[{\n    \"hotness\": 70862.60323026273,\n    \"activityHotness\": 4.601980262729618,\n    \"primaryCategory\": \"General\",\n    \"words\": 1444,\n    \"similarArticles\": [\n        {\n            \"_id\": \"5b363b525b113200191a1d5f\",\n            \"publishedAt\": \"2018-06-29T13:42:44.000Z\",\n            \"title\": \"Op-Ed: Challenge of Mining Centralization Unveils Bitcoin’s Elegant Design\",\n            \"url\": \"https://cryptocontrol.io/r/api/article/5b363b525b113200191a1d5f?ref=5ac11440ec0af7be35528459\",\n            \"source\": {\n                \"_id\": \"59d8c361ef8bf95cc2bfb66f\",\n                \"name\": \"Bitcoin Magazine\",\n                \"url\": \"https://bitcoinmagazine.com/\"\n            },\n            \"sourceDomain\": \"bitcoinmagazine.com\",\n            \"thumbnail\": null\n        },\n        {\n            \"_id\": \"5b3865405c5681000f2f7407\",\n            \"publishedAt\": \"2018-06-30T14:58:00.000Z\",\n            \"title\": \"Arbitration on a Governed Blockchain: EOS’ Crisis of Dispute Resolution\",\n            \"url\": \"https://cryptocontrol.io/r/api/article/5b3865405c5681000f2f7407?ref=5ac11440ec0af7be35528459\",\n            \"source\": {\n                \"_id\": \"59d70be3ef8bf95cc2aa2b4f\",\n                \"name\": \"CoinTelegraph\",\n                \"url\": \"https://cointelegraph.com/\"\n            },\n            \"sourceDomain\": \"cointelegraph.com\",\n            \"thumbnail\": null\n        }\n    ],\n    \"coins\": [\n        {\n            \"_id\": \"59cb59f9b0836b0a63aebc7c\",\n            \"name\": \"Ethereum\",\n            \"tradingSymbol\": \"eth\",\n            \"slug\": \"ethereum\"\n        },\n        {\n            \"_id\": \"59d21e9b83a0523906a45dc5\",\n            \"name\": \"EOS\",\n            \"slug\": \"eos\",\n            \"tradingSymbol\": \"eos\"\n        }\n    ],\n    \"_id\": \"5b3a2e1b104844000fd64e28\",\n    \"description\": \"The EOS governance disaster offers a strong reminder of how entrenched human mistrust can be difficult to overcome.\",\n    \"publishedAt\": \"2018-07-02T12:00:27.000Z\",\n    \"title\": \"It's Too Soon for On-Chain Governance - CoinDesk\",\n    \"url\": \"https://cryptocontrol.io/r/api/article/5b3a2e1b104844000fd64e28?ref=5ac11440ec0af7be35528459\",\n    \"source\": {\n        \"_id\": \"59ce11393a44cf289a9a71f5\",\n        \"name\": \"CoinDesk\",\n        \"url\": \"http://coindesk.com\"\n    },\n    \"thumbnail\": \"https://cryptocontrol.io/r/thumbnail/5b3a2e1b104844000fd64e28?ref=5ac11440ec0af7be35528459\",\n    \"sourceName\": \"CoinDesk\",\n    \"sourceUrl\": \"http://coindesk.com\",\n    \"sourceDomain\": \"coindesk.com\",\n    \"originalImageUrl\": \"https://media.coindesk.com/uploads/2018/06/shutterstock_153840266-e1530230263310.jpg\"\n}]\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcryptocontrol%2Fjava-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcryptocontrol%2Fjava-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcryptocontrol%2Fjava-api/lists"}