Skip to main content
POST
Get 2D Map Tile

Request contract

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

Cost and request rules

Usage-based pricing. Default request estimate: $0.0009 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
session
string
required

Session token UUID obtained from /v1/createSession endpoint. Valid for approximately two weeks. Required for all 2D tile requests. Reuse across multiple tile requests; each createSession call consumes quota.

Minimum string length: 1
x
integer
required

Tile column coordinate. Valid range: [0, (2^zoom)-1].

Required range: 0 <= x <= 4194303
y
integer
required

Tile row coordinate. Valid range: [0, (2^(zoom-1))-1]. Valid range: [0, (2^zoom)-1], same as x.

Required range: 0 <= x <= 4194303
z
integer
required

Zoom level ranging from 0 (entire world) to 22 (highly detailed).

Required range: 0 <= x <= 22
Examples:

0

10

15

20

key
string

Google API key for authentication. If not provided, will be extracted from connection metadata. Required if not using Bearer token authentication.

Example:

"YOUR_API_KEY"

orientation
integer

Rotation parameter in degrees counter-clockwise. Valid values: 0, 90, 180, or 270.

Examples:

0

90

180

270

Response

Tool result data

tile
object
required