Skip to main content
POST
/
conversions
/
get
Ip2Geo - Get Conversions
curl --request POST \
  --url https://api.ip2geo.dev/conversions/get \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "conversionIds": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ]
}
'
{
  "success": true,
  "message": "<string>",
  "code": 123,
  "_req": {
    "reqId": "<string>",
    "resTime": 123
  },
  "data": {
    "conversions": [
      {
        "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

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.

Body

application/json
conversionIds
string<uuid>[]
required

Array of conversion IDs to retrieve.

Maximum array length: 100

Response

Conversions 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