Skip to main content
POST
Advisory

Request contract

  • Method and path: POST /apis/v1/travel-state-gov/travel-advisories/advisory
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/travel-state-gov/travel-advisories/advisory
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based pricing. Default request estimate: $0.0005 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
code
string

The State Department's two-character destination code as cadataapi.state.gov uses it, mostly FIPS 10-4 (GM Germany, UK United Kingdom, CH China, KN North Korea), not ISO 3166. Case-insensitive. Pattern: ^[A-Za-z0-9]{2}$.

url
string

Response

The current travel advisory for one destination code, or for a pasted travel.state.gov advisory page URL. A code can cover several advisories (IS returns Israel, the West Bank and Gaza; KN returns North Korea and Saint Kitts and Nevis), so all rows filed under it are returned. Unknown codes and URLs that no advisory links to are not_found.

The response contains the tool result directly.

The provider identifies advisories as the primary payload key.

These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.