Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/metowolf/ipdb-api

πŸŽ’ Open Source REST API for IP database, includes qqwry/ipipdotnet
https://github.com/metowolf/ipdb-api

api docker ipdb koa nodejs rest-api

Last synced: about 2 hours ago
JSON representation

πŸŽ’ Open Source REST API for IP database, includes qqwry/ipipdotnet

Awesome Lists containing this project

README

        

IP database REST API


Open Source REST API for IP database, includes qqwry, ipipdotnet.

## Usage
[![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)

```http
GET http://localhost:3000/v1/qqwry/119.29.29.29
```

```json
{
"ip": "119.29.29.29",
"country_name": "δΈ­ε›½",
"region_name": "广东",
"city_name": "广州",
"owner_domain": "cloud.tencent.com",
"isp_domain": ""
}
```

```http
GET http://localhost:3000/v1/qqwry/me
```

```json
{
"ip": "127.0.0.1",
"country_name": "ζœ¬ζœΊεœ°ε€",
"region_name": "ζœ¬ζœΊεœ°ε€",
"city_name": "",
"owner_domain": "",
"isp_domain": ""
}
```

## License
[![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)