API Reference

Street-level imagery API. All endpoints live under /api/v1/. Expand any endpoint below to see parameters and try it live with pre-made example locations.

All production requests require a Bearer token in the Authorization header. The live demos on this page use preview mode — no key required.

Street View

Street-level imagery API. Render images, fetch panoramas, query metadata, and map coverage areas.

Interactive Explorer

Rotate the heading and jump between connected panoramas:

Street view at 30.2747, -97.7404, heading 270
270
curl "https://gsnap.garry.lukasmartinelli.ch/api/v1/streetview?lat=30.2747&lng=-97.7404&heading=270&width=640&height=480" -o streetview.jpg

Authentication

All API requests require a Bearer token in the Authorization header.

Authorization: Bearer YOUR_API_KEY

API keys are issued manually for internal use only.

Error Reference

All error responses return JSON:

{
  "error": "Description of what went wrong",
  "status": 400
}
CodeMeaning
400Missing or invalid parameters
404No data found for the given location or pano ID
500Internal server error
503Service unavailable