跳转到主要内容
GET
Reference example

请求规范

  • 方法与路径: GET /apis/v1/openmeteo/geocoding
  • 可用状态: enabled
  • 请求 URL 模板: https://api.aisa.one/apis/v1/openmeteo/geocoding
  • count: query; 可选
  • countryCode: query; 可选
  • format: query; 可选
  • language: query; 可选
  • name: query; 必填
完整 OpenAPI 定义 有效请求声明(包括认证和引用的 schema):

费用与请求规则

公开参考价格:每次成功请求 $0.0001 USD。 账户适用价格可能不同;支持报价的接口可按实际请求获取报价。

授权

Authorization
string
header
必填

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

查询参数

count
integer
默认值:10

Maximum number of results (1-100). Default 10.

示例:

5

countryCode
string

ISO-3166-1 alpha-2 country code to filter results.

示例:

"DE"

format
enum<string>
默认值:json

Response format. Default json.

可用选项:
json,
protobuf
language
string
默认值:en

Two-letter language code for translated names. Default en.

示例:

"en"

name
string
必填

Location name or postal code. Append , <country> or , <admin1> to narrow results.

示例:

"Berlin"

响应

Matching locations.

The response is of type object.