Skip to main content
POST
GraphHopper Geocoding

Request contract

  • Method and path: POST /apis/v1/graphhopper/geocode-get
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/graphhopper/geocode-get
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based pricing. Default request estimate: $0.00042 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
provider
enum<string>
required

Alternative geocoding provider.

Available options:
default
q
string
required

Text to geocode (forward geocoding). Required when reverse=false; must be omitted if reverse=true.

Example:

"Berlin"

reverse
enum<boolean>
required

Set to true for reverse geocoding. Default false.

Available options:
false
autocomplete
boolean

Enable autocomplete (only for provider=gisgraphy and reverse=false).

bbox
string

Bounding box 'minLon,minLat,maxLon,maxLat'. Requires reverse=false. Only provider=default.

bounds
string

Bounds 'minLon,minLat,maxLon,maxLat'. For nominatim or opencagedata.

countrycode
string

ISO 3166-1 alpha-2 country filter. For nominatim, gisgraphy, or opencagedata.

debug
boolean
default:false

Pretty-print the output. Default false.

key
string

Your GraphHopper API key. If not provided, it will be automatically injected from the connection.

Example:

"your_api_key"

limit
integer
default:5

Maximum number of results. Default 5.

Required range: x >= 1
Examples:

1

10

locale
enum<string>
default:en

Locale of results. Default 'en'.

Available options:
en,
de,
fr
Example:

"en"

location_bias_scale
number

Location bias scale between 0.0 and 1.0. Only provider=default.

Required range: 0 <= x <= 1
osm_tag
string[]

OSM tags to filter/include or exclude, e.g., 'tourism:museum' or '!tourism:museum'. Only provider=default.

point
string

Coordinate 'lat,lon'. Required when reverse=true; for forward geocoding, acts as location bias.

Example:

"52.529407,13.397634"

radius
number

Search radius. Default: km for provider=default when reverse=true; meters for provider=gisgraphy.

zoom
number

Map-like zoom level controlling focus radius. Only provider=default.

Response

Tool result data

hits
object[]
required
locale
string
took
integer