Skip to main content
When you make a request with our SDK or API, the response includes the request status, message, status code, and geolocation data. Below is the standard response structure:
export interface SingeConvertResponseInterface {
    success: boolean
    message: string
    code: number
    data: Ip | null
    _req: {
        reqId: string
        resTime: number
    }
}

export interface MultipleConvertResponseInterface {
    success: boolean
    message: string
    code: number
    data: Array<{
        ip: string
        conversion: Ip
    }>
    _req: {
        reqId: string
        resTime: number
    }
}