---
title: "Convert currency amount to USD."
method: GET
path: "/v0.2.4/info/convert/local-amount-to-usd"
tags: ["Info"]
---

# Convert currency amount to USD.

`GET /v0.2.4/info/convert/local-amount-to-usd`

## Request

- Base URL: `https://api.chimoney.io`
- URL: `https://api.chimoney.io/v0.2.4/info/convert/local-amount-to-usd`
- Auth: API key in header `X-API-KEY`
- TypeScript: <https://skmtc.dev/chimoney/apis/chimoney-api-docs/docs/v0.2.4/info/convert/local-amount-to-usd/get.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `originCurrency` string, required
- `amountInOriginCurrency` integer, required

## Response `200`

Success.

- object
  - `status` string: Status of the request.
  - `message` string: Message indicating the result of the operation.
  - `data` object
    - `amountInOriginCurrency` string
    - `originCurrency` string
    - `amountInUSD` number
    - `validUntil` string

## Other responses

- `400`: Validation error in the request.
- `401`: Access to this resource is not available for unauthenticated users.
- `403`: Access to this resource is forbidden.
- `500`: Indicates an internal server error.

---

[API](https://skmtc.dev/chimoney/apis/chimoney-api-docs.md) - [All operations](https://skmtc.dev/chimoney/apis/chimoney-api-docs/llms.txt) - [OpenAPI document](https://skmtc.dev/chimoney/apis/chimoney-api-docs/revisions/227751df36a0?raw)
