{"id":34642449,"url":"https://github.com/cakevm/cowprotocol-client","last_synced_at":"2026-05-27T03:07:43.573Z","repository":{"id":259682251,"uuid":"858593654","full_name":"cakevm/cowprotocol-client","owner":"cakevm","description":"Async client for the Cow Protocol (CoW Swap)","archived":false,"fork":false,"pushed_at":"2025-01-24T17:16:50.000Z","size":64,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-24T18:23:41.935Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","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/cakevm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","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":"2024-09-17T07:22:28.000Z","updated_at":"2025-01-24T17:16:54.000Z","dependencies_parsed_at":"2025-01-24T18:33:58.748Z","dependency_job_id":null,"html_url":"https://github.com/cakevm/cowprotocol-client","commit_stats":null,"previous_names":["cakevm/cowprotocol-client-rs","cakevm/cowprotocol-client"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cakevm/cowprotocol-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cakevm%2Fcowprotocol-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cakevm%2Fcowprotocol-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cakevm%2Fcowprotocol-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cakevm%2Fcowprotocol-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cakevm","download_url":"https://codeload.github.com/cakevm/cowprotocol-client/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cakevm%2Fcowprotocol-client/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33548342,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-27T02:00:06.184Z","response_time":53,"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":[],"created_at":"2025-12-24T17:25:36.281Z","updated_at":"2026-05-27T03:07:43.566Z","avatar_url":"https://github.com/cakevm.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CoW Protocol REST API client\n\nThis crate provides an async client for interacting with the [CoW Protocol REST API](https://api.cow.fi/docs/#/). The benefit is to use typed models as they have been intended by the [Cow Protocol service](https://github.com/cowprotocol/services).\n\n## Status\nThe crate is currently just a showcase and not for productive use. Generated clients can be difficult to use when dealing with byte types like U256, Address, etc. This client directly uses some models from the [services](https://github.com/cowprotocol/services) repository, ensuring compatibility with the API. The long-term goal is to migrate everything to use [Alloy](https://github.com/alloy-rs/alloy) types or have some converter. This crate currently supports a limited set of API endpoints. If you need additional endpoints, please open an issue or a PR.\n\nCurrent concept for types:\n- The functions from this client accepting [alloy_primitives](https://docs.rs/alloy-primitives/latest/alloy_primitives/)\n- The return types can be models from [services](https://github.com/cowprotocol/services) with [ethereum-types](https://crates.io/crates/ethereum-types) or like Auction from this crate.\n\nFuture concept for types:\n- Alloy for all types\n\n### APIs\n```\n- Solver API (driver)\n  - /quote (GET)\n  - /solve (POST)\n  - /reveal (POST)\n  - /settle (POST)\n\n- Solver Engine API (solvers)\n  - /solve (POST)\n  - /notify (POST)\n\n- Order Book API (orderbook)\n  - /orders (POST, DELETE)\n  - /orders/{UID} (GET, DELETE)\n  - /orders/{UID}/status (GET)\n  - /transactions/{txHash}/orders (GET)\n  - /trades (GET)\n  - /auction (GET)\n  - /account/{owner}/orders (GET)\n  - /token/{token}/native_price (GET)\n  - /quote (POST)\n  - /solver_competition/{auction_id} (GET)\n  - /solver_competition/by_tx_hash/{tx_hash} (GET)\n  - /solver_competition/latest (GET)\n  - /version (GET)\n  - /app_data/{app_data_hash} (GET, PUT)\n  - /app_data (PUT)\n  - /users/{address}/total_surplus (GET)\n```\n\n## Usage\nSee the [examples](./examples) directory for usage examples.\n\n## Acknowledgements\nMany thanks to the [CoW Protocol](https://github.com/cowprotocol) team for making their service open source. This project uses the models from the [services](https://github.com/cowprotocol/services) repository.\n\n## License\nThis project is dual licensed under [Apache 2.0](./LICENSE-APACHE) or [MIT](./LICENSE-MIT). ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcakevm%2Fcowprotocol-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcakevm%2Fcowprotocol-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcakevm%2Fcowprotocol-client/lists"}