Map Image API

Fresh, geolocated street-level imagery from around the globe

Overview

Bee Maps designed the Map Image API to allow developers and enterprises to easily access imagery from the Hivemapper Network.

1. API Key Provisioning

  • Log in to Bee Maps

  • Go to Developers tabs

  • On Map Data API Keys click Generate API Key

  • Copy and save the Map API Key securely — it will only be shown once

  • Copy and save the Org ID.

2. Encoding and Authorization

Routes requiring Basic authorization

  • Encode the orgID and Map API Key in base64

  • The encoding format is OrgID:MapAPIKey

3. Image API Documentation

Access imagery for a specific week

post

Query imagery contained by a GeoJSON (Multi)Polygon for a given week

Authorizations
AuthorizationstringRequired
Query parameters
weekstringOptional

YYYY-mm-dd of a day in the week to query

Example: 2023-10-31
Body
typestringOptional

Polygon or MultiPolygon

Example: Polygon
Responses
200

Successful operation

application/json
post
/imagery/poly

Access dashcam device metadata

get

Fetch camera intrinsic parameters for dashcams

Responses
200

Camera Intrinsic Parameters

application/json
get
/devices
200

Camera Intrinsic Parameters

Balance of remaining API credits

get

Get remaining API Credits balance

Authorizations
AuthorizationstringRequired
Responses
200

Account balance

application/json
get
/balance

Access query history

get

Fetch history of API queries

Authorizations
AuthorizationstringRequired
Query parameters
limitintegerOptional

Max results to return

Example: 100
skipintegerOptional

Results to skip

Example: 0
Responses
200

Paginated API transactions

application/json
get
/history
200

Paginated API transactions

Additional API Tools

Hive-Py is a Python wrapper for the Map Image API, see GitHub here.

Example query Python query using Hive-Py

API Billing

  • Cost

    • $1 per road km per week. For example, requesting imagery for the same 1 km of road over 3 weeks costs $3.

  • Billing Cycle

    • Charges are billed every two weeks to the credit card on file. If usage reaches $500 before the cycle ends, the card is charged immediately.

Sample Map Image API data

Before using the API, you can quickly evaluate a large set of sample imagery.

Imagery specs

  • Forward facing (interior or exterior mounted)

  • 1080p

  • Lane-level positional accuracy

  • Frames collected and uploaded every 6 to 8 meters — can be dynamically adjusted in certain regions.

Last updated