{"id":21927614,"url":"https://github.com/burgossrodrigo/aggregator","last_synced_at":"2026-05-09T17:46:20.456Z","repository":{"id":240103748,"uuid":"801680993","full_name":"burgossrodrigo/aggregator","owner":"burgossrodrigo","description":"Interation with 0x through golang","archived":false,"fork":false,"pushed_at":"2024-05-16T19:18:31.000Z","size":9,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-19T23:31:58.108Z","etag":null,"topics":["0x","defi","fasthttp","gin","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","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/burgossrodrigo.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}},"created_at":"2024-05-16T17:51:16.000Z","updated_at":"2024-06-11T10:25:06.000Z","dependencies_parsed_at":"2024-05-16T19:28:03.046Z","dependency_job_id":"01a5b646-eb5f-42d5-b861-485497690cea","html_url":"https://github.com/burgossrodrigo/aggregator","commit_stats":null,"previous_names":["burgossrodrigo/aggregator"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/burgossrodrigo%2Faggregator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/burgossrodrigo%2Faggregator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/burgossrodrigo%2Faggregator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/burgossrodrigo%2Faggregator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/burgossrodrigo","download_url":"https://codeload.github.com/burgossrodrigo/aggregator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244952807,"owners_count":20537474,"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":["0x","defi","fasthttp","gin","golang"],"created_at":"2024-11-28T22:16:41.400Z","updated_at":"2026-05-09T17:46:15.425Z","avatar_url":"https://github.com/burgossrodrigo.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Integrating 0x api with Golang!\n\n### GET /zerox/sources/:chain\n\nThis route allow the user to retrieve the protocols 0x will be interacting according to the chain name.\n\n```curl\n\ncurl http://localhost:8080/zerox/sources\n\n```\n\n```json\n{\"records\":[\"MultiHop\",\"Uniswap_V3\"]}\n```\n\n### GET /zerox/price/:chain/:sellToken/:buyToken:sellAmount\n\nThis route allow the user to retrieve from 0x token price along with a couple of data.\n\n```curl\nhttp://localhost:8080/zerox/price/ethereum/0xdAC17F958D2ee523a2206206994597C13D831ec7/0x95aD61b0a150d79219dCF64E1E6Cc01f0B64C4cE/1000\n```\n\n```json\n{\n\"price\":\"40234.034344676906158\",\n\"value\":\"0\",\n\"gas\":\"151000\",\n\"estimateGas\":\"\",\n\"sources\":[\n{\n\"name\":\"0x\",\n\"proportion\":\"0\"\n},\n{\n\"name\":\"Uniswap\",\n\"proportion\":\"0\"\n},\n{\n\"name\":\"Uniswap_V2\",\n\"proportion\":\"1\"\n},\n{\n\"name\":\"Curve\",\n\"proportion\":\"0\"\n},\n{\n\"name\":\"Balancer\",\n\"proportion\":\"0\"\n},\n{\n\"name\":\"Balancer_V2\",\n\"proportion\":\"0\"\n},\n{\n\"name\":\"BancorV3\",\n\"proportion\":\"0\"\n},\n{\n\"name\":\"SushiSwap\",\n\"proportion\":\"0\"\n},\n{\n\"name\":\"DODO\",\n\"proportion\":\"0\"\n},\n{\n\"name\":\"DODO_V2\",\n\"proportion\":\"0\"\n},\n{\n\"name\":\"CryptoCom\",\n\"proportion\":\"0\"\n},\n{\n\"name\":\"Lido\",\n\"proportion\":\"0\"\n},\n{\n\"name\":\"MakerPsm\",\n\"proportion\":\"0\"\n},\n{\n\"name\":\"KyberDMM\",\n\"proportion\":\"0\"\n},\n{\n\"name\":\"Uniswap_V3\",\n\"proportion\":\"0\"\n},\n{\n\"name\":\"Curve_V2\",\n\"proportion\":\"0\"\n},\n{\n\"name\":\"ShibaSwap\",\n\"proportion\":\"0\"\n},\n{\n\"name\":\"Synapse\",\n\"proportion\":\"0\"\n},\n{\n\"name\":\"Synthetix\",\n\"proportion\":\"0\"\n},\n{\n\"name\":\"Aave_V2\",\n\"proportion\":\"0\"\n},\n{\n\"name\":\"Compound\",\n\"proportion\":\"0\"\n},\n{\n\"name\":\"KyberElastic\",\n\"proportion\":\"0\"\n},\n{\n\"name\":\"Maverick_V1\",\n\"proportion\":\"0\"\n},\n{\n\"name\":\"PancakeSwap_V3\",\n\"proportion\":\"0\"\n}\n]\n}\n```\n\n### GET /zerox/price/:chain/:sellToken/:buyToken/:sellAmount/:takerAddress/:feeRecipient/:feePercentage\n\nThis routes returns raw unsigned tx data to be signed from your preferable blockchain client.\nRemember that the `takerAddress` needs to give allowance to 0x route first!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fburgossrodrigo%2Faggregator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fburgossrodrigo%2Faggregator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fburgossrodrigo%2Faggregator/lists"}