{"id":37562741,"url":"https://github.com/maisak/monobank-api","last_synced_at":"2026-01-16T09:07:54.137Z","repository":{"id":45565365,"uuid":"194381083","full_name":"maisak/monobank-api","owner":"maisak","description":"This library is a wrapper on Monobank open API","archived":false,"fork":false,"pushed_at":"2025-06-23T13:16:23.000Z","size":72,"stargazers_count":7,"open_issues_count":0,"forks_count":3,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-24T23:39:15.996Z","etag":null,"topics":["api","monobank","wrapper"],"latest_commit_sha":null,"homepage":"","language":"C#","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/maisak.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-06-29T08:09:44.000Z","updated_at":"2025-06-23T15:42:19.000Z","dependencies_parsed_at":"2024-09-10T11:52:16.493Z","dependency_job_id":"4ceeb3e7-7911-4edb-86cd-b31661fb2e41","html_url":"https://github.com/maisak/monobank-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/maisak/monobank-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maisak%2Fmonobank-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maisak%2Fmonobank-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maisak%2Fmonobank-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maisak%2Fmonobank-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maisak","download_url":"https://codeload.github.com/maisak/monobank-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maisak%2Fmonobank-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28478049,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T06:30:42.265Z","status":"ssl_error","status_checked_at":"2026-01-16T06:30:16.248Z","response_time":107,"last_error":"SSL_read: 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":["api","monobank","wrapper"],"created_at":"2026-01-16T09:07:53.989Z","updated_at":"2026-01-16T09:07:54.098Z","avatar_url":"https://github.com/maisak.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [Monobank](https://www.monobank.ua) API library\n[![NuGet version (Monobank.API.Core)](https://img.shields.io/nuget/v/Monobank.API.Core.svg?style=flat-square)](https://www.nuget.org/packages/Monobank.API.Core/)\n[![Build and test](https://github.com/maisak/monobank-api/actions/workflows/build-and-test.yaml/badge.svg)](https://github.com/maisak/monobank-api/actions/workflows/build-and-test.yaml)\n[![Package and publish](https://github.com/maisak/monobank-api/actions/workflows/package.yaml/badge.svg)](https://github.com/maisak/monobank-api/actions/workflows/package.yaml)\n\nThis library is a wrapper on Monobank open API. To use it you will need to get a personal token at https://api.monobank.ua/.\n## How to use:\n### Public API:\nAvailable without a personal token. Just intitialize MonoClient with it's default constructor.\n```\nstatic async Task Main(string[] args)\n{\n    var mono = new MonoClient();\n    var currencies = await mono.Currency.GetCurrencies();\n}\n```\n### Client API:\nAvailable only with a personal token.\n#### User information \n\n```\nstatic async Task Main(string[] args)\n{\n    var mono = new MonoClient(\"YOUR_TOKEN\");\n    var userInfo = await mono.Client.GetClientInfo();\n}\n```\n#### Statements\n```\nstatic async Task Main(string[] args)\n{\n    var mono = new MonoClient(\"YOUR_TOKEN\");\n    var statements = await mono.Client.GetStatements(from: new DateTime(2019, 6, 1), \n                                                     to: new DateTime(2019, 6, 30));\n}\n```\n#### Webhook\nAllows to be notified when there are transactions on user account.\n\nAccording to [documentation](https://api.monobank.ua/docs), you need a POST endpoint to listen to webhook and the same GET endpoint for backing services to check availability. If you set webhook at ```https:\\\\example.com\\webhook\\test``` url - you will actually need two endpoints:  \n**GET     https:\\\\example.com\\webhook\\test**  \n**POST    https:\\\\example.com\\webhook\\test**\n\n```\nstatic async Task Main(string[] args)\n{\n    var mono = new MonoClient(\"YOUR_TOKEN\");\n    bool success = await mono.Client.SetWebhook(\"https:\\\\example.com\\webhook\\test\");\n}\n```\nTo check webhook url - query user information and refer to ```webHookUrl``` property:\n```\nstatic async Task Main(string[] args)\n{\n    var mono = new MonoClient(\"YOUR_TOKEN\");\n    var userInfo = await mono.Client.GetClientInfo();\n    var webHookUrl = userInfo.WebHookUrl;\n}\n```\n## How to test:\nIn a test project create `appsettings.test.json` file. Set its `Copy to output directory` property to `Copy if newer`. Fill in the `ApiKey` field and enjoy safe testing :)\n```\n{\n    \"ApiKey\": \"\u003cyour-api-key\u003e\"\n}\n```\nNote: `appsettings.test.json` added to `.gitignore`, so it won't be commited and pushed to the repository.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaisak%2Fmonobank-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaisak%2Fmonobank-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaisak%2Fmonobank-api/lists"}