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>",
      "type": "ipv4",
      "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",
    "credited": true,
    "convertOnly": true
  }
}

Authorizations

x-api-key
string
header
required

Use your Ip2Geo API key here. Example: x-api-key: sk_live_abc123.

Query Parameters

conversionId
string<uuid>
required

The unique identifier of the conversion to retrieve.

select
string

Comma-separated list of properties to return. Available fields: id, uniqueId, data, status, startedAt, completedAt, createdAt, credited, convertOnly. Supports nested data fields using dot notation (e.g., data.continent.country.name). If not specified, all properties are returned.

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