> ## 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.

# Get Conversions

> This http method allows you to retrieve multiple conversions by their unique identifiers.



## OpenAPI

````yaml POST /conversions/get
openapi: 3.0.3
info:
  title: Ip2Geo Convert IP API
  version: 1.0.0
  description: Lookup single IP address and get geolocation data.
servers:
  - url: https://api.ip2geo.dev
    description: Production Server
security: []
paths:
  /conversions/get:
    post:
      summary: Ip2Geo - Get Conversions
      description: Retrieve multiple conversions by their IDs.
      parameters:
        - name: select
          in: query
          description: >-
            Select specific data fields to return. If not specified, all data
            fields are returned. See [SELECT Constants](/constants/select) for
            all available fields.
          required: false
          style: form
          explode: false
          schema:
            type: array
            items:
              type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                conversionIds:
                  type: array
                  items:
                    type: string
                    format: uuid
                  description: Array of conversion IDs to retrieve.
                  maxItems: 100
              required:
                - conversionIds
      responses:
        '200':
          description: Conversions retrieved successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetConversionsResponse'
        '400':
          description: Bad request - missing or invalid conversion IDs!
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Unauthorized!
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal server error!
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    GetConversionsResponse:
      type: object
      properties:
        success:
          type: boolean
          description: Whether the request was successful.
        message:
          type: string
          description: Response message.
        code:
          type: integer
          description: HTTP status code.
        data:
          type: object
          properties:
            conversions:
              type: array
              items:
                $ref: '#/components/schemas/Conversion'
              description: Array of conversions.
        _req:
          $ref: '#/components/schemas/RequestMeta'
      required:
        - success
        - message
        - code
        - _req
    ErrorResponse:
      type: object
      properties:
        success:
          type: boolean
          example: false
        message:
          type: string
          description: Error message.
        code:
          type: integer
          description: HTTP status code.
        data:
          type: object
          nullable: true
          description: Always null for error responses.
          example: null
        _req:
          $ref: '#/components/schemas/RequestMeta'
      required:
        - success
        - message
        - code
        - _req
    Conversion:
      type: object
      properties:
        id:
          type: integer
          description: Internal conversion ID
        uniqueId:
          type: string
          format: uuid
          description: Unique identifier for the conversion.
        data:
          $ref: '#/components/schemas/Ip'
        status:
          type: string
          description: Conversion status (success, failed, invalid-ip-address).
        startedAt:
          type: string
          format: date-time
          description: When the conversion started.
        completedAt:
          type: string
          format: date-time
          nullable: true
          description: When the conversion completed.
        createdAt:
          type: string
          format: date-time
          description: When the conversion was created.
    RequestMeta:
      type: object
      properties:
        reqId:
          type: string
          description: Unique request identifier.
        resTime:
          type: number
          description: Response time in milliseconds.
      required:
        - reqId
        - resTime
    Ip:
      type: object
      properties:
        ip:
          type: string
          nullable: true
          description: The IP address.
        type:
          type: string
          enum:
            - ipv4
            - ipv6
          nullable: true
          description: IP address type.
        is_eu:
          type: boolean
          nullable: true
          description: Whether the IP is located in the European Union.
        continent:
          type: object
          nullable: true
          properties:
            name:
              type: string
              nullable: true
            code:
              type: string
              nullable: true
            geoname_id:
              type: integer
              nullable: true
              description: GeoNames ID for the continent.
            country:
              type: object
              nullable: true
              properties:
                name:
                  type: string
                  nullable: true
                code:
                  type: string
                  nullable: true
                geoname_id:
                  type: integer
                  nullable: true
                  description: GeoNames ID for the country.
                phone_code:
                  type: string
                  nullable: true
                capital:
                  type: string
                  nullable: true
                tld:
                  type: string
                  nullable: true
                subdivision:
                  type: object
                  nullable: true
                  description: State, province, or region information.
                  properties:
                    name:
                      type: string
                      nullable: true
                      description: Name of the state/province/region.
                    code:
                      type: string
                      nullable: true
                      description: >-
                        ISO code for the subdivision (e.g., 'CA' for
                        California).
                city:
                  type: object
                  nullable: true
                  properties:
                    name:
                      type: string
                      nullable: true
                    geoname_id:
                      type: integer
                      nullable: true
                      description: GeoNames ID for the city.
                    latitude:
                      type: number
                      nullable: true
                    longitude:
                      type: number
                      nullable: true
                    accuracy_radius:
                      type: integer
                      nullable: true
                      description: >-
                        Radius in kilometers around the coordinates where the IP
                        is likely located.
                    metro_code:
                      type: integer
                      nullable: true
                      description: Metro area code (US only).
                    postal_code:
                      type: string
                      nullable: true
                    timezone:
                      type: object
                      nullable: true
                      properties:
                        name:
                          type: string
                          nullable: true
                        time_now:
                          type: string
                          nullable: true
                flag:
                  type: object
                  nullable: true
                  properties:
                    img:
                      type: string
                      nullable: true
                    emoji:
                      type: string
                      nullable: true
                    emoji_unicode:
                      type: string
                      nullable: true
                currency:
                  type: object
                  nullable: true
                  properties:
                    name:
                      type: string
                      nullable: true
                    code:
                      type: string
                      nullable: true
                    symbol:
                      type: string
                      nullable: true
        registered_country:
          type: object
          nullable: true
          description: >-
            The country where the IP address is registered (may differ from
            location country for VPNs, proxies, etc.).
          properties:
            name:
              type: string
              nullable: true
              description: Name of the registered country.
            code:
              type: string
              nullable: true
              description: ISO country code of the registered country.
            geoname_id:
              type: integer
              nullable: true
              description: GeoNames ID for the registered country.
        asn:
          type: object
          nullable: true
          properties:
            number:
              type: integer
              nullable: true
            name:
              type: string
              nullable: true
        completion_time:
          type: object
          nullable: true
          properties:
            miliseconds:
              type: number
              nullable: true
            seconds:
              type: number
              nullable: true
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: >-
        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`.

````