Public Reverse Geocode
GET /v1/geocode/reverse · X-API-Key
GET
/v1/geocode/reversePublic Reverse Geocode
Public reverse geocoding: coordinates -> Egyptian administrative hierarchy.
- Credential
X-API-Key- Plane
https://api.bardiyamap.com- Billing
- 1 credit per request
- Operation id
reverseGeocode
Parameters
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
latitude | number (double) | yes | Latitude in decimal degrees, north positive. Send it together with longitude.-90 to 90 / double |
longitude | number (double) | yes | Longitude in decimal degrees, east positive. This is the second element of a GeoJSON pair, not the first.-180 to 180 / double |
language | string | null | no | Preferred response language for names and categories: ar or en.matches (ar|en) |
nearby_limit | integer | no | How many nearby landmarks to return alongside the street match.0 to 20 / default 5 |
Header parameters
| Name | Type | Required | Description |
|---|---|---|---|
Idempotency-Key | string | null | no | Opaque key that makes a retried POST safe. Reuse the same value for every retry of the same intent; a new value is a new chargeable operation. |
Request example
shell
curl "https://api.bardiyamap.com/v1/geocode/reverse?latitude=30.0444&longitude=31.2357&language=ar&nearby_limit=5" \
-H "X-API-Key: $BARDIYA_API_KEY"Response 200 · ReverseGeocodeResponse
| Field | Type | Required | Notes |
|---|---|---|---|
administrative_areas | AdministrativeArea[] | no | |
components | ReverseGeocodeComponents | no | |
country_code | string | yes | |
engine | string | null | no | |
formatted_address | string | yes | |
latitude | number (double) | yes | double |
longitude | number (double) | yes | double |
nearby_landmarks | PlaceSummary[] | no | |
nearest_landmark | Landmark | null | no | |
nearest_street | StreetMatch | null | no |
Errors
| Status | Meaning |
|---|---|
400 | Request is malformed or a parameter is out of range |
401 | Missing or invalid credential |
403 | Credential is valid but lacks the required scope, or the request origin is not allowed |
404 | Resource not found or not visible to this credential's organization |
422 | Validation Error |
429 | Rate limit or quota exceeded; honour `Retry-After` |
503 | The upstream provider is temporarily unavailable |
Error bodies use the shared envelope documented in Errors: { "error": { "code", "message", "details", "request_id" } }.
GET /v1/geocode/reverse is part of the Geocoding group. Values on this page are generated from contract version 1.1.0.
