Public Validate Address
POST /v1/validate-address · X-API-Key
POST
/v1/validate-addressPublic Validate Address
Public Egyptian address validation (street + landmark).
- Credential
X-API-Key- Plane
https://api.bardiyamap.com- Billing
- 1 credit per request
- Operation id
validateAddress
Parameters
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 body
application/json · required
| Field | Type | Required | Notes |
|---|---|---|---|
raw_address | string | yes | Unstructured address to validate. Arabic and English input are both accepted.2 to 300 chars |
json
{
"raw_address": "5 El Nasr Road, Nasr City, Cairo"
}Request example
shell
curl -X POST "https://api.bardiyamap.com/v1/validate-address" \
-H "X-API-Key: $BARDIYA_API_KEY" \
-H "Content-Type: application/json" \
--data '{"raw_address":"5 El Nasr Road, Nasr City, Cairo"}'Response 200 · AddressValidationResponse
| Field | Type | Required | Notes |
|---|---|---|---|
components | AddressComponents | no | |
confidence_score | number | null | no | double |
geojson | object | null | no | |
reason | string | null | no | |
validated | boolean | yes | |
validation | object | no | |
validation.proximity_m | number | null | no | double |
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" } }.
POST /v1/validate-address is part of the Address Validation group. Values on this page are generated from contract version 1.1.0.
