Skip to main content
GET
/
conversions
/
get
Ip2Geo - Get Conversion
curl --request GET \
  --url https://api.ip2geo.dev/conversions/get \
  --header 'x-api-key: <api-key>'
{
  "success": true,
  "message": "<string>",
  "code": 123,
  "_req": {
    "reqId": "<string>",
    "resTime": 123
  },
  "data": {
    "id": 123,
    "uniqueId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "data": {
      "ip": "<string>",
      "is_eu": true,
      "continent": {
        "name": "<string>",
        "code": "<string>",
        "geoname_id": 123,
        "country": {
          "name": "<string>",
          "code": "<string>",
          "geoname_id": 123,
          "phone_code": "<string>",
          "capital": "<string>",
          "tld": "<string>",
          "subdivision": {
            "name": "<string>",
            "code": "<string>"
          },
          "city": {
            "name": "<string>",
            "geoname_id": 123,
            "latitude": 123,
            "longitude": 123,
            "accuracy_radius": 123,
            "metro_code": 123,
            "postal_code": "<string>",
            "timezone": {
              "name": "<string>",
              "time_now": "<string>"
            }
          },
          "flag": {
            "img": "<string>",
            "emoji": "<string>",
            "emoji_unicode": "<string>"
          },
          "currency": {
            "name": "<string>",
            "code": "<string>",
            "symbol": "<string>"
          }
        }
      },
      "registered_country": {
        "name": "<string>",
        "code": "<string>",
        "geoname_id": 123
      },
      "asn": {
        "number": 123,
        "name": "<string>"
      },
      "completion_time": {
        "miliseconds": 123,
        "seconds": 123
      }
    },
    "status": "<string>",
    "startedAt": "2023-11-07T05:31:56Z",
    "completedAt": "2023-11-07T05:31:56Z",
    "createdAt": "2023-11-07T05:31:56Z"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.ip2geo.dev/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

x-api-key
string
header
required

Use your Ip2Geo secret key (i2g_sk_...) for server-side requests, or public key (i2g_pk_...) for client-side requests. Example: x-api-key: i2g_sk_abc123.

Query Parameters

conversionId
string<uuid>
required

The unique identifier of the conversion to retrieve.

select
string[]

Select specific data fields to return. If not specified, all data fields are returned. See SELECT Constants for all available fields.

Response

Conversion retrieved successfully.

success
boolean
required

Whether the request was successful.

message
string
required

Response message.

code
integer
required

HTTP status code.

_req
object
required
data
object