{"id":26976136,"url":"https://github.com/mohammadhasanii/node-ipgeolocation","last_synced_at":"2025-04-03T11:35:51.794Z","repository":{"id":180767814,"uuid":"665669048","full_name":"mohammadhasanii/Node-IPGeolocation","owner":"mohammadhasanii","description":"This is an Express project with an API to get information about an IP address by sending a POST request with the IP address in the body, and receiving detailed information about the IP address in response.","archived":false,"fork":false,"pushed_at":"2023-07-12T18:32:38.000Z","size":9,"stargazers_count":11,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-01-27T08:35:39.206Z","etag":null,"topics":["express","geolocation","geolocation-api","ip-geolocation","ip-geolocation-api","javascript","nodejs","restapi"],"latest_commit_sha":null,"homepage":"https://nodejs.org/en","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/mohammadhasanii.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}},"created_at":"2023-07-12T18:11:58.000Z","updated_at":"2024-01-18T04:42:52.000Z","dependencies_parsed_at":"2023-07-12T19:43:41.547Z","dependency_job_id":null,"html_url":"https://github.com/mohammadhasanii/Node-IPGeolocation","commit_stats":null,"previous_names":["mohammadhasanii/node-ipgeolocation"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohammadhasanii%2FNode-IPGeolocation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohammadhasanii%2FNode-IPGeolocation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohammadhasanii%2FNode-IPGeolocation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohammadhasanii%2FNode-IPGeolocation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mohammadhasanii","download_url":"https://codeload.github.com/mohammadhasanii/Node-IPGeolocation/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246995669,"owners_count":20866449,"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":["express","geolocation","geolocation-api","ip-geolocation","ip-geolocation-api","javascript","nodejs","restapi"],"created_at":"2025-04-03T11:35:51.271Z","updated_at":"2025-04-03T11:35:51.787Z","avatar_url":"https://github.com/mohammadhasanii.png","language":"JavaScript","readme":"# Node-IPGeolocation\n\nIP Info API is a web service that provides you with information about the details of an IP address by receiving the IP address through a POST request to the / route. \n\n\n![Image description](https://www.ipxo.com/app/uploads/2021/11/Feature-Image.jpg)\n\n\n## Getting Started\n\nTo use this API, first, clone the repository:\ngit clone https://github.com/mohammadhasanii/Node-IPGeolocation ↗\n\n\n1-npm install\n\n2-run command \"node app.js\"\n\n## Request\nThis will make a POST request to the root endpoint '/' with a JSON body containing the IP address to lookup.\n\nPOST /\n\n{\n\"ip\": \"8.8.8.8\"\n}\n\n\n## Response\n\nThe API will return a JSON response with details about the IP address:\n\n```json\n{\n  \"ip\": \"8.8.8.8\",\n  \"city\": \"Mountain View\",\n  \"region\": \"California\",\n  \"country\": \"United States\",\n  \"loc\": \"37.3860,-122.0838\",\n  \"org\": \"AS15169 Google LLC\",\n  \"postal\": \"94035\"\n}","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohammadhasanii%2Fnode-ipgeolocation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmohammadhasanii%2Fnode-ipgeolocation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohammadhasanii%2Fnode-ipgeolocation/lists"}