@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api ExchangeRate-API
@base https://api.exchangerate-api.com/v4
@version 4
@endpoints 1
@toc latest(1)

@endpoint GET /latest/{base_currency}
@desc Returns latest exchange rates in parameter-supplied base currency.
@required {base_currency: str # **Base Currency**. *Example: USD*. You an use any of the ISO 4217 currency codes we support. See https://www.exchangerate-api.com/docs/supported-currencies}
@returns(200) {base: str, date: str, time_last_updated: int, rates: map} # Successful response
@errors {404: Currency code not supported}

@end
