{"id":21033717,"url":"https://github.com/metowolf/ipdb-api","last_synced_at":"2025-05-15T13:32:16.113Z","repository":{"id":42757130,"uuid":"277461599","full_name":"metowolf/ipdb-API","owner":"metowolf","description":"🎒 Open Source REST API for IP database, includes qqwry/ipipdotnet","archived":false,"fork":false,"pushed_at":"2024-12-29T03:13:44.000Z","size":204,"stargazers_count":25,"open_issues_count":2,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-03T09:41:38.168Z","etag":null,"topics":["api","docker","ipdb","koa","nodejs","rest-api"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/metowolf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2020-07-06T06:33:40.000Z","updated_at":"2024-12-29T10:34:33.000Z","dependencies_parsed_at":"2024-11-19T12:59:59.703Z","dependency_job_id":"5e58382d-cfe4-4b9a-9d3f-ed0e2554e44a","html_url":"https://github.com/metowolf/ipdb-API","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metowolf%2Fipdb-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metowolf%2Fipdb-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metowolf%2Fipdb-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metowolf%2Fipdb-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/metowolf","download_url":"https://codeload.github.com/metowolf/ipdb-API/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254349485,"owners_count":22056357,"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":["api","docker","ipdb","koa","nodejs","rest-api"],"created_at":"2024-11-19T12:59:18.347Z","updated_at":"2025-05-15T13:32:16.105Z","avatar_url":"https://github.com/metowolf.png","language":"JavaScript","readme":"\u003cp align=\"center\"\u003e\u003cimg src=\"https://user-images.githubusercontent.com/2666735/87228491-2d607280-c3d4-11ea-8e44-97353bc78dff.png\"\u003e\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003eIP database REST API\u003c/h1\u003e\n\n\u003ch3 align=\"center\"\u003e\nOpen Source REST API for IP database, includes qqwry, ipipdotnet.\n\u003c/h3\u003e\n\n## Docker\n\n### Run container\n\n```bash\ndocker run -d -p 80:80 ghcr.io/metowolf/ipdb-api/server:1.3.0\n```\n\n### Mount Bucket Path\n\n```bash\ndocker run -d -p 80:80 -v /tmp/openipdb:/tmp/openipdb ghcr.io/metowolf/ipdb-api/server:1.3.0\n```\n\n## Usage\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fmetowolf%2Fipdb-API.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fmetowolf%2Fipdb-API?ref=badge_shield)\n\n\n```http\nGET http://localhost:3000/v1/qqwry/119.29.29.29\n```\n\n```json\n{\n  \"ip\": \"119.29.29.29\",\n  \"country_name\": \"中国\",\n  \"region_name\": \"广东\",\n  \"city_name\": \"广州\",\n  \"owner_domain\": \"cloud.tencent.com\",\n  \"isp_domain\": \"\"\n}\n```\n\n```http\nGET http://localhost:3000/v1/qqwry/me\n```\n\n```json\n{\n  \"ip\": \"127.0.0.1\",\n  \"country_name\": \"本机地址\",\n  \"region_name\": \"本机地址\",\n  \"city_name\": \"\",\n  \"owner_domain\": \"\",\n  \"isp_domain\": \"\"\n}\n```\n\n## License\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fmetowolf%2Fipdb-API.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fmetowolf%2Fipdb-API?ref=badge_large)","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetowolf%2Fipdb-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmetowolf%2Fipdb-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetowolf%2Fipdb-api/lists"}