{"id":15658930,"url":"https://github.com/iamnotstatic/tokenstats","last_synced_at":"2025-07-13T17:37:24.884Z","repository":{"id":41054241,"uuid":"381432074","full_name":"iamnotstatic/tokenstats","owner":"iamnotstatic","description":"A super simple and lightweight API to get crypto token live information.","archived":false,"fork":false,"pushed_at":"2021-10-21T19:40:20.000Z","size":26,"stargazers_count":20,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-30T22:32:19.751Z","etag":null,"topics":["binance-smart-chain","blockchain","cryptocurrency","ethereum","ethereum-contract"],"latest_commit_sha":null,"homepage":"https://tokenstats.herokuapp.com","language":"JavaScript","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/iamnotstatic.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}},"created_at":"2021-06-29T16:35:43.000Z","updated_at":"2024-09-04T10:50:08.000Z","dependencies_parsed_at":"2022-09-20T01:01:09.140Z","dependency_job_id":null,"html_url":"https://github.com/iamnotstatic/tokenstats","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamnotstatic%2Ftokenstats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamnotstatic%2Ftokenstats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamnotstatic%2Ftokenstats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamnotstatic%2Ftokenstats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iamnotstatic","download_url":"https://codeload.github.com/iamnotstatic/tokenstats/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252542060,"owners_count":21764907,"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":["binance-smart-chain","blockchain","cryptocurrency","ethereum","ethereum-contract"],"created_at":"2024-10-03T13:14:27.233Z","updated_at":"2025-05-05T17:04:40.698Z","avatar_url":"https://github.com/iamnotstatic.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n## TokenStats 🚀🚀\n\nA super simple and lightweight API to get crypto token live information.\n\n[![Pull Requests Welcome](https://img.shields.io/badge/PRs-welcome-red.svg?style=flat)](http://makeapullrequest.com)\n\n\u003c/div\u003e\n\n## APP URL\n\n```bash\nhttps://tokenstats.herokuapp.com/\n```\n\n\n### Quick Start\nTo get token live information\n\n```bash\ncurl https://tokenstats.herokuapp.com/api/token?network=eth\u0026pair=0xfcc3a312a65ffca5d54e61a7d0e6d95e98752345\n```\n\n## Response Codes\n\n### Response Codes\n\n```\n200: Success\n400: Bad request\n401: Unauthorized\n404: Cannot be found\n405: Method not allowed\n422: Unprocessable Entity\n50X: Server Error\n```\n\n### Error Codes Details\n\n```\n100: Bad Request\n110: Unauthorized\n120: User Authenticaion Invalid\n130: Parameter Error\n140: Item Missing\n150: Conflict\n160: Server Error\n```\n\n\n### Networks allowed\n```\n\neth - this is use for tokens on Ethereum \nbsc - this is use for tokens on Binance Smart Chain \n\n```\n\n\n## Usage\n\nThe API uses the token pair address and network to get stats, you pass the pair and network as a query parameter to the above url\n\n```json\nGET /api/token/ HTTP/1.1\nAccept: application/json\nContent-Type: application/json\n\nparams {\n    \"network\": \"eth\",\n    \"pair\": \"0xfcc3a312a65ffca5d54e61a7d0e6d95e98752345\",\n}\n```\n\n**Successful Response:**\n\n```json\nHTTP/1.1 200 Ok\nServer: API\nContent-Type: application/json\n\n{\n    \"tokenName\": \"Token Name\",\n    \"priceUSD\": 0.03259909,\n    \"price\": 0.03259909,\n    \"marketCapUSD\": 1325990.92,\n    \"tokenToChain\": 0.0001113,\n    \"chainToToken\": 9199.33598129,\n    \"totalSupply\": 20000000,\n    \"totalLiquidityUSD\": 25412.3,\n    \"holders\": 2930,\n    \"totalTx\": 5662\n}\n```\n\n\n# Author 💖\n\n[Abdulfatai Suleiman](https://twitter.com/iamnotstatic)!\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiamnotstatic%2Ftokenstats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiamnotstatic%2Ftokenstats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiamnotstatic%2Ftokenstats/lists"}