{"id":19371618,"url":"https://github.com/bacher09/fastcgi_ipapi","last_synced_at":"2026-06-13T03:33:46.422Z","repository":{"id":144763758,"uuid":"48060748","full_name":"bacher09/fastcgi_ipapi","owner":"bacher09","description":"Simple FastCGI C service","archived":false,"fork":false,"pushed_at":"2018-03-30T14:05:49.000Z","size":15,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-24T14:48:42.099Z","etag":null,"topics":["api","api-server","fastcgi","geoip","http"],"latest_commit_sha":null,"homepage":null,"language":"C","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/bacher09.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":"2015-12-15T18:15:38.000Z","updated_at":"2018-11-07T12:05:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"5b4d8364-0c4e-48da-9951-c3a1af36752d","html_url":"https://github.com/bacher09/fastcgi_ipapi","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bacher09/fastcgi_ipapi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bacher09%2Ffastcgi_ipapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bacher09%2Ffastcgi_ipapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bacher09%2Ffastcgi_ipapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bacher09%2Ffastcgi_ipapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bacher09","download_url":"https://codeload.github.com/bacher09/fastcgi_ipapi/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bacher09%2Ffastcgi_ipapi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34271500,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-13T02:00:06.617Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","api-server","fastcgi","geoip","http"],"created_at":"2024-11-10T08:19:12.844Z","updated_at":"2026-06-13T03:33:46.417Z","avatar_url":"https://github.com/bacher09.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ip_api\n\nThis is simple [fastcgi] web application that provides HTTP API to GeoIP\ndatabase and some additional services. It written in C.\n\n## API Calls\n\n| Path                             |  Result                                                             |\n| -------------------------------- | ------------------------------------------------------------------- |\n| /ip                              | Returns your current ip                                             |\n| /user-agent                      | Returns user-agent of your web-client                               |\n| /country                         | Returns 2 digit country code of your ip                             |\n| /country?ip=7.7.7.7              | Returns 2 digit country code of `7.7.7.7`                           |\n| /country?ip=7.7.7.7\u0026type=code3   | Returns 3 digit country code of `7.7.7.7`                           |\n| /country?type=name               | Returns your country name                                           |\n| /country?type=xonotic\u0026ip=7.7.7.7 | Returns country and requested ip, can be used in [RocketMinsta] mod |\n\nFor example type this to get your IPv4 address:\n\n    $  curl -4 \"http://ip-api-installed-domain/ip\"\n\nand for IPv6:\n\n    $  curl -6 \"http://ip-api-installed-domain/ip\"\n\nAlready installed instance available via `api.vinnica.in` domain, it supports\nboth http and https.\n\n## Building from source\n\nTo build it from source you should install C compiler, cmake, geoip database files,\ngeoip and fastcgi libraries and C headers.\nFor example, to do it in debian, you could type this command:\n\n    $ apt-get install build-essential cmake libfcgi-dev libgeoip-dev geoip-database-contrib\n\nThen you could build it via following commands:\n\n    $ mkdir build\n    $ cd build\n    $ cmake ..\n    $ make\n\nAlso you could build it without IPv6 support, just add `-DWITH_IPV6:BOOL=OFF`\noption to cmake.\n\n    $ cmake -DWITH_IPV6:BOOL=OFF ..\n\n[fastcgi]: https://en.wikipedia.org/wiki/FastCGI\n[RocketMinsta]: http://rocketminsta.net/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbacher09%2Ffastcgi_ipapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbacher09%2Ffastcgi_ipapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbacher09%2Ffastcgi_ipapi/lists"}