Skip to main content
POST
Reference example

Request contract

  • Method and path: POST /apis/v1/accu-weather/search-locations
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/accu-weather/search-locations
  • Runtime facts: 5781dfb550d2098ff8623ee80fcdce60f473cad692c33c4ebc2dffcb2bca6ead
Complete OpenAPI definition Effective request and pricing declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based billing; Default request estimate: $0.0004 USD (not a fixed price). Declared unit rate: $0.000001 USD per provider_credit. Account-specific pricing and final settlement may differ. Published reference values are not an account-specific quote or a settled charge. For endpoints supporting X-AISA-Cost-Mode: quote, obtain a free quote for your exact request before execution; reconcile the settled cost with response metadata and Usage Logs. USD amounts use 1,000,000 integer micro-USD per dollar.
  • Default request reference estimate (USD): 0.0004
  • Declared unit rate (USD): 1e-06
  • Billing unit: provider_credit
  • Cost contract: response_units
  • Published reference multiplier: 1.0
  • Declared maximum count/units: 10000000
  • Settlement evidence source: response_body

Authorizations

Authorization
string
header
required

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

Body

application/json
query
string
required

Location, city, postal code, or point-of-interest text to search.

Minimum string length: 1
Example:

"New York"

details
boolean
default:false

Whether to include extended location details.

language
string
default:en-us

Language code for localized fields.

Minimum string length: 1
Example:

"en-us"

admin_code
string

Optional administrative-area restriction. Supported for location, city, and point_of_interest searches.

Example:

"NY"

alias_count
integer
default:2

Number of aliases to return for location or city searches.

Required range: x >= 0
next_cursor
string

Opaque cursor returned by a previous location or city search; omit for the first page.

country_code
string

Optional country restriction. Required when admin_code is provided.

Example:

"US"

all_languages
boolean
default:false

Return point-of-interest matches in all languages; valid only when location_type is point_of_interest.

location_type
enum<string>
default:location

Resource family to search.

Available options:
location,
city,
postal_code,
point_of_interest
point_of_interest_type
string

Optional provider point-of-interest type filter; valid only when location_type is point_of_interest.

Response

Tool result data

has_more
boolean
required
items
object[]
next_cursor
string