{"id":18394756,"url":"https://github.com/reecepbcups/exports-api","last_synced_at":"2025-04-12T13:20:14.185Z","repository":{"id":186187961,"uuid":"670247552","full_name":"Reecepbcups/exports-api","owner":"Reecepbcups","description":"An easy API to get historical data without an archive node","archived":false,"fork":false,"pushed_at":"2023-11-28T15:15:59.000Z","size":73,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-16T02:14:52.546Z","etag":null,"topics":["airdrops","cosmos","interchain"],"latest_commit_sha":null,"homepage":"https://exports-api.reece.sh","language":"TypeScript","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/Reecepbcups.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":"2023-07-24T16:02:50.000Z","updated_at":"2023-07-24T18:38:10.000Z","dependencies_parsed_at":"2024-12-24T09:24:41.210Z","dependency_job_id":"3e534238-430f-4cfe-be5e-62ab943b0ba3","html_url":"https://github.com/Reecepbcups/exports-api","commit_stats":null,"previous_names":["reecepbcups/exports-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Reecepbcups%2Fexports-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Reecepbcups%2Fexports-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Reecepbcups%2Fexports-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Reecepbcups%2Fexports-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Reecepbcups","download_url":"https://codeload.github.com/Reecepbcups/exports-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248571836,"owners_count":21126522,"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":["airdrops","cosmos","interchain"],"created_at":"2024-11-06T02:07:16.910Z","updated_at":"2025-04-12T13:20:14.165Z","avatar_url":"https://github.com/Reecepbcups.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# exports-api\nAn easy API to get historical data without an archive node.\n\n\u003chttps://exports.reece.sh\u003e\n\n**Pairs with** https://github.com/Reecepbcups/cosmos-state-exporter\n\n## Setup\n\n```bash\n\ngit clone git@github.com:Reecepbcups/exports-api.git \u0026\u0026 cd exports-api\n\ncp custom-types.example.json custom-types.json # and modify as needed\n\n# install node if you have not already\ncurl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash\nnvm install v20.5.0\n\n# install nodemon\nnpm install -g nodemon\n\n# enter into a screen / tmux session (or created a systemd service)\nscreen -S exports-api -dm bash -c \"npm i \u0026\u0026 npm run dev \u0026\u0026 exec bash\"\n\n# schedule: clear decompressed exports to save space\n# (( match the path to .env DECOMPRESSED_ROOT_PATH ))\nsudo crontab -e\n# 0 0 * * * rm -rf /home/user/path/decompressed_exports/*\n\n```\n\n## View\n\n```json\n{\n  \"chains\": {\n    \"Available\": \"/chains\"\n  },\n  \"routes\": {\n    \"All Heights\": \"/:chain/heights\",\n    \"Valid Types\": \"/:chain/types\",\n    \"Download Archive\": \"/:chain/download/:height\"\n  },\n  \"general\": {\n    \"Account Info\": \"/:chain/:height/auth\",\n    \"All Stakers\": \"/:chain/:height/staking\",\n    \"Balances\": \"/:chain/:height/bank\",\n    \"Supply\": \"/:chain/:height/supply\"\n  },\n  \"specific\": {\n    \"Validators Shares\": \"/:chain/:height/validators\",\n    \"Specific Delegations\": \"/:chain/:height/delegations/:valoper_address\",\n    \"User Specific\": \"/:chain/:height/:type/:address\"\n  }\n}\n```\n*NOTE* :height can be any numerical value within the /heights endpoint OR \"latest\" for the latest height\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freecepbcups%2Fexports-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freecepbcups%2Fexports-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freecepbcups%2Fexports-api/lists"}