Skip to main content
POST
Resolve Language Identifier

Request contract

  • Method and path: POST /apis/v1/accu-weather/resolve-language-identifier
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/accu-weather/resolve-language-identifier
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based pricing. Default request estimate: $0.0004 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
identifier_type
enum<string>
required

Whether to resolve a language code or a numeric language ID.

Available options:
code,
id
language_code
string

AccuWeather language code to resolve when identifier_type is code.

Minimum string length: 1
Example:

"en-us"

language_id
integer

Positive AccuWeather language ID to resolve when identifier_type is id.

Required range: x >= 1
Example:

1

Response

Tool result data

language_code
string
Minimum string length: 1
language_id
integer
Required range: x >= 1