API Documents - GuGuData | Production-Ready APIs Built for Developers
  1. DEMO
API Documents - GuGuData | Production-Ready APIs Built for Developers
  • GuGuData API documents
  • Metadata
    • DEMO
      • [DEMO] Global QS World University Rankings
      • [DEMO] Global University
      • [DEMO] Chinese Poem
    • Global QS World University Rankings
    • Global University
    • Chinese Poem
  • Website Tools
    • DEMO
      • [DEMO] Webpage Readable Content Extraction
        GET
      • [DEMO] Domain SSL Certificate Information Parsing
        GET
      • [DEMO] Domain DNS Information Query
        GET
      • [DEMO] Query Website Favicon and Title
        GET
      • [DEMO] Format International Phone
        GET
      • [DEMO] URL to static HTML
        GET
      • [DEMO] URL to Image
        GET
      • [DEMO] URL to Markdown
        GET
      • [DEMO] Get URL links
        GET
      • [DEMO] Website Snapshot
        GET
      • [DEMO] Domain Whois
        GET
      • [DEMO] IP Address
        GET
      • [DEMO] Article Extract
        GET
      • [DEMO] Geographic Coordinate System Converter
        GET
      • [DEMO] Extract Structured JSON from Webpage
        GET
    • Webpage Readable Content Extraction
      POST
    • Domain SSL Certificate Information Parsing
      GET
    • Domain DNS Information Query
      GET
    • Query Website Favicon and Title
      GET
    • Format International Phone
      GET
    • URL to static HTML
      POST
    • URL to Image
      GET
    • URL to Markdown
      POST
    • Get URL links
      GET
    • Website Snapshot
      POST
    • Domain Whois
      GET
    • IP Address
      GET
    • Article Extract
      POST
    • Geographic Coordinate System Converter
      GET
    • Extract Structured JSON from Webpage
      POST
  • Image Recognition
    • DEMO
      • [DEMO] HTML to PDF
      • [DEMO] Image OCR
      • [DEMO] PDF to Format
      • [DEMO] PDF Splitting
      • [DEMO] Markdown to PDF
      • [DEMO] PPT to Images
      • [DEMO] PDF to HTML
      • [DEMO] PDF Summary
      • [DEMO] Image Compress
      • [DEMO] Word to HTML
    • HTML to PDF
    • Image OCR
    • PDF to Format
    • PDF Splitting
    • Markdown to PDF
    • PPT to Images
    • PDF to HTML
    • PDF Summary
    • Image Compress
    • Word to HTML
  • QRcode and Barcode
    • DEMO
      • [DEMO] QR Code
      • [DEMO] Wifi QR Code
      • [DEMO] Bar Code
    • QR Code
    • Wifi QR Code
    • Bar Code
  • Text Tools
    • DEMO
      • [DEMO] Simplified and Traditional Chinese Converter
      • [DEMO] Text Similarity Calculator
    • Simplified and Traditional Chinese Converter
    • Text Similarity Calculator
  • healthcheck
    GET
  1. DEMO

[DEMO] IP Address

GET
https://api.gugudata.io/v1/location/ip/demo
Last modified:2026-02-11 09:08:02
IP Address Geolocation Lookup
Get geolocation information for any IP address including country, state, city, and coordinates. Supports both IPv4 and IPv6 addresses.
Method: GET
Path: /v1/location/ip
Demo: https://api.gugudata.io/v1/location/ip/demo
Request Parameters:
appkey (string, required): Obtained after payment
ip (string, required): IP address to lookup (supports both IPv4 and IPv6, e.g., 8.8.8.8 or 2001:4878:b554:aaaa:aaaa:aaaa:aaaa:aaaa)
Response Fields Count: 11
Response Field Examples:
dataStatus.requestParameter: Echo of request parameters
dataStatus.statusCode: HTTP status code of the response
dataStatus.status: Response status
dataStatus.statusDescription: Human-readable status message
dataStatus.responseDateTime: Server response timestamp
dataStatus.dataTotalCount: Total number of records returned
data.countryCode: ISO country code (e.g., US, CN, GB)
data.state: State or province name
... total 11 fields
Key Features:
Get geolocation information for any IP address (IPv4 and IPv6)
Retrieve country, state, city, and geographic coordinates
Support for both IPv4 and IPv6 address formats
Accurate location data from reliable geolocation databases
Perfect for fraud detection, content localization, and analytics
Details:
https://gugudata.io/details/location-ip

Request

None

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.gugudata.io/v1/location/ip/demo'

Responses

⚪0
application/json
Body

Example
{
  "dataStatus": {
    "requestParameter": "string",
    "statusCode": 0,
    "status": "string",
    "statusDescription": "string",
    "responseDateTime": "string",
    "dataTotalCount": 0
  },
  "data": {
    "countryCode": "string",
    "state": "string",
    "city": "string",
    "latitude": 0,
    "longitude": 0
  },
  "DataStatus": {
    "StatusCode": 100,
    "StatusDescription": "OK",
    "ResponseDateTime": "2026-01-01 00:00:00",
    "DataTotalCount": 1
  }
}
Modified at 2026-02-11 09:08:02
Previous
[DEMO] Domain Whois
Next
[DEMO] Article Extract
Built with