Hexes

Retrieve location based information divided into h3 hexagons.

H3 is a hexagonal indexing system for location, developed by Uber. Resolution corresponds with hex size. Smaller numbers are big and bigger numbers are small.

We track coverage for resolution 9 hexes, but batch request them by resolution 5 hexes.

Hexes Group

Select group of hexes under (res5) hex.

GET https://api.pollenmobile.io/explorer/hexes

Select h3 hexes (resolution 9) and coverage status from larger (resolution 5) hexes.

Query Parameters

Name
Type
Description

h3_hex_top*

String,String,String

Comma separated string of res5 h3 hexes.

partial

Boolean

default False

// without 'partial' param
[
	{
		"h3_hex": "89283083583ffff",
		"covered": 0,
		"flower_count": 0,
		"flower_neighbor_count": 0,
		"pollen_dropped": 0
	},
	{
		"h3_hex": "89283082217ffff",
		"covered": 0,
		"flower_count": 0,
		"flower_neighbor_count": 0,
		"pollen_dropped": 1
	},
	// ... more items
]

// with 'partial' param
[
	{
		"h3_hex": "89283083583ffff",
		"covered": 0,
		"flower_count": 0
	},
	{
		"h3_hex": "89283082217ffff",
		"covered": 0,
		"flower_count": 0
	},
	// ... more items
]

This endpoint is primarily used for the Pollen Explorer map view.

Single Hex

Select all devices data associated with a single resolution 9 hex.

GET https://api.pollenmobile.io/explorer/hex

Hex data, all flowers that cover the hex, and all bees that have validated the hex.

Query Parameters

Name
Type
Description

h3_hex*

String

H3 Hex (resolution 9)

This endpoint is primarily used for the Pollen Explorer when clicking a hex.

Last updated

Was this helpful?