Skip to main content
POST
Get Exchange Rate

Request contract

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

Cost and request rules

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

Currency pair in format CURRENCY1_CURRENCY2 (e.g., 'GBP_AUD', 'USD_EUR', 'JPY_USD'). Use underscore to separate the two currency codes.

Examples:

"GBP_AUD"

"USD_EUR"

"JPY_USD"

Response

Tool result data

currency_pair
string
required
exchange_rate
number
required