GeocodingBatchRequestBody
The request body for the `Get Geocoding Batch` operation. Carries one or more individual geocoding queries — between 1 and 100, inclusive — that the service processes as a single call and returns as a parallel `batchItems` array on `GeocodingBatchResponse`.
Properties
| Name | Type | Description |
|---|---|---|
| batchItems | array | The geocoding queries to process in this batch. Each entry is one independent forward-geocoding request; the service returns one corresponding entry in `GeocodingBatchResponse.batchItems` per query, i |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/microsoft-azure-maps/json-schema/microsoft-azure-maps-geocoding-batch-request-body-schema.json",
"title": "GeocodingBatchRequestBody",
"description": "The request body for the `Get Geocoding Batch` operation. Carries one or more individual\ngeocoding queries — between 1 and 100, inclusive — that the service processes as a single\ncall and returns as a parallel `batchItems` array on `GeocodingBatchResponse`.",
"x-generated": "2026-11-12",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/microsoft-azure-maps-geocode-batch-api-openapi.yml#/components/schemas/GeocodingBatchRequestBody",
"type": "object",
"properties": {
"batchItems": {
"type": "array",
"description": "The geocoding queries to process in this batch. Each entry is one independent\nforward-geocoding request; the service returns one corresponding entry in\n`GeocodingBatchResponse.batchItems` per query, in the same order.",
"items": {
"$ref": "#/$defs/GeocodingBatchRequestItem"
}
}
},
"$defs": {
"GeocodingBatchRequestItem": {
"type": "object",
"description": "One geocoding query inside a `GeocodingBatchRequestBody.batchItems` array. Each item is an\nindependent forward-geocoding request equivalent to a single call to `Get Geocoding`, expressed\nas fields rather than as URL query parameters. The location can be supplied either as a\nfree-form `query` string or as the structured fields below (`addressLine`, `locality`,\n`countryRegion`, the `adminDistrict` levels, `postalCode`); these two input modes are mutually\nexclusive — when `query` is set, the structured fields are ignored.",
"properties": {
"optionalId": {
"type": "string",
"description": "An optional caller-supplied identifier echoed back on the matching response entry as\n`GeocodingBatchResponseItem.optionalId`. Useful for correlating responses to requests by a\nstable application-side identifier rather than relying on array position alone."
},
"top": {
"type": "integer",
"format": "int32",
"description": "The maximum number of geocoded results returned for this query. Defaults to 5; minimum 1,\nmaximum 20.",
"default": 5,
"minimum": 1,
"maximum": 20
},
"query": {
"type": "string",
"description": "A free-form string describing the location to geocode, typically an address or landmark\nname. When set, the structured location fields below (`addressLine`, `locality`,\n`countryRegion`, the `adminDistrict` levels, `postalCode`) are ignored."
},
"addressLine": {
"type": "string",
"description": "The street line of the address, typically the street name and number, or any other\nofficial street-level address. Ignored when `query` is set."
},
"countryRegion": {
"type": "string",
"description": "An [ISO 3166-1 Alpha-2 region/country\ncode](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) that scopes the search to a single\ncountry or region. For example, `\"FR\"` for France. Ignored when `query` is set."
},
"bbox": {
"type": "array",
"description": "A bounding box that scopes the search to a rectangular geographic area. Encoded as\n`[westLon, southLat, eastLon, northLat]` in WGS 84 longitude/latitude order, with each side\nranging from approximately `0.00001` degrees (~1 meter) up to the full global extent\n(`-180, -90` to `180, 90`).",
"items": {
"type": "number",
"format": "double"
}
},
"view": {
"type": "string",
"description": "An [ISO 3166-1 Alpha-2 region/country\ncode](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) identifying the region whose\ngeopolitical view should be applied to disputed borders and labels in the response. Defaults\nto `\"auto\"`, which selects the view based on the request origin. See [Supported\nViews](https://aka.ms/AzureMapsLocalizationViews) for the available values.",
"default": "auto"
},
"coordinates": {
"type": "array",
"description": "A point on the earth, encoded as `[longitude, latitude]` in WGS 84 order, used to bias\nresults toward the user's location. When supplied, results closer to this point are\ntypically more relevant to the user.",
"items": {
"type": "number",
"format": "double"
}
},
"adminDistrict": {
"type": "string",
"description": "The first-order administrative subdivision (such as a state or province) supplied as a name\nor short code. For example, `\"WA\"` for Washington. Ignored when `query` is set."
},
"adminDistrict2": {
"type": "string",
"description": "The second-order administrative subdivision (such as a county). For example, `\"King\"` for\nKing County. Ignored when `query` is set."
},
"adminDistrict3": {
"type": "string",
"description": "The third-order administrative subdivision (such as a district, parish, or municipality),\nwhere the country, dependency, or region defines one. Ignored when `query` is set."
},
"locality": {
"type": "string",
"description": "The locality (city, town, or village) component of the address. For example, `\"Seattle\"`.\nIgnored when `query` is set."
},
"postalCode": {
"type": "string",
"description": "The postal code component of the address. Ignored when `query` is set."
}
}
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/json-schemas/microsoft-azure-maps-geocoding-batch-request-body"
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.