Abstract API · JSON Structure

Exchange Rates Convert Response Structure

ConvertResponse schema from Abstract API exchange-rates

Type: object Properties: 4
AvatarsCompany EnrichmentContactsCurrenciesEmail ValidationExchange RatesIBAN ValidationImage ProcessingIP GeolocationIP IntelligencePhone ValidationPublic HolidaysScreenshotsTimezonesVAT ValidationWeb Scraping

ConvertResponse is a JSON Structure definition published by Abstract API, describing 4 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

base_currency target_currency base_amount converted_amount

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/abstract-api/refs/heads/main/json-structure/exchange-rates-convert-response-structure.json",
  "name": "ConvertResponse",
  "description": "ConvertResponse schema from Abstract API exchange-rates",
  "type": "object",
  "properties": {
    "base_currency": {
      "type": "string",
      "description": "Source currency code",
      "example": "USD"
    },
    "target_currency": {
      "type": "string",
      "description": "Target currency code",
      "example": "EUR"
    },
    "base_amount": {
      "type": "double",
      "description": "Original amount",
      "example": 100
    },
    "converted_amount": {
      "type": "double",
      "description": "Converted amount",
      "example": 92.34
    }
  }
}