Skip to main content

HexBulkResponse

successboolean
data object
countinteger
results object[]
  • Array [
  • codestring

    Human-readable hex code

    Example: AF-GH-7-0GXTQD5RFZZZZ
    h3_indexstring

    Raw H3 cell index (hex)

    Example: 877576970ffffff
    resolutioninteger

    H3 resolution level

    Example: 7
    countrystring
    Example: Ghana
    country_codestring
    Example: GH
    center object
    latnumber<double>
    Example: 5.6041
    lngnumber<double>
    Example: -0.1953
    boundary object[]

    Polygon vertices of the hex cell

  • Array [
  • latnumber<double>
    Example: 5.6041
    lngnumber<double>
    Example: -0.1953
  • ]
  • area_km2number<double>

    Cell area in km²

    Example: 3.86
    gps_codestring

    Linked GhanaPostGPS code (if known)

    regionstring
    districtstring
  • ]
  • meta object
    request_idstring<uuid>

    Unique request identifier

    Example: c86825f0-d8ca-4ae1-8226-514cc48e05c0
    cachedboolean

    Whether the response was served from cache

    Example: false
    latencystring

    Server-side processing time

    Example: 1.802457582s
    HexBulkResponse
    {
    "success": true,
    "data": {
    "count": 0,
    "results": [
    {
    "code": "AF-GH-7-0GXTQD5RFZZZZ",
    "h3_index": "877576970ffffff",
    "resolution": 7,
    "country": "Ghana",
    "country_code": "GH",
    "center": {
    "lat": 5.6041,
    "lng": -0.1953
    },
    "boundary": [
    {
    "lat": 5.6041,
    "lng": -0.1953
    }
    ],
    "area_km2": 3.86,
    "gps_code": "string",
    "region": "string",
    "district": "string"
    }
    ]
    },
    "meta": {
    "request_id": "c86825f0-d8ca-4ae1-8226-514cc48e05c0",
    "cached": false,
    "latency": "1.802457582s"
    }
    }